@intouchgroup/eslint-config
v2.0.6
Published
ESLint config for JS, JSX, TS, and TSX
Downloads
7
Readme
@intouchgroup/eslint-config
ESLint config for JS, JSX, TS, and TSX
Installation
First install ESLint and this package:
npm i -D [email protected] @intouchgroup/eslint-config
Then install one of the sets of optional dependencies listed below:
JavaScript Dependencies:
npm i -D [email protected]
TypeScript Dependencies:
npm i -D [email protected] @typescript-eslint/[email protected] @typescript-eslint/[email protected]
React JavaScript Dependencies:
npm i -D [email protected] [email protected] [email protected]
React TypeScript Dependencies:
npm i -D [email protected] @typescript-eslint/[email protected] @typescript-eslint/[email protected] [email protected] [email protected]
Configuration:
Add this package to your ESLint configuration, under the extends
property in .eslintrc
:
{
"extends": "@intouchgroup/eslint-config"
}
Dependencies
Required:
eslint >=6.6.0
Optional:
babel-eslint >=10.0.3
eslint-plugin-react >=7.16.0
eslint-plugin-react-hooks >=2.2.0
typescript >=3.7.2
@typescript-eslint/eslint-plugin >=2.7.0
@typescript-eslint/parser >=2.7.0