0.0.6 • Published 8 months ago

eslint-plugin-design-atomic v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months 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

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago