-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (31 loc) · 878 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
25
26
27
28
29
30
31
{
"plugins": ["prettier", "cypress", "import"],
"extends": [
"eslint:recommended",
"plugin:cypress/recommended",
"plugin:import/recommended",
"plugin:prettier/recommended"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-unused-expressions": "error",
"import/newline-after-import": "error",
"import/order": ["error", { "groups": ["external", "internal"], "newlines-between": "always" }],
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "error",
"cypress/no-force": "error",
"cypress/no-async-tests": "error",
"cypress/no-pause": "error"
},
"reportUnusedDisableDirectives": true,
"env": {
"browser": true,
"cypress/globals": true,
"node": true
}
}