0.0.0 • Published 4 years ago
eslint-plugin-ts-imports v0.0.0
eslint-plugin-ts-imports
Enforces useful rules about imports in TypeScript files.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-ts-imports
:
npm install eslint-plugin-ts-imports --save-dev
Usage
Add ts-imports
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ts-imports"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"ts-imports/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here
0.0.0
4 years ago