From f6913cc73d03c3b6e299db436f40d15414206fa9 Mon Sep 17 00:00:00 2001 From: Kyle Holmberg Date: Sun, 22 Mar 2026 17:29:22 +0700 Subject: [PATCH 01/21] use unescaped entities --- .eslintrc.js | 1 + .../Branding/LogoSection/LogoSection.tsx | 8 +++--- components/ErrorDisplay/ErrorDisplay.tsx | 22 +++++----------- .../Form/Input/__stories__/Input.stories.tsx | 2 +- .../__stories__/SelectMulti.stories.tsx | 2 +- .../__stories__/SelectSingle.stories.tsx | 2 +- .../RegistrationForm/RegistrationForm.tsx | 4 +-- .../__stories__/ProgressIndicator.stories.tsx | 10 +++---- .../SocialMediaItem/SocialMediaItem.tsx | 2 +- .../__snapshots__/Timeline.test.tsx.snap | 6 ++--- components/Timeline/historyData.tsx | 26 +++++++++---------- 11 files changed, 39 insertions(+), 46 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index d28a32e08..51086d3f4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -77,6 +77,7 @@ module.exports = { 'react/jsx-curly-brace-presence': ['error', { props: 'never', children: 'never' }], 'react/jsx-filename-extension': ['error', { extensions: ['.js', '.tsx'] }], 'react/jsx-max-props-per-line': ['error', { maximum: 1, when: 'multiline' }], + 'react/no-unescaped-entities': 'off', 'react/jsx-no-target-blank': 'off', // browsers protect against this vulnerability now 'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }], 'react/jsx-one-expression-per-line': 'off', diff --git a/components/Branding/LogoSection/LogoSection.tsx b/components/Branding/LogoSection/LogoSection.tsx index e4ec6622f..6d51f99e0 100644 --- a/components/Branding/LogoSection/LogoSection.tsx +++ b/components/Branding/LogoSection/LogoSection.tsx @@ -42,10 +42,10 @@ function LogoSection() {
  • Small Logos

    - For use when Operation Code's logo name is between 0-1 inch in height. In most - cases, use the Original Small Logo. The Stacked Small Logo is to be used where - graphics needs are larger in vertical height than horizontal width with the Operation - Code logo name still under 1 inch in height. + For use when Operation Code's logo name is between 0-1 inch in height. In most cases, + use the Original Small Logo. The Stacked Small Logo is to be used where graphics needs + are larger in vertical height than horizontal width with the Operation Code logo name + still under 1 inch in height.