revert Gatsby 5 changes #1121
validate_pr.yml
on: pull_request
Run Tests
2m 12s
Run Eslint
1m 42s
Annotations
5 errors and 1 warning
Run Eslint:
packages/gatsby-theme-newrelic/src/components/Portal.js#L1
'useState' is defined but never used. Allowed unused vars must match /^_/u
|
Run Eslint:
packages/gatsby-theme-newrelic/src/components/Terminal/machine.test.mjs#L8
'test' is not defined
|
Run Eslint:
packages/gatsby-theme-newrelic/src/components/Terminal/machine.test.mjs#L34
'expect' is not defined
|
Run Eslint:
packages/gatsby-theme-newrelic/src/components/Terminal/machine.test.mjs#L35
'expect' is not defined
|
Run Eslint
Process completed with exit code 1.
|
Run Eslint:
packages/gatsby-theme-newrelic/src/components/Portal.js#L16
React Hook useEffect has an unnecessary dependency: 'root'. Either exclude it or remove the dependency array. Outer scope values like 'root' aren't valid dependencies because mutating them doesn't re-render the component
|