1.0.0 ⢠Published 3 years ago
eslint-plugin-tsconfig-paths v1.0.0
eslint-plugin-tsconfig-paths
Converts relative paths to absolute ones
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-tsconfig-paths:
npm install eslint-plugin-tsconfig-paths --save-devUsage
Add tsconfig-paths to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["tsconfig-paths"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"tsconfig-paths/ensure": 2
}
}Rules
š§ Automatically fixable by the --fix CLI option.
| Name | š§ |
|---|---|
| ensure | š§ |
1.0.0
3 years ago