-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.yml
48 lines (43 loc) · 1.21 KB
/
.eslintrc.yml
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
38
39
40
41
42
43
44
45
46
47
48
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2018
sourceType: 'module'
project: './tsconfig.json'
plugins:
- simple-import-sort
- filenames
ignorePatterns:
- coverage
- dist
- node_modules
extends:
- 'eslint:recommended'
- 'plugin:node/recommended'
- 'plugin:jest/recommended'
- 'plugin:@typescript-eslint/eslint-recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:prettier/recommended'
- 'prettier'
rules:
'@typescript-eslint/explicit-module-boundary-types': 0
'@typescript-eslint/no-namespace': 0
'node/no-unsupported-features/es-syntax': 0
'node/no-unpublished-import': 0
'node/no-missing-import': [
2,
{ tryExtensions: ['.js', '.json', '.ts', '.d.ts'] }
]
'@typescript-eslint/explicit-function-return-type': 0
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/no-non-null-assertion': 0
'@typescript-eslint/no-use-before-define': 0
'@typescript-eslint/no-unused-vars': [
2,
{ ignoreRestSiblings: true }
]
'@typescript-eslint/no-floating-promises': 2
'@typescript-eslint/no-require-imports': 2
'no-empty-pattern': 0
'no-console': 2
'simple-import-sort/imports': 2
'filenames/match-regex': [2, '^[0-9a-z-.]+$']