-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
24 lines (24 loc) · 894 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
"sourceType": "module", // Allows for the use of imports
"ecmaFeatures": {
"jsx": true // Allows for the parsing of JSX
}
},
"settings": {
"react": {
"version": "detect" // Tells eslint-plugin-react to automatically detect the version of React to use
}
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"react/prop-types": [1],
"prettier/prettier": [2],
"@typescript-eslint/ban-ts-comment": [0],
"@typescript-eslint/no-explicit-any": [1],
"@typescript-eslint/no-var-requires": [0]
},
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"]
}