@boxine/eslint-config-react

React configuration for ESLint used by Boxine GmbH

Usage no npm install needed!

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

README

@boxine/eslint-config-react

ESLint configuration for React projects

Usage

npm install --save-dev @boxine/eslint-config-react

Please install all necessary peer dependencies in your project as devDependencies

Usage

Add the following to the extends array in your .eslintrc.js:

'@boxine/eslint-config-react',

For using prettier with the cli / your prettier plugin please add to your package.json:

"prettier": "@boxine/prettier-config",

You can override / replace the prettier configuration by adding your own. Just remove / skip prettier key in your package.json and add a configuration according to prettier