Bump eslint-plugin-react-hooks from 4.6.2 to 5.0.0 in the eslint group #1307
node.js.yml
on: pull_request
default
32s
react-18
1m 28s
react-18-1
1m 34s
react-18-2
1m 29s
react-18-3
1m 26s
codecov
1m 23s
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.
|