@fashiontrade/eslint-config-ft-react-app
v0.5.0
Published
ESLint configuration used by fashionTrade react apps
Downloads
5
Keywords
Readme
eslint-config-ft-react-app
This package includes the shareable ESLint configuration used by fashionTrade react apps.
Usage in Create React App Projects
The easiest way to use this configuration is with Create React fT 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 @fashiontrade/eslint-config-ft-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: '@fashiontrade/eslint-config-ft-react-app',
}
That's it! You can override the settings from eslint-ft-config-react-app
by editing the .eslintrc.js
file.