-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (31 loc) · 878 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
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
],
rules: {
'no-plusplus': 0,
'class-methods-use-this': 0,
'no-underscore-dangle': 0,
'no-continue': 0,
'no-param-reassign': 0,
'no-bitwise': 0,
'import/no-unresolved': 0,
'import/prefer-default-export': 0,
'import/extensions': 0,
'@typescript-eslint/interface-name-prefix': 0,
'func-names': 0,
'no-console': 0,
'no-await-in-loop': 0,
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'no-useless-constructor': 0,
'@typescript-eslint/no-useless-constructor': ['error'],
},
};