eslint-plugin-disable-insurance-cross-import
v1.0.1
Published
Prevents a developer to crossimport into different folders
Downloads
3
Readme
Disable cross imports eslinter rule
Disable cross imports is a eslinter rule that disables cross imports in a directory
How does it work!
Inside your eslinter rules you need to add this rule, here you can also set the correct application directory:
...
"rules": {
"disable-insurance-cross-import/import-checker": [
"error",
{
"applicationDirectory": "insurances"
}
]
}
...
Installation
Install the dependencies and run your linter.
npm install eslint-plugin-disable-insurance-cross-import