@fe-lints/eslint-config-ts
v0.0.8
Published
ESLint TS
Downloads
10
Maintainers
Readme
@fe-lints/eslint-config-ts
typescript specific linting rules for eslint
Installation
npm install eslint typescript @fe-lints/eslint-config-ts --save-dev
Configuration (legacy: .eslintrc
)
{
"extends": ["@fe-lints/eslint-config-ts"]
}
Configuration package.json
{
"scripts": {
"lint": "eslint --ext .js,.jsx,.ts,.tsx .", // or "eslint --ext .js,.jsx,.ts,.tsx src/"
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx .",
// other
}
}
See eslint
documentation for more information about extending configuration files.
License
@fe-lints/eslint-config-ts
is licensed under the MIT License.