JSPM

@typescript-eslint/eslint-plugin-tslint

0.2.2-alpha.0+5ab031a
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 211134
  • Score
    100M100P100Q184730F
  • License MIT

TSLint wrapper plugin for ESLint

Package Exports

  • @typescript-eslint/eslint-plugin-tslint

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@typescript-eslint/eslint-plugin-tslint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ESLint Plugin TSLint

Travis GitHub license NPM Version NPM Downloads Commitizen friendly

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

INSTALL

npm i -D @typescript-eslint/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) */ ]
    }],
}

RULES

Plugin contains only single rule tslint/config.

EXAMPLES

TSLint Plugins