This repository has been archived by the owner on Aug 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.js
48 lines (48 loc) · 1.5 KB
/
base.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
module.exports = {
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
plugins: ['@typescript-eslint/eslint-plugin'],
rules: {
'@typescript-eslint/dot-notation': 0,
'@typescript-eslint/no-implied-eval': 0,
'@typescript-eslint/no-throw-literal': 0,
'@typescript-eslint/no-use-before-define': 0,
'@typescript-eslint/lines-between-class-members': [
'error',
'always',
{ exceptAfterOverload: true, exceptAfterSingleLine: true },
],
'no-continue': 0,
'no-console': 'error',
'no-await-in-loop': 0,
'class-methods-use-this': 0,
'import/named': 2,
'import/no-named-as-default': 0,
'import/prefer-default-export': 0,
'import/extensions': 0,
'no-param-reassign': ['error', { props: true }],
'sort-keys': 0,
'max-classes-per-file': 0,
'no-underscore-dangle': 0,
'lines-between-class-members': 'off',
'@typescript-eslint/array-type': ['error', { default: 'array' }],
'@typescript-eslint/no-namespace': 0,
'@typescript-eslint/no-unused-expressions': 2,
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'prettier/prettier': [
'error',
{
endOfLine: 'lf',
singleQuote: true,
trailingComma: 'all',
},
],
'no-plusplus': 'off',
},
};