eslint-plugin-design-atomic

0.0.6 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-design-atomic

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

4.34 kB

Total Files

11

Last publish

Collaborators

  • sergey_tsvetov