forked from nearform/fast-jwt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
30 lines (30 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
module.exports = {
extends: ['standard'],
plugins: ['@typescript-eslint'],
rules: {
/*
This is inserted to make this compatible with prettier.
Once https://github.com/prettier/prettier/issues/3845 and https://github.com/prettier/prettier/issues/3847 are solved this might be not needed any more.
*/
'space-before-function-paren': 0,
curly: [2, 'all']
},
overrides: [
{
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
/*
This is inserted to make this compatible with prettier.
Once https://github.com/prettier/prettier/issues/3845 and https://github.com/prettier/prettier/issues/3847 are solved this might be not needed any more.
*/
'@typescript-eslint/space-before-function-paren': 0,
'@typescript-eslint/no-explicit-any': 0
},
files: ['*.ts'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json'
}
}
]
}