forked from segmentio/analytics.js-integrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 835 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
{
"extends": ["eslint-config-airbnb-base/legacy", "prettier"],
"plugins": ["mocha", "prettier"],
"rules": {
"prettier/prettier": "error",
"func-names": "off",
"no-multi-assign": "off",
"vars-on-top": "off",
"no-underscore-dangle": "warn",
"no-prototype-builtins": "warn",
"no-use-before-define": "warn",
"no-loop-func": "warn",
"no-restricted-syntax": "warn",
"no-restricted-globals": "warn",
"no-continue": "off",
"consistent-return": "warn",
"no-shadow": "warn",
"no-plusplus": "off",
"no-template-curly-in-string": "warn",
"no-useless-escape": "warn",
"no-return-assign": "warn",
"no-unused-vars": "warn",
"no-param-reassign": "warn"
},
"overrides": [
{
"files": ["**/test/**"],
"env": {
"mocha": true
}
}
]
}