@davve5/eslint-config-service-now

ServiceNow lint config for ESlint

Usage no npm install needed!

<script type="module">
  import davve5EslintConfigServiceNow from 'https://cdn.skypack.dev/@davve5/eslint-config-service-now';
</script>

README

@davve5/eslint-config-service-now

ServiceNow lint rules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @davve5/eslint-plugin-service-now:

$ npm install @davve5/eslint-plugin-service-now --save-dev

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

Usage

Add service-now to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "service-now"
    ]
}