forked from geekuillaume/soundsync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
57 lines (57 loc) · 1.47 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
52
53
54
55
56
57
module.exports = {
env: {
es6: true,
node: true,
},
extends: [
'airbnb-base',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
settings: {
'import/resolver': {
node: { extensions: ['.js', '.ts'] }
}
},
rules: {
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"quotes": ['error', 'single', {"allowTemplateLiterals": true}],
"lines-between-class-members": 0,
"@typescript-eslint/no-unused-vars": ['error'],
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-empty-function": 0,
"class-methods-use-this": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"max-classes-per-file": 0,
"no-unused-vars": 0,
"import/extensions": 0,
"max-len": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-constant-condition": 0,
"prefer-destructuring": 0,
"spaced-comment": 0,
"no-useless-constructor": 0,
"no-return-await": 0,
"no-new": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 0
},
};