-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.eslintrc.js
51 lines (51 loc) · 1.31 KB
/
.eslintrc.js
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
module.exports = {
"env": {
"browser": false,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb-base"
],
"rules": {
"import/prefer-default-export": "off",
"import/no-mutable-exports": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
'import/extensions': 'off',
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
"no-console": "off",
"lines-between-class-members": "off",
"no-empty": ["error", {
"allowEmptyCatch": true
}],
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-new": "off",
"arrow-body-style": "off",
"no-empty-function": "off",
"no-nested-ternary": "off",
"no-return-assign": "off",
"global-require": "off",
"object-curly-spacing": "off",
"max-len": "off",
"comma-dangle": "off",
"prefer-destructuring": "off",
"class-methods-use-this": "off",
"eol-last": "off",
"eqeqeq": "off",
"prefer-arrow-callback": "off",
"prefer-promise-reject-errors": "off",
"generator-star-spacing": "off",
"new-cap": "off",
"array-callback-return": "off",
"consistent-return": "off"
}
};