-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.yml
43 lines (43 loc) · 991 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
42
43
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
overrides:
- files: __tests__/**
rules:
no-console: 0
env:
jest: true
- files: __tests__/**
rules:
no-console: 0
env:
jest: true
rules:
'@typescript-eslint/camelcase': 0
'@typescript-eslint/explicit-member-accessibility':
- 1
- accessibility: no-public
overrides:
parameterProperties: explicit
'@typescript-eslint/prefer-interface': 0
'@typescript-eslint/explicit-function-return-type':
- 1
- allowExpressions: true
allowTypedFunctionExpressions: true
'@typescript-eslint/no-parameter-properties': 0
'@typescript-eslint/no-unused-vars':
- 1
- argsIgnorePattern: ^_|ignore
varsIgnorePattern: ^_|ignore