@canx/eslint-configdeprecated

Autofix also runs prettier * React/JSX + React Hooks * Sort Imports * Filename conventions * Promise best-practices

Usage no npm install needed!

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

README

ESLint shareable con

Features

  • Autofix also runs prettier
  • React/JSX + React Hooks
  • Sort Imports
  • Filename conventions
  • Promise best-practices

& much more

Install

$ npm install -D -E eslint prettier @canx/eslint-config

Usage

Add the ESLint config in your package.json:

{
    "name": "my-awesome-project",
    "eslintConfig": {
        "extends": "@canx/eslint-config"
    }
}

Or in .eslintrc.json:

{
    "extends": "@canx/eslint-config"
}