@passiontrade/eslint-config-pt-react-app
v0.5.0
Published
ESLint configuration used by passionTrade team
Downloads
3
Readme
eslint-config-pt-react-app
This package includes the shareable ESLint configuration.
Usage in Create React App Projects
The easiest way to use this configuration is with Create React pT App, which includes it by default.
You don’t need to install it separately in Create React App projects.
Usage Outside of Create React App
If you want to use this ESLint configuration in a project not built with Create React App, you can install it with the following steps.
First, install this package, ESLint and the necessary plugins.
yarn add --dev @passiontrade/eslint-config-pt-react-app [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
Then create a file named .eslintrc.js
with following contents in the root folder of your project:
module.export = {
extends: '@passiontrade/eslint-config-pt-react-app',
}
That's it! You can override the settings from eslint-pt-config-react-app
by editing the .eslintrc.js
file.