This repository has been archived by the owner on Sep 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.67 KB
/
.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
40
41
42
43
44
45
46
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
],
"rules": {
"@typescript-eslint/indent": ["error", 2, {"CallExpression": {"arguments": "first"}}],
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-empty-interface": ["off"],
"arrow-parens": ["error", "as-needed"],
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-confusing-arrow": "off",
"no-unused-vars": "off",
"no-plusplus": "off",
"no-else-return": "off",
"one-var": "off",
"require-jsdoc": "off",
"valid-jsdoc": "off",
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"no-param-reassign": ["error", { "props": false }],
"max-len": "off",
"quotes": ["error", "double"],
"new-cap": "off",
"no-invalid-this": "off",
"no-console": "off",
"no-throw-literal": "off",
},
"env": {
"node": true,
"es6": true
},
"globals": {
"d3": false,
"$": false,
"Promise": true
}
}