@highlandertech/eslint-config

2.0.6 • Public • Published

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")
}

Readme

Keywords

none

Package Sidebar

Install

npm i @highlandertech/eslint-config

Weekly Downloads

1

Version

2.0.6

License

MIT

Unpacked Size

4.6 kB

Total Files

4

Last publish

Collaborators

  • giovanifranz