@sensuapp/eslint-config

Sensu's ESLint config

Usage no npm install needed!

<script type="module">
  import sensuappEslintConfig from 'https://cdn.skypack.dev/@sensuapp/eslint-config';
</script>

README

@sensuapp/eslint-config

This package provides Sensu's core Javascript ESLint settings as an extensible configuration.

version license build

Usage

First, add the package to your project.

yarn add --dev eslint @sensuapp/eslint-config

# or with npm

npm install --save-dev eslint @sensuapp/eslint-config

If you did not already have an .eslintrc file you can add one.

./node_modules/.bin/eslint --init

Finally, add the following to your .eslintrc.

{
  "extends": [
    "@sensuapp/eslint-config"
  ]
}