This package has been deprecated

Author message:

This package was moved to @typescript-eslint/eslint-plugin-tslint, please install the latest version from there instead

eslint-plugin-tslint
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

ESLint Plugin TSLint

Travis GitHub license NPM Version NPM Downloads Commitizen friendly semantic-release greenkeeper.io

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

INSTALL

npm i -D eslint-plugin-tslint

USAGE

Configure in your eslint config file:

"plugins": [
    "tslint"
],
"rules": {
    "tslint/config": ["warn", {
        lintFile: '/* path to tslint.json of your project */',
        rules: { /* tslint rules (will be used if `lintFile` is not specified) */ },
        rulesDirectory: [ /* array of paths to directories with rules, e.g. 'node_modules/tslint/lib/rules' (will be used if `lintFile` is not specified) */ ],
        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 tslint/config.

EXAMPLES

TSLint Plugins

Package Sidebar

Install

npm i eslint-plugin-tslint

Weekly Downloads

658

Version

3.1.0

License

MIT

Unpacked Size

31.3 kB

Total Files

25

Last publish

Collaborators

  • jameshenry