forked from solidcouch/solidcouch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
37 lines (37 loc) · 940 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
root: true
extends:
- eslint:recommended
- react-app
- react-app/jest
- plugin:import/recommended
- plugin:import/typescript
- plugin:prettier/recommended
settings:
import/parsers:
'@typescript-eslint/parser':
- .ts
- .tsx
- .mts
import/resolver:
typescript:
alwaysTryTypes: true
node: true
rules:
'prettier/prettier': warn
'no-console': warn
'import/no-default-export': error
# TODO later import/no-cycle: warn
# check for unused arguments (overriding extended rule)
'@typescript-eslint/no-unused-vars':
- warn
- args: after-used
ignoreRestSiblings: false
import/no-unused-modules:
- warn
- unusedExports: true
ignoreExports:
- cypress.config.ts
# TODO for now we accept mess in ldo shapes
# since it is a generated code, and it's in development
# eventually we may want to remove unused shapes
- src/ldo