-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yaml
41 lines (41 loc) · 1.07 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
root: true
parser: "@typescript-eslint/parser"
plugins:
- "@typescript-eslint"
- jest
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:jest/recommended
env:
node: true
ignorePatterns:
- dist
- node_modules
- examples
- testdata
rules:
"@typescript-eslint/explicit-module-boundary-types": warn
"@typescript-eslint/no-empty-function": warn
"@typescript-eslint/no-inferrable-types": off
"@typescript-eslint/no-non-null-assertion": off
"@typescript-eslint/no-this-alias": off
"@typescript-eslint/no-unused-vars": [warn, {argsIgnorePattern: ^_}]
jest/expect-expect: off
jest/no-disabled-tests: off
jest/no-focused-tests: warn
no-console: [warn, {allow: [warn, error, log]}]
no-constant-condition: [off]
no-debugger: error
prefer-const: warn
overrides:
- files:
- "**/tests/*.test.ts"
rules:
no-explicit-any: off
prefer-const: [off]
- files:
- "**/src/commands/*.ts"
rules:
"@typescript-eslint/explicit-module-boundary-types": off