forked from LNSwap/lnstxbridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
44 lines (43 loc) · 1.13 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
41
42
43
44
module.exports = {
'env': {
'node': true
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'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',
'semi': 'error',
'no-trailing-spaces': 'error',
'quotes': ['error', 'single', { 'avoidEscape': true }],
},
root: true,
parser: '@typescript-eslint/parser',
ignorePatterns: [
'dist/',
'lib/proto/',
'contracts/',
'node_modules/',
],
plugins: [
'jest',
'eslint-plugin-import',
'eslint-plugin-node',
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:jest/recommended',
'plugin:node/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
],
};