forked from CEOS-Developers/react-vote-18th
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
30 lines (30 loc) · 703 Bytes
/
.eslintrc
File metadata and controls
30 lines (30 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// .eslintrc
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/jsx-uses-vars": "error",
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"prettier/prettier": ["error", { "endOfLine": "auto" }]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}