-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc
56 lines (49 loc) · 1.45 KB
/
.eslintrc
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
44
45
46
47
48
49
50
51
52
53
54
55
56
extends:
- '@essex/eslint-config'
- 'plugin:playwright/playwright-test'
rules:
# All logging should go through the 'debug' library
'no-console': error
# collides w/ prettier
import/order: off
# The packages use custom paths
import/no-unresolved: off
# TODO: Enable these as project becomes more stable
'@typescript-eslint/no-non-null-assertion': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-unsafe-assignment': off
'@typescript-eslint/restrict-template-expressions': off
'@typescript-eslint/no-empty-function': off
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/explicit-module-boundary-types': off
# this rule seems flaky
'@typescript-eslint/no-unsafe-member-access': off
overrides:
#
# API Overrides
#
- files:
- "packages/api/**"
rules:
# This interferes with TSyringe type inference
'@typescript-eslint/consistent-type-imports': off
#
# Webapp Overrides
#
- files:
- "packages/webapp/**"
rules:
# Nextjs links require nested a tags with no anchors
'jsx-a11y/anchor-is-valid': off
# TODO: Re-enable
'jsx-a11y/click-events-have-key-events': off
'jsx-a11y/no-static-element-interactions': off
#
# Acceptance Testing Overrides
#
- files:
- "packages/acceptance-tests/**"
rules:
# Not idiomatic for acceptance tests
'@essex/adjacent-await': off
'jest/no-done-callback': off