From 6546aed482f7210e18b19f198f0c5284119e6148 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Wed, 5 Nov 2025 00:07:30 +0700 Subject: [PATCH] chore: forbid use of `viewbox` in code --- .cspell/code-terms.txt | 2 ++ cypress/helpers/util.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/.cspell/code-terms.txt b/.cspell/code-terms.txt index 8b549f888..5f72ea221 100644 --- a/.cspell/code-terms.txt +++ b/.cspell/code-terms.txt @@ -1,3 +1,5 @@ +!viewbox +# It should be viewBox # This file contains coding related terms ALPHANUM antiscript diff --git a/cypress/helpers/util.ts b/cypress/helpers/util.ts index d02e9da87..0332178f6 100644 --- a/cypress/helpers/util.ts +++ b/cypress/helpers/util.ts @@ -99,6 +99,7 @@ export const openURLAndVerifyRendering = ( cy.visit(url); cy.window().should('have.property', 'rendered', true); cy.get('svg').should('be.visible'); + // cspell:ignore viewbox cy.get('svg').should('not.have.attr', 'viewbox'); if (validation) {