0.1.2 • Published 10 months ago

@stackr/eslint-plugin v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

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

10 months ago

0.1.1

10 months ago

0.1.0

11 months ago