-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.yaml
42 lines (42 loc) · 1.27 KB
/
.eslintrc.yaml
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
env:
es6: true
node: true
extends:
- '@ridedott/eslint-config'
- 'plugin:jest-formatting/recommended'
plugins:
- 'jest-formatting'
overrides:
- env:
jest: true
files:
- ./jest.config.ts
- ./__mocks__/**/*.ts
- ./src/**/*.spec.ts
- ./test/**/*.ts
rules:
'@ridedott/no-single-line-comment-block': 'off'
'@typescript-eslint/no-magic-numbers': 'off'
'@typescript-eslint/no-unsafe-enum-comparison': 'off'
'@typescript-eslint/class-methods-use-this': 'off'
'@typescript-eslint/no-non-null-assertion': 'off'
'import/no-extraneous-dependencies': 'off'
'max-lines-per-function': 'off'
'jest/max-expects': 'off'
'unicorn/filename-case': 'off'
'import/no-default-export': 'off'
'jest/no-conditional-in-test': 'off'
- files:
- src/**/*.ts
rules:
'@typescript-eslint/no-magic-numbers': 'off'
'@typescript-eslint/no-unsafe-enum-comparison': 'off'
'@typescript-eslint/class-methods-use-this': 'off'
'@typescript-eslint/no-non-null-assertion': 'off'
'import/no-extraneous-dependencies': 'off'
'jest/require-hook': off
'eslint-comments/no-unused-disable': off
parserOptions:
ecmaVersion: 2020
project: './tsconfig.json'
sourceType: module