-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
55 lines (55 loc) · 1.33 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
49
50
51
52
53
54
55
env:
es2020: true
node: true
jest/globals: true
extends:
- airbnb-typescript/base
- prettier
- plugin:eslint-comments/recommended
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 11
sourceType: module
project:
- tsconfig.json
plugins:
- '@typescript-eslint'
- import
- jest
root: true
rules:
'@typescript-eslint/interface-name-prefix': off
'@typescript-eslint/no-explicit-any': off
import/prefer-default-export: off
import/no-extraneous-dependencies:
- error
-
devDependencies: true
jest/no-disabled-tests: warn
jest/no-focused-tests: error
jest/no-identical-title: error
jest/prefer-to-have-length: warn
jest/valid-expect: error
eslint-comments/disable-enable-pair: error
eslint-comments/no-aggregating-enable: error
eslint-comments/no-duplicate-disable: error
eslint-comments/no-unlimited-disable: error
eslint-comments/no-unused-disable: error
eslint-comments/no-unused-enable: error
eslint-comments/require-description:
- error
- ignore:
- eslint-enable
class-methods-use-this: off
no-use-before-define: off
'@typescript-eslint/no-use-before-define':
- error
-
functions: false
classes: false
enums: true
typedefs: true
'@typescript-eslint/explicit-function-return-type': error
settings:
jest:
version: 26