forked from BoltzExchange/boltz-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
40 lines (39 loc) · 1.15 KB
/
.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
36
37
38
39
40
module.exports = {
env: {
node: true,
},
rules: {
'jest/expect-expect': 'off',
'node/no-missing-import': 'off',
'node/no-extraneous-import': 'off',
'jest/no-conditional-expect': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'node/no-unsupported-features/es-syntax': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'off',
'@typescript-eslint/no-unsafe-declaration-merging': 'off',
semi: 'error',
'no-trailing-spaces': 'error',
'import/no-unresolved': 'off',
quotes: ['error', 'single', { avoidEscape: true }],
},
root: true,
parser: '@typescript-eslint/parser',
ignorePatterns: ['dist/', 'lib/proto/', 'contracts/', 'node_modules/'],
plugins: [
'jest',
'eslint-plugin-node',
'@typescript-eslint',
'eslint-plugin-import',
],
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:jest/recommended',
'plugin:node/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
],
};