Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 520 Bytes

File metadata and controls

32 lines (23 loc) · 520 Bytes

CodeBoxLab ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • Import Helpers
  • JSX a11y plugin;
  • Prettier;

Setup

  1. Install the dependencies
# With npm
npm i -D eslint @codeboxlab_/eslint-config

# With yarn
yarn add -D eslint @codeboxlab_/eslint-config
  1. Create a .eslintrc.json (or .eslintrc) file extending the config:
{
  "extends": "@codeboxlab_/eslint-config"
}

You can also use a .eslintrc.js instead of JSON if you prefer.