-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.json
71 lines (71 loc) · 2 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["chai-friendly"],
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"comma-dangle": 0,
"consistent-return": 0,
"implicit-arrow-linebreak": ["off"],
"no-param-reassign": 0,
"import/no-named-default": "off",
"import/prefer-default-export": 0,
"import/no-default-export": 2,
"no-dupe-class-members": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"max-classes-per-file": 0,
"class-methods-use-this": 0,
"no-useless-constructor": 0,
"no-console": 0,
"no-plusplus": 0,
"no-unused-expressions": 0,
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "next"
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "next"
}
],
"chai-friendly/no-unused-expressions": 2,
"semi": ["error", "always"],
"quotes": ["error", "double"],
"lines-between-class-members": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-inferrable-types": "off",
"eqeqeq": ["error", "smart"]
}
}