-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.js
44 lines (44 loc) ยท 1.02 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
module.exports = {
env: {
es6: true,
node: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 11,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {
'import/prefer-default-export': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off',
'lines-between-class-members': 'off',
'consistent-return': 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'max-classes-per-file': 'off',
'class-methods-use-this': 'off',
'implicit-arrow-linebreak': 'off',
'no-return-await': 'off',
'no-await-in-loop': 'off',
'max-len': 'off',
'no-restricted-syntax': 'off',
radix: 'off',
'brace-style': 'off',
'no-return-assign': 'off',
'@typescript-eslint/no-unused-vars': [
'error', { args: 'none' },
],
'no-unused-vars': [
'error', { args: 'none' },
],
},
};