1.0.5 • Published 2 years ago

@quinhas/config-eslint v1.0.5

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

Quinhas ESLint configuration

Whats included?

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

Setup

  1. Install this package as devDependency
# with Yarn
$ yarn add -D @quinhas/config-eslint

# with npm
$ npm i -D @quinhas/config-eslint

# with pnpm
$ pnpm add -D @quinhas/config-eslint
  1. Create a .eslintrc.js file in project root with the following content:
module.exports = {
  extends: ['@quinhas/config-eslint/react'],
  // extends: ["@quinhas/config-eslint/node"],
};

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