@scandipwa/eslint-plugin-scandipwa-guidelines

2.0.39 • Public • Published

eslint-plugin-scandipwa-guidelines

Eslint plugin for ScandiPWA development

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @scandipwa/eslint-plugin-scandipwa-guidelines:

npm install @scandipwa/eslint-plugin-scandipwa-guidelines --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install @scandipwa/eslint-plugin-scandipwa-guidelines globally.

Usage

Add @scandipwa/scandipwa-guidelines to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "@scandipwa/scandipwa-guidelines"
    ]
}

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

{
    "rules": {
        "@scandipwa/scandipwa-guidelines/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i @scandipwa/eslint-plugin-scandipwa-guidelines

Weekly Downloads

1,231

Version

2.0.39

License

OSL-3.0

Unpacked Size

44.3 kB

Total Files

37

Last publish

Collaborators

  • aleksandrskondratjevs
  • alfredsgenkins
  • bot-scandipwa
  • ejnshtein