forked from ichidao/ichi-vaults-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
37 lines (37 loc) · 936 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
36
37
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['airbnb-base', 'prettier', 'plugin:import/typescript'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': [
'error',
{
'endOfLine': 'auto',
}
],
'no-console': ['off'],
'no-useless-constructor': ['off'],
'@typescript-eslint/no-useless-constructor': ['error'],
'no-unused-vars': ['off'],
'@typescript-eslint/no-unused-vars': ['error'],
'no-empty-function': ['off'],
'@typescript-eslint/no-empty-function': ['error'],
'no-else-return': ['off'],
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: false,
optionalDependencies: false,
peerDependencies: false,
packageDir: './',
},
],
'import/extensions': [
'error',
'ignorePackages',
{
ts: 'never',
},
],
},
};