forked from uoa-compsci-399/marker-allocation-tool-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yaml
More file actions
29 lines (29 loc) · 778 Bytes
/
Copy path.eslintrc.yaml
File metadata and controls
29 lines (29 loc) · 778 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
root: true
env:
browser: true
node: true
parser: '@typescript-eslint/parser'
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- prettier
parserOptions:
parser: '@typescript-eslint/parser'
project: tsconfig.json
tsconfigRootDir: ./
sourceType: module
plugins:
- '@typescript-eslint'
rules:
max-len:
- warn
- code: 300
no-console: 'off'
no-extra-boolean-cast: warn
'@typescript-eslint/no-explicit-any': 'off'
'@typescript-eslint/restrict-plus-operands': warn
'@typescript-eslint/explicit-module-boundary-types': warn
'@typescript-eslint/no-floating-promises': warn
'@typescript-eslint/no-unsafe-member-access': warn
'@typescript-eslint/no-unsafe-assignment': warn