website refactor

This commit is contained in:
2026-01-12 14:52:04 +01:00
parent e3e451d959
commit 48957bfc56
13 changed files with 82 additions and 42 deletions

View File

@@ -14,7 +14,7 @@ module.exports = {
category: 'Services',
},
messages: {
message: 'Services must be explicitly marked with @server-safe or @client-only comment',
message: 'Services must be explicitly marked with @server-safe or @client-only comment - see apps/website/lib/contracts/services/Service.ts',
},
},
create(context) {
@@ -49,7 +49,7 @@ module.exports = {
category: 'Services',
},
messages: {
message: 'External API calls must be in adapters, not services',
message: 'External API calls must be in adapters, not services - see apps/website/lib/contracts/services/Service.ts',
},
},
create(context) {
@@ -96,7 +96,7 @@ module.exports = {
category: 'Services',
},
messages: {
message: 'Services must be pure functions, no side effects allowed',
message: 'Services must be pure functions, no side effects allowed - see apps/website/lib/contracts/services/Service.ts',
},
},
create(context) {