website refactor

This commit is contained in:
2026-01-19 01:24:07 +01:00
parent e1ce3bffd1
commit edc4cd7f21
64 changed files with 1113 additions and 753 deletions

View File

@@ -53,9 +53,9 @@
"lib/builders/view-data/*.tsx"
],
"rules": {
"gridpilot-rules/view-data-builder-contract": "off",
"gridpilot-rules/filename-matches-export": "off",
"gridpilot-rules/single-export-per-file": "off",
"gridpilot-rules/filename-matches-export": "off"
"gridpilot-rules/view-data-builder-contract": "off"
}
},
{
@@ -72,11 +72,11 @@
"lib/mutations/**/*.ts"
],
"rules": {
"gridpilot-rules/mutation-contract": "off",
"gridpilot-rules/mutation-must-use-builders": "off",
"gridpilot-rules/mutation-must-map-errors": "off",
"gridpilot-rules/clean-error-handling": "off",
"gridpilot-rules/filename-service-match": "off",
"gridpilot-rules/clean-error-handling": "off"
"gridpilot-rules/mutation-contract": "off",
"gridpilot-rules/mutation-must-map-errors": "off",
"gridpilot-rules/mutation-must-use-builders": "off"
}
},
{
@@ -84,16 +84,16 @@
"templates/**/*.tsx"
],
"rules": {
"gridpilot-rules/template-no-direct-mutations": "off",
"gridpilot-rules/template-no-side-effects": "off",
"gridpilot-rules/component-no-data-manipulation": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-raw-html-in-app": "off",
"gridpilot-rules/template-no-async-render": "off",
"gridpilot-rules/template-no-direct-mutations": "off",
"gridpilot-rules/template-no-external-state": "off",
"gridpilot-rules/template-no-global-objects": "off",
"gridpilot-rules/template-no-mutation-props": "off",
"gridpilot-rules/template-no-unsafe-html": "off",
"gridpilot-rules/component-no-data-manipulation": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-raw-html-in-app": "off"
"gridpilot-rules/template-no-side-effects": "off",
"gridpilot-rules/template-no-unsafe-html": "off"
}
},
{
@@ -111,33 +111,33 @@
"app/**/layout.tsx"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"gridpilot-rules/component-classification": "off",
"gridpilot-rules/no-console": "off",
"gridpilot-rules/no-direct-process-env": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-hardcoded-search-params": "off",
"gridpilot-rules/no-index-files": "off",
"gridpilot-rules/no-next-cookies-in-pages": "off",
"gridpilot-rules/no-raw-html-in-app": "off",
"gridpilot-rules/rsc-no-container-manager": "off",
"gridpilot-rules/rsc-no-page-data-fetcher": "off",
"gridpilot-rules/rsc-no-view-models": "off",
"gridpilot-rules/rsc-no-presenters": "off",
"gridpilot-rules/rsc-no-intl": "off",
"gridpilot-rules/rsc-no-sorting-filtering": "off",
"gridpilot-rules/rsc-no-display-objects": "off",
"gridpilot-rules/rsc-no-unsafe-services": "off",
"gridpilot-rules/rsc-no-container-manager-calls": "off",
"gridpilot-rules/rsc-no-di": "off",
"gridpilot-rules/rsc-no-display-objects": "off",
"gridpilot-rules/rsc-no-intl": "off",
"gridpilot-rules/rsc-no-local-helpers": "off",
"gridpilot-rules/rsc-no-object-construction": "off",
"gridpilot-rules/rsc-no-container-manager-calls": "off",
"gridpilot-rules/no-hardcoded-search-params": "off",
"gridpilot-rules/no-next-cookies-in-pages": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/component-classification": "off",
"gridpilot-rules/no-raw-html-in-app": "off",
"gridpilot-rules/no-console": "off",
"gridpilot-rules/rsc-no-page-data-fetcher": "off",
"gridpilot-rules/rsc-no-presenters": "off",
"gridpilot-rules/rsc-no-sorting-filtering": "off",
"gridpilot-rules/rsc-no-unsafe-services": "off",
"gridpilot-rules/rsc-no-view-models": "off",
"import/no-default-export": "off",
"no-restricted-syntax": "off",
"react-hooks/exhaustive-deps": "off",
"react-hooks/rules-of-hooks": "off",
"react/no-unescaped-entities": "off",
"gridpilot-rules/no-index-files": "off",
"gridpilot-rules/no-direct-process-env": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off"
"react/no-unescaped-entities": "off"
}
},
{
@@ -149,8 +149,8 @@
"lib/mutations/auth/types/*.ts"
],
"rules": {
"gridpilot-rules/no-direct-process-env": "off",
"gridpilot-rules/clean-error-handling": "off"
"gridpilot-rules/clean-error-handling": "off",
"gridpilot-rules/no-direct-process-env": "off"
}
},
{
@@ -159,10 +159,10 @@
"lib/display-objects/**/*.tsx"
],
"rules": {
"gridpilot-rules/display-no-domain-models": "off",
"gridpilot-rules/display-no-business-logic": "off",
"gridpilot-rules/model-no-domain-in-display": "off",
"gridpilot-rules/filename-display-match": "off"
"gridpilot-rules/display-no-domain-models": "off",
"gridpilot-rules/filename-display-match": "off",
"gridpilot-rules/model-no-domain-in-display": "off"
}
},
{
@@ -170,17 +170,17 @@
"lib/page-queries/**/*.ts"
],
"rules": {
"gridpilot-rules/page-query-no-null-returns": "off",
"gridpilot-rules/page-query-filename": "off",
"gridpilot-rules/clean-error-handling": "off",
"gridpilot-rules/filename-matches-export": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-hardcoded-search-params": "off",
"gridpilot-rules/page-query-contract": "off",
"gridpilot-rules/page-query-execute": "off",
"gridpilot-rules/page-query-return-type": "off",
"gridpilot-rules/page-query-filename": "off",
"gridpilot-rules/page-query-must-use-builders": "off",
"gridpilot-rules/single-export-per-file": "off",
"gridpilot-rules/filename-matches-export": "off",
"gridpilot-rules/clean-error-handling": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-hardcoded-search-params": "off"
"gridpilot-rules/page-query-no-null-returns": "off",
"gridpilot-rules/page-query-return-type": "off",
"gridpilot-rules/single-export-per-file": "off"
}
},
{
@@ -197,11 +197,11 @@
"lib/services/**/*.ts"
],
"rules": {
"gridpilot-rules/services-no-external-api": "off",
"gridpilot-rules/services-must-be-pure": "off",
"gridpilot-rules/filename-service-match": "off",
"gridpilot-rules/services-implement-contract": "off",
"gridpilot-rules/services-must-be-pure": "off",
"gridpilot-rules/services-must-return-result": "off",
"gridpilot-rules/services-implement-contract": "off"
"gridpilot-rules/services-no-external-api": "off"
}
},
{
@@ -210,12 +210,12 @@
"app/**/*.ts"
],
"rules": {
"gridpilot-rules/client-only-no-server-code": "off",
"gridpilot-rules/client-only-must-have-directive": "off",
"gridpilot-rules/server-actions-must-use-mutations": "off",
"gridpilot-rules/server-actions-return-result": "off",
"gridpilot-rules/client-only-no-server-code": "off",
"gridpilot-rules/no-use-mutation-in-client": "off",
"gridpilot-rules/server-actions-interface": "off",
"gridpilot-rules/no-use-mutation-in-client": "off"
"gridpilot-rules/server-actions-must-use-mutations": "off",
"gridpilot-rules/server-actions-return-result": "off"
}
},
{
@@ -223,8 +223,8 @@
"lib/write-boundaries/**/*.ts"
],
"rules": {
"gridpilot-rules/write-boundary-no-direct-mutations": "error",
"gridpilot-rules/write-boundary-must-use-repository": "error"
"gridpilot-rules/write-boundary-must-use-repository": "error",
"gridpilot-rules/write-boundary-no-direct-mutations": "error"
}
},
{
@@ -263,10 +263,10 @@
"app/**/*.ts"
],
"rules": {
"gridpilot-rules/no-raw-html-in-app": "off",
"gridpilot-rules/no-nextjs-imports-in-ui": "off",
"gridpilot-rules/component-classification": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/component-classification": "off"
"gridpilot-rules/no-nextjs-imports-in-ui": "off",
"gridpilot-rules/no-raw-html-in-app": "off"
}
},
{
@@ -276,8 +276,8 @@
],
"rules": {
"gridpilot-rules/no-hardcoded-routes": "error",
"gridpilot-rules/server-actions-return-result": "error",
"gridpilot-rules/server-actions-interface": "error"
"gridpilot-rules/server-actions-interface": "error",
"gridpilot-rules/server-actions-return-result": "error"
}
},
{
@@ -286,9 +286,9 @@
"ui/**/*.ts"
],
"rules": {
"gridpilot-rules/ui-element-purity": "error",
"gridpilot-rules/component-classification": "error",
"gridpilot-rules/no-nextjs-imports-in-ui": "error",
"gridpilot-rules/component-classification": "error"
"gridpilot-rules/ui-element-purity": "error"
}
},
{
@@ -297,11 +297,10 @@
"components/**/*.ts"
],
"rules": {
"gridpilot-rules/no-nextjs-imports-in-ui": "off",
"gridpilot-rules/component-classification": "off",
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/no-nextjs-imports-in-ui": "off",
"gridpilot-rules/no-raw-html-in-app": "error",
"gridpilot-rules/no-generic-ui-primitives-in-components": "error",
"no-restricted-imports": "off"
}
},
@@ -310,8 +309,7 @@
"components/mockups/**/*.tsx"
],
"rules": {
"gridpilot-rules/no-raw-html-in-app": "off",
"gridpilot-rules/no-generic-ui-primitives-in-components": "off"
"gridpilot-rules/no-raw-html-in-app": "off"
}
},
{
@@ -319,11 +317,11 @@
"lib/services/**/*.ts"
],
"rules": {
"gridpilot-rules/no-hardcoded-routes": "off",
"gridpilot-rules/service-function-format": "off",
"gridpilot-rules/services-must-be-pure": "off",
"gridpilot-rules/services-no-external-api": "off",
"gridpilot-rules/services-implement-contract": "off",
"gridpilot-rules/no-hardcoded-routes": "off"
"gridpilot-rules/services-must-be-pure": "off",
"gridpilot-rules/services-no-external-api": "off"
}
},
{
@@ -350,8 +348,8 @@
"off",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"boundaries/element-types": [
@@ -370,6 +368,7 @@
]
}
],
"gridpilot-rules/no-index-files": "off",
"import/no-default-export": "off",
"import/no-named-as-default-member": "off",
"no-restricted-syntax": "off",
@@ -377,8 +376,7 @@
"react-hooks/rules-of-hooks": "off",
"react/no-unescaped-entities": "off",
"unused-imports/no-unused-imports": "off",
"unused-imports/no-unused-vars": "off",
"gridpilot-rules/no-index-files": "off"
"unused-imports/no-unused-vars": "off"
},
"settings": {
"boundaries/elements": [
@@ -393,4 +391,4 @@
"typescript": {}
}
}
}
}