forked from venture23-aleo/doko-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
54 lines (54 loc) · 1.29 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["import", "@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier"
],
"env": {
"node": true
},
"rules": {
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"comma-dangle": 0,
"semi": 0,
"object-curly-newline": 0,
"no-prototype-builtins": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"use-isnan": "off",
"no-restricted-globals": ["off", "isNaN"],
"implicit-arrow-linebreak": [0, "below"],
"quotes": [2, "single", "avoid-escape"],
"object-curly-spacing": ["error", "always"],
"keyword-spacing": "off",
"@typescript-eslint/keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
},
"globals": {
"__base": true,
"global": true,
"isNaN": true
}
}