-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
34 lines (34 loc) · 857 Bytes
/
.eslintrc.yaml
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
env:
es6: true
node: true
plugins:
- '@typescript-eslint'
- functional
overrides:
- env:
jest: true
files:
- __mocks__/**/*.ts
- src/**/*.spec.ts
- test/**/*.ts
rules:
'functional/no-return-void': off
'functional/functional-parameters': off
'functional/no-expression-statement': off
'@typescript-eslint/no-magic-numbers': off
'@typescript-eslint/typedef': warn
'max-lines': 0
'max-lines-per-function': off
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 10
project: tsconfig.json
sourceType: module
extends:
- 'eslint:recommended'
- 'plugin:@typescript-eslint/eslint-recommended'
- 'plugin:@typescript-eslint/recommended'
- 'plugin:functional/external-recommended'
- 'plugin:functional/recommended'
rules:
functional/no-try-statement: off