-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.eslintrc.json
More file actions
56 lines (56 loc) · 932 Bytes
/
.eslintrc.json
File metadata and controls
56 lines (56 loc) · 932 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"root": true,
"extends": [
"react-app",
"react-app/jest",
"plugin:prettier/recommended"
],
"plugins": [
"prettier",
"react",
"jsx-a11y",
"jest"
],
"settings": {
"react": {
"version": "18.1.0"
}
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"modules": true,
"jsx": true
}
},
"env": {
"amd": true,
"browser": true,
"es6": true,
"jquery": false,
"node": true
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": false,
"jsxSingleQuote": false,
"trailingComma": "all",
"semi": true,
"bracketSpacing": true,
"arrowParens": "always"
}
]
},
"overrides": [
{
"files": ["cypress/**/*.js"],
"globals": {
"cy": "readonly",
"Cypress": "readonly"
}
}
]
}