🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@stackr/eslint-plugin

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackr/eslint-plugin

Guardrails to prevent bad practices in Stackr's Micro-rollup codebase.

0.1.2
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 23 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts