-
Notifications
You must be signed in to change notification settings - Fork 341
/
Copy path.eslintrc.yml
41 lines (36 loc) · 879 Bytes
/
.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
root: true
env:
node: true
es6: true
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 9
project: './tsconfig.json'
extends:
- standard
- prettier
- prettier/standard
- plugin:eslint-comments/recommended
- plugin:@typescript-eslint/recommended
- prettier/@typescript-eslint
plugins:
- eslint-comments
- prettier
- '@typescript-eslint'
rules:
prettier/prettier: error
camelcase: warn
standard/no-callback-literal: off
'@typescript-eslint/no-unused-vars':
- warn
- args: none
varsIgnorePattern: '^_'
argsIgnorePattern: '^_'
prefer-const:
- error
- destructuring: any
ignoreReadBeforeAssign: false
'@typescript-eslint/explicit-function-return-type': off
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/interface-name-prefix': off
'@typescript-eslint/ban-ts-comment': off