forked from FIRSTTeam102/scoutradioz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
69 lines (69 loc) · 1.49 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
root: true
env:
browser: true
commonjs: true
es6: true
node: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
plugins:
- 'scoutradioz-eslint'
- '@typescript-eslint'
parser: '@typescript-eslint/parser'
globals:
Atomics: readonly
SharedArrayBuffer: readonly
NotificationCard: writable
Confirm: writable
PasswordPrompt: writable
FormSubmission: writable
$: readonly
luxon: readonly
window: writable
parserOptions:
ecmaVersion: 2018
ignorePatterns:
- bundle.d.ts
rules:
indent:
- error
- tab
- SwitchCase: 1
# linebreak-style:
# - error
# - windows
quotes:
- error
- single
semi:
- error
- always
global-require: error
no-new-require: error
no-mixed-requires: error
no-prototype-builtins: 0
brace-style:
- error
- stroustrup
- allowSingleLine: true
# guard-for-in:
# - warn
no-useless-escape: 0
scoutradioz-eslint/res-render-require-title:
- error
prefer-const: off
no-unused-vars: off # Must be turned off because typescript-eslint/no-unused-vars supecedes this
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-unused-vars':
- warn
- args: none
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/no-namespace': off
'@typescript-eslint/ban-ts-comment': warn
'@typescript-eslint/consistent-type-imports':
- warn
-
prefer: 'type-imports'
disallowTypeAnnotations: true
fixStyle: 'separate-type-imports'