-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
29 lines (29 loc) · 791 Bytes
/
Copy path.eslintrc.js
File metadata and controls
29 lines (29 loc) · 791 Bytes
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
module.exports = {
env: {
es2021: true,
node: true,
},
extends: ['airbnb-base', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
rules: {
'import/no-unresolved': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',
'consistent-return': 'off',
'no-console': 'warn',
'max-len': 'off',
'no-underscore-dangle': 'off',
'no-restricted-syntax': 'off',
'no-await-in-loop': 'off',
'no-use-before-define': 'warn',
'no-return-await': 'off',
'no-promise-executor-return': 'off',
'implicit-arrow-linebreak': 'off',
},
};