-
Notifications
You must be signed in to change notification settings - Fork 29
/
.eslintrc.js
42 lines (42 loc) · 1.16 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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 12,
},
extends: ['airbnb-base', 'prettier'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': [1, { printWidth: 80 }],
'@typescript-eslint/semi': 'warn',
curly: 'warn',
eqeqeq: 'warn',
'no-throw-literal': 'warn',
semi: 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'import/prefer-default-export': 'off',
'no-unused-vars': 'off',
'array-callback-return': 'off',
'import/no-extraneous-dependencies': 'off',
'consistent-return': 'off',
'no-use-before-define': 'off',
'no-empty': 'off',
camelcase: 'off',
'no-undef': 'off',
'no-shadow': 'off',
'no-param-reassign': 'off',
'import/no-dynamic-require': 'off',
'global-require': 'off',
'no-new-func': 'off',
'prefer-destructuring': 'off',
'no-plusplus': 'off',
'func-names': 'off',
'no-fallthrough': 'off',
'import/no-webpack-loader-syntax': 'off',
'no-unused-expressions': 'off',
'max-len': 'off',
'class-methods-use-this': 'off',
'no-eval': 'off',
},
};