@quinhas/config-eslint

1.0.5 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @quinhas/config-eslint

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

4.83 kB

Total Files

6

Last publish

Collaborators

  • quinhas