forked from newrelic/newrelic-browser-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (36 loc) · 791 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
{
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script",
"ecmaFeatures": {
"globalReturn": true
}
},
"extends": ["eslint:recommended", "plugin:import/recommended"],
"env": {
"browser": true,
"node": true,
"jest": true
},
"globals": {
"NREUM": true,
"newrelic": true,
"__nr_require": true,
"attachEvent": true
},
"rules": {
"space-before-function-paren": ["off"],
"no-extend-native": 0,
"no-wrap-func": 0,
"camelcase": 0,
"no-restricted-syntax": ["error"],
"no-restricted-imports": ["error"],
"no-undef": "off",
"no-empty": "off",
"no-setter-return": "off",
"no-unused-vars": 0,
"no-warning-comments": 0,
"no-prototype-builtins": "off",
"getter-return": "warn"
}
}