This repository has been archived by the owner on Mar 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
78 lines (73 loc) · 2.37 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# ESLint config
# http://eslint.org/docs/user-guide/configuring
# https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/README.md
# https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/TYPED_LINTING.md
root: true
env:
es6: true
node: true
overrides:
# Linter settings for JavaScript
- files: ["**/*.js"]
parserOptions:
ecmaVersion: 2020
env:
es6: true
extends:
- oclif
- eslint:recommended
- prettier
- "plugin:chai-friendly/recommended"
rules:
no-unused-expressions: 0
no-multi-assign: warn
"node/no-missing-require": 0
# Linter settings for TypeScript
- files: ["**/*.ts"]
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2020
sourceType: module
project: tsconfig.json
plugins:
- "@typescript-eslint"
excludedFiles: ["**/fixtures/**/*.ts"]
extends:
- oclif
- oclif-typescript
- eslint:recommended
- prettier
- prettier/@typescript-eslint
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
rules:
no-console: 0
valid-jsdoc: 0
no-warning-comments: 0
no-use-before-define: 0
prefer-promise-reject-errors: 0
no-await-in-loop: 0
no-negated-condition: 0
no-implicit-coercion: 0
new-cap: 0
no-dupe-else-if: 0
no-import-assign: 0
no-setter-return: 0
camelcase: warn
no-case-declarations: warn
"@typescript-eslint/ban-types": 0
"@typescript-eslint/no-use-before-define": 0
"@typescript-eslint/unbound-method": warn
"@typescript-eslint/ban-ts-comment": warn
"@typescript-eslint/prefer-regexp-exec": warn
"@typescript-eslint/no-non-null-assertion": warn
"@typescript-eslint/no-unsafe-call": warn
"@typescript-eslint/no-unsafe-return": warn
"@typescript-eslint/no-unsafe-member-access": warn
"@typescript-eslint/no-unsafe-assignment": warn
"@typescript-eslint/restrict-plus-operands": warn
"@typescript-eslint/restrict-template-expressions": warn
"@typescript-eslint/no-unnecessary-type-assertion": warn
"@typescript-eslint/await-thenable": warn
"@typescript-eslint/require-await": warn
"@typescript-eslint/no-var-requires": warn