-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
33 lines (33 loc) · 995 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
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
],
env: {
'browser': true,
},
rules: {
'max-len': [2, 120],
'import/prefer-default-export': 0,
'import/no-unresolved': 0,
'import/extensions': [2, 'always'],
'no-multi-spaces': 1,
'no-plusplus': 0,
'no-use-before-define': [2, 'nofunc'],
'@typescript-eslint/no-use-before-define': [2, 'nofunc'],
'object-curly-spacing': 0,
'object-curly-newline': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'lines-between-class-members': [1, 'always', {"exceptAfterSingleLine": true}],
'no-underscore-dangle': 0,
'@typescript-eslint/explicit-member-accessibility': 0,
},
};