Tools - ESLint React.js configuration
Shared ESLint React.js configuration for JavaScript projects.
Table of contents
Requirements
This package requires the following ESLint base configuration: @jpapini/eslint-config
.
How to install
Run the following command to install the required dependencies:
$ <yarn|npm|pnpm> add -D @jpapini/eslint-config-react
$ <yarn|npm|pnpm> add react react-dom
Add the following fields to your package.json
:
{
"eslintConfig": {
"extends": ["@jpapini/eslint-config", "@jpapini/eslint-config-react"]
}
}
Don't forget to create a .eslintignore
file to ignore unnecessary files.
Author
- Julien Papini julien.papini@gmail.com