forked from DataDog/dd-trace-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
39 lines (39 loc) · 947 Bytes
/
.eslintrc.json
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
{
"parserOptions": {
"ecmaVersion": 2020
},
"extends": [
"eslint:recommended",
"standard",
"plugin:mocha/recommended"
],
"plugins": [
"mocha",
"n"
],
"env": {
"node": true,
"es2020": true
},
"rules": {
"max-len": [2, 120, 2],
"no-var": 2,
"no-console": 2,
"prefer-const": 2,
"object-curly-spacing": [2, "always"],
"import/no-extraneous-dependencies": 2,
"standard/no-callback-literal": 0,
"no-prototype-builtins": 0,
"mocha/no-mocha-arrows": 0,
"mocha/no-setup-in-describe": 0,
"mocha/no-sibling-hooks": 0,
"mocha/no-top-level-hooks": 0,
"mocha/max-top-level-suites": 0,
"mocha/no-identical-title": 0,
"mocha/no-global-tests": 0,
"mocha/no-exports": 0,
"mocha/no-skipped-tests": 0,
"n/no-restricted-require": [2, ["diagnostics_channel"]],
"object-curly-newline": ["error", {"multiline": true, "consistent": true }]
}
}