@feature-driven/eslint-plugin

0.0.1ย โ€ขย Publicย โ€ขย Published

wip @feature-driven/eslint-plugin

npm npm npm bundle size Hits GitHub Workflow Status GitHub commit activity

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

  1. You'll first need to install ESLint:

    $ npm i eslint --save-dev
  2. Next, install @feature-driven/eslint-plugin:

    $ npm install --save-dev @feature-driven/eslint-plugin
  3. Add @feature-driven/eslint-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin suffix:

    {
        "plugins": ["@feature-driven"]
    }
  4. Then configure the rules you want to use under the rules section.

    {
        "rules": {
            "@feature-driven/rule-name": 2
        }
    }

Rules

See full list: with implemented and planned 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 opinion

      And if this solution must keep to developing

    • ๐Ÿ’ซ Have a look at our contributing guide

      Everything is matter - from feedback to participating in development!

      Commit like nobody sees, Push like nobody hears

โ € โ € โ €

Repo organizing inspired by feature-driven/template-github

Package Sidebar

Install

npm i @feature-driven/eslint-plugin

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

11.8 kB

Total Files

13

Last publish

Collaborators

  • martis