@rhumbertgz/eslint-config-react
v0.0.3
Published
Shared ESLint config for React projects
Readme
Shared ESLint configuration for React projects
This ESLint configuration deactivates all formatting rules of ESLint and makes sure that Prettier is used for code beautifying.
Integrate into new project
- Install this package as devDependency
# yarn
$ yarn add -D @rhumbertgz/eslint-config-react
# npm
$ npm i -D @rhumbertgz/eslint-config-react
# pnpm
$ pnpm add -D @rhumbertgz/eslint-config-react- Use ESLint config in your project
Create a .eslintrc.js file in project root with the following content:
module.exports = {
extends: ["@rhumbertgz/eslint-config-react"],
};