Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

JamesHenry/eslint-plugin-tslint

Repository files navigation

This project has been moved to the TypeScript ESLint organization -> https://typescript-eslint.io


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

About

✨ A plugin which allows you to run a full instance of TSLint within ESLint

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy