-
Notifications
You must be signed in to change notification settings - Fork 13
/
.eslintrc
41 lines (41 loc) · 895 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"extends": ["@nulogy/nulogy"],
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
],
"jsx-a11y/label-has-associated-control": [
2,
{
"labelComponents": [],
"labelAttributes": ["labelText"],
"controlComponents": ["FieldLabel"],
"assert": "either"
}
],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["as"]
}
],
"react/display-name": "off",
// rules below are to override nulogy config
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
],
// Do not mark formatting violations as errors
"prettier/prettier": 0
}
}