-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
34 lines (33 loc) · 968 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
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'airbnb-base', 'eslint-config-prettier'],
env: {
node: true,
jest: true,
},
rules: {
'arrow-body-style': 'off',
'comma-dangle': 'off',
'object-curly-newline': 'off',
'import/no-unresolved': 'off',
'import/extensions': 'off',
'linebreak-style': 'off',
'import/prefer-default-export': 'off',
'import/no-extraneous-dependencies': [
'error', {
'devDependencies': [
'**/*.test.ts',
'**/*.spec.ts',
'**/*.e2e-spec.ts'
]
}
],
'class-methods-use-this': 'off',
'no-useless-constructor': 'off',
'no-empty-function': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error']
}
};