forked from ritik4ever/stellar-bounty-board
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
38 lines (37 loc) · 788 Bytes
/
Copy path.eslintrc.json
File metadata and controls
38 lines (37 loc) · 788 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
30
31
32
33
34
35
36
37
38
{
"root": true,
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "error",
"import/no-unresolved": "error",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"overrides": [
{
"files": ["backend/src/**/*.ts", "frontend/src/**/*.{ts,tsx}"],
"rules": {
"no-console": ["error", { "allow": ["warn", "error"] }]
}
},
{
"files": [
"backend/test/**/*.ts",
"frontend/src/**/*.test.ts",
"frontend/src/**/*.test.tsx",
"frontend/src/**/*.stories.tsx"
],
"rules": {
"no-console": "off"
}
}
]
}