0.0.1 • Published 2 years 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/configNext, install eslint-plugin-nowrule:
npm install eslint-plugin-nowrule --save-devUsage
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