forked from astappiev/eyes.sdk.javascript1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 928 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
32
33
34
35
36
37
38
39
{
"env": {
"commonjs": true,
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": ["plugin:node/recommended"],
"plugins": ["prettier", "mocha-no-only", "node"],
"ignorePatterns": [
"node_modules/",
"dist/",
"screenshots/",
"applitools.config.js",
"logs",
"tmp/",
"**/test/coverage/generic/"
],
"rules": {
"prettier/prettier": ["error", {"allowParens": "avoid"}],
"no-process-exit": "off",
"no-const-assign": "error",
"no-this-before-super": "error",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": [
1,
{"varsIgnorePattern": "^_", "args": "all", "argsIgnorePattern": "^_"}
],
"constructor-super": "warn",
"valid-typeof": "warn",
"mocha-no-only/mocha-no-only": "error",
"node/no-unpublished-require": ["off"]
}
}