Skip to content

Commit

Permalink
Ready!
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Nov 30, 2024
1 parent 8906bac commit 1fe894a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ module.exports = {
/**
* react
*/
"react/no-string-refs": "off", // on in recommended, but #legacy-code
"react/no-find-dom-node": "off", // on in recommended, but #legacy-code
"react/display-name": "off", // on in recommended, but we have many components that don't have a displayName
"react/no-unescaped-entities": "off", // on in recommended, but #legacy-code
"react/no-string-refs": "off", // on in react/recommended, but we have #legacy-code
"react/no-find-dom-node": "off", // on in react/recommended, but we have #legacy-code
"react/display-name": "off", // on in react/recommended, but doesn't seem that useful to fix
"react/no-unescaped-entities": "off", // on in react/recommended, but we have #legacy-code
// This rule results in false-positives when using some types of React
// components (such as functional components or hooks). Since
// TypeScript is already checking that components are only using props
Expand Down
4 changes: 2 additions & 2 deletions testing/ke-score-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Props = {
score: KEScore | null | undefined;
};

export default ({score}: Props): React.ReactElement | null => {
export default function KEScoreUI({score}: Props) {
if (score == null) {
return null;
}
Expand Down Expand Up @@ -46,4 +46,4 @@ export default ({score}: Props): React.ReactElement | null => {
/>
</>
);
};
}

0 comments on commit 1fe894a

Please sign in to comment.