2.2.4 • Published 7 years ago

eslint-plugin-tslint2 v2.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

eslint-plugin-tslint2

ESLint plugin wraps a TSLint configuration and lints the whole source using TSLint.

USAGE

Configure in your eslint config file:

"plugins": [
    "tslint2"
],
"rules": {
    "tslint2/config": ["warn", {
        rules: { /* tslint rules */ },
        rulesDirectory: [ /* array of paths to directories with rules, e.g. 'node_modules/tslint/lib/rules' */ ],
        configFile: '/* path to tsconfig.json of your project */',
        compilerOptions: { /* ability to override TypeScript compilers options defined in tsconfig.json */ }
    }],
}

RULES

Plugin contains only single rule tslint2/config.

TSLint Plugins