website refactor

This commit is contained in:
2026-01-14 13:10:45 +01:00
parent 5451b5b0e9
commit e7887f054f
2 changed files with 51 additions and 9 deletions

View File

@@ -333,6 +333,7 @@ module.exports = {
NewExpression(node) {
if (node.callee.type === 'Identifier' &&
/^[A-Z]/.test(node.callee.name) &&
!node.callee.name.endsWith('PageQuery') &&
!isInComment(node)) {
context.report({
node,