@stackr/eslint-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

eslint-plugin

Motivation 💡

Writing a deterministic state machine is one of the key things in a Micro-rollup.

It's very important to have make sure that the transitions are deterministic. This plugin helps you to enforce the deterministic state machine.

Installation 🛠️

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @stackr/eslint-plugin:

npm install @stackr/eslint-plugin --save-dev

Usage 🚀

Add @stackr to the plugins section of your .eslintrc configuration file.

{
    "plugins": [
        "@stackr"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "@stackr/deterministic-state-machine": "error"
    }
}

Package Sidebar

Install

npm i @stackr/eslint-plugin

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

11.4 kB

Total Files

6

Last publish

Collaborators

  • aashutoshrathi
  • kkautuk