-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
35 lines (35 loc) · 978 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
module.exports = {
root: true,
plugins: ['@typescript-eslint', 'prettier', 'promise', 'sonarjs'],
extends: [
'eslint:recommended',
'plugin:prettier/recommended',
'plugin:promise/recommended',
'plugin:sonarjs/recommended',
'plugin:@typescript-eslint/recommended'
],
rules: {
semi: [2, 'always'],
quotes: 0,
'consistent-return': 0,
'promise/valid-params': 0,
'no-useless-catch': 0,
'sonarjs/no-useless-catch': 0,
'sonarjs/cognitive-complexity': 0,
'sonarjs/no-duplicated-branches': 0,
'spaced-comment': 0,
'no-empty-function': 2,
'no-useless-constructor': 0,
'lines-between-class-members': 2,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/no-redeclare': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-namespace': 0,
'@typescript-eslint/no-unused-expressions': 0
},
env: {
browser: true,
node: true,
jest: true
}
};