wip
@feature-driven/eslint-plugin
DISCLAIMER: Work in process, and accordingly:
- Here is approximate description
- First stable version will be signed as
0.1.0
- For a while - you can try simplified linting by @feature-driven/eslint-config
Linting of Feature Driven Development principles
- Control Decentralization
- Control Co-location
- Control Explicit sharing
- Control Decoupling && isolating
- Control Disposability
Get started
-
You'll first need to install ESLint:
$ npm i eslint --save-dev
-
Next, install
@feature-driven/eslint-plugin
:$ npm install --save-dev @feature-driven/eslint-plugin
-
Add
@feature-driven/eslint-plugin
to the plugins section of your.eslintrc
configuration file. You can omit theeslint-plugin
suffix:{ "plugins": ["@feature-driven"] }
-
Then configure the rules you want to use under the rules section.
{ "rules": { "@feature-driven/rule-name": 2 } }
Rules
-
explicit-abstractions
- Restrict allowed-list of project abstractions in src (app/features/pages/shared)This rule aims to specify and unify feature-driven project structure
Also
- FAQ
- Releases & Changelog
-
How can you help?
-
โญ Rate us on GitHub, if it's worth on your opinionAnd if this solution must keep to developing
-
๐ซ Have a look at our contributing guideEverything is matter - from feedback to participating in development!
Commit like nobody sees, Push like nobody hears
-
โ โ โ
Repo organizing inspired by feature-driven/template-github