Skip to content

Commit

Permalink
Use double quotes in the same line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
victorlin committed Nov 16, 2024
1 parent 5503367 commit f80ae99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static-site/src/components/ListResources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
}
Expand Down

0 comments on commit f80ae99

Please sign in to comment.