-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
43 lines (37 loc) · 811 Bytes
/
.eslintrc.yml
File metadata and controls
43 lines (37 loc) · 811 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- plugin:jest/recommended
parser: "@typescript-eslint/parser"
parserOptions:
project: './tsconfig.json'
tsconfigRootDir: .
sourceType: 'module'
plugins:
- "@typescript-eslint"
- import
- jest
settings:
import/resolver:
typescript:
project: './tsconfig.json'
rules:
no-use-before-define: off
no-shadow: off
no-restricted-imports:
- error
- patterns:
- '../*'
- './*'
"@typescript-eslint/no-inferrable-types": off
"@typescript-eslint/ban-ts-comment": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-shadow":
- error
"@typescript-eslint/no-use-before-define":
- error
env:
jest/globals: true
node: true
ignorePatterns:
- 'test/**/*'