forked from REditorSupport/vscode-R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
37 lines (37 loc) · 774 Bytes
/
Copy path.eslintrc.yml
File metadata and controls
37 lines (37 loc) · 774 Bytes
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
env:
node: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 12
sourceType: module
project:
- ./tsconfig.json
- ./html/httpgd/tsconfig.json
- ./html/help/tsconfig.json
plugins:
- '@typescript-eslint'
- 'jsdoc'
rules:
semi: 'error'
no-extra-semi: 'warn'
curly: 'warn'
quotes:
- 'error'
- 'single'
- allowTemplateLiterals: true
eqeqeq: 'error'
no-empty:
- 'warn'
- allowEmptyCatch: true
'@typescript-eslint/no-inferrable-types':
- 'warn'
- ignoreParameters: true
ignoreProperties: true
indent:
- 'error'
- 4
- SwitchCase: 1