forked from matthewpi/claws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
54 lines (54 loc) · 1.27 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
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 12
sourceType: module
env:
browser: true
es6: true
worker: true
plugins:
- simple-import-sort
- "@typescript-eslint"
extends:
- standard
- plugin:@typescript-eslint/recommended
- prettier
rules:
array-bracket-spacing:
- warn
- never
comma-dangle:
- warn
- always-multiline
indent:
- warn
- tab
- SwitchCase: 1
no-tabs: 0
multiline-ternary: 0
semi:
- warn
- always
space-before-function-paren: 0
spaced-comment: 0
simple-import-sort/imports:
- warn
- groups:
- [ "^@?\\w" ]
- [ "^" ]
- [ "^\\." ]
- [ "^\\u0000" ]
simple-import-sort/exports:
- warn
"@typescript-eslint/ban-ts-comment": 0
"@typescript-eslint/ban-ts-ignore": 0
"@typescript-eslint/explicit-function-return-type": 0
"@typescript-eslint/explicit-member-accessibility": 0
"@typescript-eslint/no-explicit-any": 0
"@typescript-eslint/no-non-null-assertion": 0
"@typescript-eslint/explicit-module-boundary-types":
- warn
# https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md#how-to-use
no-use-before-define: 0
"@typescript-eslint/no-use-before-define":
- warn