@inc/eslint-config

Recommended ESLint settings for !NC projects

Usage no npm install needed!

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

README

eslint-config

INC

Recommended ESLint settings for !NC projects

Installation

$ npx install-peerdeps --dev @inc/eslint-config

Usage

In your .eslintrc or .eslintrc.json file:

{
  extends: "@inc"
}

Or in package.json:

{
  "name": "your-project-name",
  "eslintConfig": {
    "extends": "@inc"
  }
}

You can use @inc/esnext you are parsing ES2015+:

{
  "extends": "@inc/eslint-config/esnext"
}

Or @inc/browser if you are in the browser:

{
  "extends": "@inc/eslint-config/browser"
}

License

MIT © Paul Anthony Webb