@scurker/eslint-config

@scurker's preferred eslint config

Usage no npm install needed!

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

README

eslint-config-scurker

@scurker's preferred shareable ESLint config.

Build Status npm

Installation

$ npm install --save-dev eslint @scurker/eslint-config

Usage

Once installed, you will need to add @scurker or @scurker/eslint-config in the extends property of your .eslintrc file.

{
  "extends": ["@scurker"],
  "rules": {
    // additional rules or overrides for your project
  }
}

Additional Rule Sets

React

{
  "extends": ["@scurker", "@scurker/react"],
  "rules": {
    // additional rules or overrides for your project
  }
}

Preact

{
  "extends": ["@scurker", "@scurker/preact"],
  "rules": {
    // additional rules or overrides for your project
  }
}