eslint-config-spt-react

ESLint settings for SPT React projects

Usage no npm install needed!

<script type="module">
  import eslintConfigSptReact from 'https://cdn.skypack.dev/eslint-config-spt-react';
</script>

README

eslint-config-spt-react Build Status

A module to contain the SPT React linting rules for ESLint.

How to use

npm install --save-dev eslint-config-spt eslint-config-spt-react eslint-plugin-react@4

Then add the extends option to your .eslintrc:

{
    "extends": [
        "spt",
        "spt-react"
    ]
}

You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.