0.7.0 • Published 2 years ago
eslint-plugin-custom-fsd-imports v0.7.0
eslint-plugin-custom-fsd-imports
Plugin for FSD projects
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-custom-fsd-imports:
npm install eslint-plugin-custom-fsd-imports --save-devUsage
Add custom-fsd-imports to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"custom-fsd-imports"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"custom-fsd-imports/rule-name": 2
}
}