-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 807 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
{
"extends": [
"react-app",
"@nordicsemiconductor/eslint-config-asset-tracker-cloud-typescript",
"plugin:jsx-a11y/recommended"
],
"plugins": ["jsx-a11y"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": [
{
"group": [".*"],
"message": "Usage of relative imports is not allowed. Use aliased imports."
}
]
}
],
"react-hooks/exhaustive-deps": ["error"]
},
"overrides": [
{
"files": ["*.tsx"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
}
},
{
"files": ["*.d.ts"],
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/ban-types": "off"
}
}
]
}