eslint-plugin-design-atomic
v0.0.6
Published
rule for importing from high modules to lower ones
Downloads
25
Maintainers
Readme
eslint-plugin-design-atomic
prohibits imports to the lower levels from the upper
The solution is for atomic design For correct operation, folders must be named according to the architecture
[atoms -> molecules -> organisms -> templates]
Installation
Install ESLint either locally or globally.
npm install eslint
npm i eslint-plugin-design-atomic
Configuration
Add plugins
section
{
"plugins": [
"design-atomic"
]
}
Finally, enable all of the rules that you would like to use.
{
"rules": {
"design-atomic/atomic-design": "error"
}
}