forked from bigcommerce/request-sender-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslintrc.json
33 lines (33 loc) · 847 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
{
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"es6": true,
"jest": true
},
"extends": "airbnb/base",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"consistent-return": "off",
"indent": [2, 4],
"max-len": [0],
"no-console": "off",
"no-param-reassign": [2, { "props": false }],
"no-throw-literal": [0],
"no-shadow": "off",
"no-unused-expressions": "off",
"no-use-before-define": [2, "nofunc"],
"quote-props": [2, "consistent-as-needed"],
"valid-jsdoc": [
2,
{
"requireParamDescription": false,
"requireReturnDescription": false
}
]
}
}