eslint-config-react 3.4.0
Install from the command line:
Learn more about npm packages
$ npm install @algoan/eslint-config-react@3.4.0
Install via package.json:
"@algoan/eslint-config-react": "3.4.0"
About this version
Algoan ESLint configuration shared for React projects written in TypeScript and using prettier.
First, install this module running:
npm install @algoan/eslint-config-react --save-dev
Then, create a .eslintrc.json
file:
{
"extends": "@algoan/eslint-config-react"
}
In your package.json
file, add a script:
{
"lint": "eslint **/*.{js,jsx,ts,tsx}"
}