forked from open-web3-stack/guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
37 lines (36 loc) · 1.12 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
const base = require('@open-web3/dev-config/config/eslint.cjs');
module.exports = {
...base,
ignorePatterns: [
'.eslintrc.js',
'.github/**',
'.vscode/**',
'.yarn/**',
'**/build/*',
'**/coverage/*',
'**/node_modules/*'
],
parserOptions: {
...base.parserOptions,
project: ['./tsconfig.json', 'tsconfig.eslint.json'],
},
rules: {
...base.rules,
'@typescript-eslint/indent': 'off', // prettier
'space-before-function-paren': 'off', // prettier
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'no-useless-constructor': 'off',
'no-unused-expressions': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'comma-dangle': 'off',
'dot-notation': 'off',
'no-useless-call': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/ban-types': 'off',
},
};