refactor
This commit is contained in:
@@ -1,9 +1,22 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals",
|
||||
"plugins": ["boundaries"],
|
||||
"rules": {
|
||||
"react/no-unescaped-entities": "off",
|
||||
"@next/next/no-img-element": "warn",
|
||||
"react-hooks/exhaustive-deps": "warn",
|
||||
"@typescript-eslint/no-explicit-any": "error"
|
||||
"@typescript-eslint/no-explicit-any": "error",
|
||||
"boundaries/element-types": [
|
||||
2,
|
||||
{
|
||||
"default": "disallow",
|
||||
"rules": [
|
||||
{
|
||||
"from": ["website"],
|
||||
"allow": ["website"]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -18,20 +18,20 @@
|
||||
"@/lib/*": ["./lib/*"],
|
||||
"@/components/*": ["./components/*"],
|
||||
"@/app/*": ["./app/*"],
|
||||
"@gridpilot/identity": ["../../core/identity/index.ts"],
|
||||
"@gridpilot/identity/*": ["../../core/identity/*"],
|
||||
"@gridpilot/racing": ["../../core/racing/index.ts"],
|
||||
"@gridpilot/racing/*": ["../../core/racing/*"],
|
||||
"@gridpilot/social": ["../../core/social/index.ts"],
|
||||
"@gridpilot/social/*": ["../../core/social/*"],
|
||||
"@gridpilot/testing-support": ["../../core/testing-support/index.ts"],
|
||||
"@gridpilot/testing-support/*": ["../../core/testing-support/*"],
|
||||
"@gridpilot/media": ["../../core/media/index.ts"],
|
||||
"@gridpilot/media/*": ["../../core/media/*"],
|
||||
"@gridpilot/shared/logging": ["../../core/shared/logging"],
|
||||
"@gridpilot/shared/*": ["../../core/shared/*"],
|
||||
"@gridpilot/core/*": ["../../core/*"],
|
||||
"@gridpilot/api/*": ["../../apps/api/src/*"]
|
||||
"@core/identity": ["../../core/identity/index.ts"],
|
||||
"@core/identity/*": ["../../core/identity/*"],
|
||||
"@core/racing": ["../../core/racing/index.ts"],
|
||||
"@core/racing/*": ["../../core/racing/*"],
|
||||
"@core/social": ["../../core/social/index.ts"],
|
||||
"@core/social/*": ["../../core/social/*"],
|
||||
"@core/testing-support": ["../../core/testing-support/index.ts"],
|
||||
"@core/testing-support/*": ["../../core/testing-support/*"],
|
||||
"@core/media": ["../../core/media/index.ts"],
|
||||
"@core/media/*": ["../../core/media/*"],
|
||||
"@core/shared/logging": ["../../core/shared/logging"],
|
||||
"@core/shared/*": ["../../core/shared/*"],
|
||||
"@core/core/*": ["../../core/*"],
|
||||
"@core/api/*": ["../../apps/api/src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||
|
||||
Reference in New Issue
Block a user