2.0.6 • Published 2 years ago

@highlandertech/eslint-config v2.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

HighlanderTech ESLint config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Airbnb
  • Simple Import Sort
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint @highlandertech/eslint-config
  1. Create a .eslintrc.json file extending the config:
{
  "extends": "@highlandertech/eslint-config/eslint"
}

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

  1. Create a .prettierrc.js file extending the config:
{
  module.exports = require("@highlandertech/eslint-config/prettier")
}