tslint + codelyzer explicit rules set
JavaScript TypeScript
Latest commit c236682 Dec 1, 2016 @valorkin valorkin 1.2.0

readme.md

Welcome to the most strict tslint config ever

npm version npm downloads Build Status Dependency Status devDependency Status

Follow me twitter to be notified about new releases.

Philosophy

  • contains all rules explicitly
  • almost all rules enabled

Install

npm install -D tslint-config-valorsoft

Note: if you will remove direct dependencies to tslint and codelyzer from package.json you will always have a working tslint configuration

// tslint.json
{
  "extends": "tslint-config-valorsoft",
  "rulesDirectory": "node_modules/codelyzer",

  "rules": {
    // your customization
    // THIS IS IMPORTANT
    // ADD THIS RULES TO YOUR `tslint.json`
    // AND CHANGE `MP` with short name of your project
    "directive-selector-prefix": [true, "MP"],
    "component-selector-prefix": [true, "MP"],
    "pipe-naming": [true, "camelCase", "MP"]
  }
}

Contribution

  • what I really appreciate is configs for IDEs
  • to change any rule you should have strong arguments and not only opinion

LICENSE

MIT