@noxu/eslint-config-react

Noxu's ESLint config, following our styleguide

Usage no npm install needed!

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

README

@noxu/eslint-config-react

npm version

This package provides Noxu's base JS .eslintrc with React plugins as an extensible shared config.

Under the hood this package rely on airbnb styleguide and prettier for automatic indentation.

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+.

  1. Install the correct versions of each package, which are listed by the command:

    npm info "@noxu/eslint-config-react@latest" peerDependencies
    

    If using npm 5+, use this shortcut

    npx install-peerdeps --dev @noxu/eslint-config-react
    
  2. Add "extends": "@noxu/eslint-config-react" to your .eslintrc.