-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.yml
38 lines (38 loc) · 919 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
env:
browser: true
es6: true
node: true
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/recommended'
- prettier/@typescript-eslint
- prettier
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parserOptions:
ecmaVersion: 2018
sourceType: module
rules:
'@typescript-eslint/prefer-interface': 0
'@typescript-eslint/explicit-member-accessibility':
- 1
- accessibility: no-public
overrides:
parameterProperties: 'explicit'
'@typescript-eslint/no-parameter-properties': 0
'@typescript-eslint/explicit-function-return-type':
- 1
- allowExpressions: true
allowTypedFunctionExpressions: true
allowHigherOrderFunctions: true
'@typescript-eslint/no-unused-vars':
- 1
- argsIgnorePattern: ^_|ignore
varsIgnorePattern: ^_|ignore
overrides:
- files: '**/__tests__/**'
rules:
no-console: 0
env:
jest: true