-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
37 lines (37 loc) · 951 Bytes
/
.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
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
],
env: {
node: true,
es6: true,
mocha: true,
},
globals: {
expect: true,
},
rules: {
'func-names': ['error', 'never'],
'space-before-function-paren': ['error', 'never'],
'no-underscore-dangle': 0,
'no-param-reassign': 0,
'arrow-parens': 0,
'dot-notation': 0,
'operator-linebreak': 0,
'no-nested-ternary': 0,
'import/no-unresolved': 0,
'import/extensions': 0,
'@typescript-eslint/type-annotation-spacing': ['error', { before: false, after: true }],
'@typescript-eslint/member-delimiter-style': ['error', {
multiline: { delimiter: 'comma' },
}],
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/explicit-function-return-type': 0,
},
};