-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.eslintrc.json
More file actions
executable file
·27 lines (27 loc) · 665 Bytes
/
.eslintrc.json
File metadata and controls
executable file
·27 lines (27 loc) · 665 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
{
"extends": ["react-app", "react-app/jest", "prettier"],
"plugins": ["prettier"],
"parser":"@babel/eslint-parser",
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
},
"parserOptions": {
"babelOptions": {
"presets": [
["babel-preset-react-app", false],
"babel-preset-react-app/prod"
]
}
},
"rules": {
"react/jsx-props-no-spreading": "off",
"camelcase": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/no-unescaped-entities": "off"
}
}