Skip to content

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 in the eslint group #1307

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 in the eslint group

Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 in the eslint group #1307

Triggered via pull request October 14, 2024 03:16
Status Failure
Total duration 1m 45s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
default: examples/CodeBlock.tsx#L11
React Hook "React.useState" is called in function "_CodeBlock" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
default: examples/CodeBlock.tsx#L12
React Hook "React.useEffect" is called in function "_CodeBlock" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
default: examples/CodePenButton.tsx#L25
React Hook "React.useState" is called in function "_CodePenButton" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
default: examples/CodePenButton.tsx#L26
React Hook "React.useEffect" is called in function "_CodePenButton" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
default: examples/CodePenButton.tsx#L56
React Hook "React.useRef" is called in function "_CodePenButton" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
default
Process completed with exit code 1.