1.0.0 • Published 10 months ago

@codeboxlab_/eslint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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.