0.0.6 • Published 2 years ago

eslint-plugin-design-atomic v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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"
  }
}
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago