-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
33 lines (33 loc) · 966 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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'airbnb',
'airbnb-typescript',
'plugin:@typescript-eslint/recommended',
],
plugins: [
'@typescript-eslint',
],
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module',
project: './tsconfig.json',
},
rules: {
'@typescript-eslint/indent': ['error', 4],
'@typescript-eslint/no-shadow': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-loop-func': 'off',
'import/prefer-default-export': 'off',
'max-len': 'off',
'no-plusplus': 'off',
'no-restricted-syntax': 'off',
'no-else-return': 'off',
'no-multi-assign': 'off',
'no-constant-condition': 'off',
'no-continue': 'off',
'import/no-extraneous-dependencies': 'off',
'max-classes-per-file': 'off',
},
};