@bookmate/eslint-config-bookmate-react

Custom linter rules

Usage no npm install needed!

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

README

eslint-config-bookmate-react

Bookmate's base eslint config for React apps

Usage

Install module via NPM or yarn:

npm install @bookmate/eslint-config-bookmate-react yarn add @bookmate/eslint-config-bookmate-react

Create a similar .eslintrc.js file in the root of your project:

require('@bookmate/eslint-config-bookmate-react/patch');

module.exports = {
  extends: ['@bookmate/eslint-config-bookmate-react'],
  // Extend the base config as much as you wish
};