-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
27 lines (27 loc) · 864 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
{
"extends": ["eslint:recommended", "plugin:cypress/recommended"],
"env": {
"browser": true,
"node": true,
"es6": true,
"cypress/globals": true
},
"parserOptions": {
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
},
"plugins": ["cypress", "prettier"],
"rules": {
"eqeqeq": ["error", "always"],
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-cond-assign": ["error", "always"],
"no-console": "off",
"brace-style": "error",
"jest/expect-expect": "off",
"cypress/no-assigning-return-values": "off",
"cypress/no-async-tests": "off"
}
}