forked from khovansky-al/stream-display
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
32 lines (31 loc) · 843 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
/* eslint-disable quote-props */
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
],
rules: {
'indent': 'off',
'no-undef': 'off',
'no-multi-str': 'off',
'no-underscore-dangle': 'off',
'lines-between-class-members': 'off',
'arrow-parens': [2, 'as-needed'],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/prefer-interface': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/explicit-member-accessibility': [2, {
'accessibility': 'no-public',
}],
'import/extensions': 'off',
},
settings: {
'import/resolver': {
'node': {
'extensions': ['.js', '.ts'],
},
},
},
}