From f80ae99aac9a6e83cd338c1b9d719ce4e97f905c Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Fri, 15 Nov 2024 19:36:24 -0800 Subject: [PATCH] Use double quotes in the same line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For consistency. If there was an ESLint rule for consistency within the same line, I would consider turning it on. But I don't think such a rule exists. The closest is jsx-quotes¹ which is too opinionated and would change lots of code that is working just fine. ¹ <https://eslint.org/docs/latest/rules/jsx-quotes> --- static-site/src/components/ListResources/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static-site/src/components/ListResources/index.tsx b/static-site/src/components/ListResources/index.tsx index da3e0f86a..709bae95b 100644 --- a/static-site/src/components/ListResources/index.tsx +++ b/static-site/src/components/ListResources/index.tsx @@ -58,7 +58,7 @@ function ListResources({ <ErrorContainer> {"Whoops - listing resources isn't working!"} <br/> - {'Please '}<a href="/contact" style={{fontWeight: 300}}>get in touch</a>{" if this keeps happening"} + {"Please "}<a href="/contact" style={{fontWeight: 300}}>get in touch</a>{" if this keeps happening"} </ErrorContainer> ) }