forked from flomesh-io/osm-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
43 lines (43 loc) · 1.09 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
43
root: true
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: '2020'
project:
- aio/tsconfig.app.json
- aio/tsconfig.spec.json
- aio/tsconfig.e2e.json
sourceType: module
extends:
- "./node_modules/gts"
plugins:
- rxjs
rules:
"@typescript-eslint/no-unused-vars":
- error
- argsIgnorePattern: "^_"
"@typescript-eslint/ban-ts-comment": off
"@typescript-eslint/interface-name-prefix": off
"@typescript-eslint/no-namespace": off
"@typescript-eslint/no-this-alias": off
"@typescript-eslint/no-explicit-any": off
node/no-unpublished-import: off
no-undef: off
no-inner-declarations: off
no-redeclare: off
eol-last: error
no-console: off
no-prototype-builtins: off
no-extra-boolean-cast: error
no-else-return: error
node/no-extraneous-require: error
node/no-unpublished-require: error
prefer-rest-params: error
rxjs/ban-operators:
- error
- first: use take(1) instead
rxjs/no-ignored-observable: error
rxjs/no-unbound-methods: error
rxjs/no-unsafe-takeuntil: error
rxjs/no-nested-subscribe: error
ignorePatterns:
- "**/*.js"