@mobly/eslint-config-react-ts
v1.1.0
Published
Eslint config for React and TypeScript projects
Downloads
7
Readme
@mobly/eslint-config-react-ts
An extensible shared eslint config for projects using react and typescript.
Usage
Run the following command to install dependencies:
npm i @mobly/eslint-config-react-ts -D
Then, add this to your .eslintrc.*
file:
{
parserOptions: {
project: 'path/to/tsconfig.json',
},
extends: [
'@mobly/eslint-config-react-ts',
],
}
Don't forget to specify the parserOptions.project
property. This should point to your tsconfig.json
.
Dependencies
Used plugins:
Extended configs:
- eslint-config-airbnb-typescript
- airbnb-hooks
- prettier
- prettier/@typescript-eslint
- prettier/react