forked from date-fns/date-fns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ts-eslintrc.js
32 lines (32 loc) · 881 Bytes
/
.ts-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
module.exports = {
extends: ['plugin:@typescript-eslint/recommended'],
plugins: ['@typescript-eslint'],
parser: '@typescript-eslint/parser',
env: {
browser: true,
node: true,
es6: true
},
rules: {
'@typescript-eslint/indent': ['off'],
'@typescript-eslint/no-unused-vars': ['off'],
'@typescript-eslint/no-use-before-define': ['off'],
'@typescript-eslint/no-var-requires': ['off'],
'@typescript-eslint/no-explicit-any': ['off'],
'@typescript-eslint/prefer-interface': ['off'],
'@typescript-eslint/class-name-casing': ['off'],
'@typescript-eslint/ban-types': ['off'],
'@typescript-eslint/array-type': ['off'],
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none'
},
singleline: {
delimiter: 'semi'
}
}
]
}
}