@anvilabs/tslint-config
v1.10.0
Published
Anvilabs' shareable TSLint config
Downloads
43
Maintainers
Readme
@anvilabs/tslint-config
Anvilabs' TSLint config, designed to be used in conjunction with ESLint and our shareable ESLint configs. Includes mostly TS-specific rules taking advantage of TSLint's ability to work with the type checker.
Usage
Install the package as a development dependency:
$ yarn add typescript tslint @anvilabs/tslint-config --dev
# or
$ npm install typescript tslint @anvilabs/tslint-config --save-dev
Then create a tslint.json
file in the root of your project:
{
"extends": "@anvilabs/tslint-config"
}
New rules may be added or existing ones modified like so:
{
"extends": "@anvilabs/tslint-config",
"rules": {
// your overrides
}
}
Tips
It is recommended to use the TypeScript language service plugin for TSLint to ensure easier integration with different code editors.
License
MIT License © Anvilabs LLC