website refactor

This commit is contained in:
2026-01-13 00:16:14 +01:00
parent 5ea95eaf51
commit d18e2979ba
17 changed files with 1056 additions and 303 deletions

View File

@@ -105,14 +105,14 @@ module.exports = {
// Report violations
if (hasDirectServiceInstantiation && !hasMutationUsage) {
context.report({
node: null,
node: context.getSourceCode().ast,
messageId: 'mustUseMutations',
});
}
if (hasDirectServiceCall) {
context.report({
node: null,
node: context.getSourceCode().ast,
messageId: 'noDirectService',
});
}
@@ -120,7 +120,7 @@ module.exports = {
// If imports exist but no mutation usage
if ((hasServiceImport || hasApiClientImport) && !hasMutationImport) {
context.report({
node: null,
node: context.getSourceCode().ast,
messageId: 'mustUseMutations',
});
}