0.0.1 • Published 11 months ago
eslint-plugin-nowrule v0.0.1
eslint-plugin-nowrule
Servicenow Eslint custom rules
Installation
You'll first need to install ESLint: Run the following commands-
npm init -y
npm i eslint --save-dev
npm init @eslint/config
Next, install eslint-plugin-nowrule
:
npm install eslint-plugin-nowrule --save-dev
Usage
Add nowrule
to the plugins section of your .eslintrc.js
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["nowrule"]
}
Then configure the extends section.
{
"extends": ["standard", "plugin:nowrule/nowConfig"]
}
Rules
Make Sure to enable ESLint extension in your IDE