1.1.0 • Published 1 year ago

eslint-config-terralab v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

TerraLab ESLint config

What's included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • Import Helper plugin;
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint eslint-config-terralab

or

yarn add -D eslint eslint-config-terralab
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "eslint-config-terralab"
}

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