Closed github-actions[bot] closed 2 years ago
Detected 5511 ESLint reports and/or crashes. Scanned 10089 repositories.
Reached maximum result count 50. Showing 50/5511
Rules:
@next/next/no-page-custom-font
Detected 4336 ESLint reports and/or crashes. Scanned 10716 repositories.
Reached maximum result count 50. Showing 50/4336
Rules:
@next/next/no-page-custom-font
Detected 3685 ESLint reports and/or crashes. Scanned 8549 repositories.
Reached maximum result count 50. Showing 50/3685
Rules:
@next/next/no-page-custom-font
Detected 5437 ESLint reports and/or crashes. Scanned 10315 repositories.
Reached maximum result count 50. Showing 50/5437
Rules:
@next/next/no-page-custom-font
Detected 5325 ESLint reports and/or crashes. Scanned 10310 repositories.
Reached maximum result count 50. Showing 50/5325
Rules:
@next/next/no-page-custom-font
Click to expand
## Rule: @next/next/no-page-custom-font - Message: `Cannot read property 'name' of null Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/betagouv/mon-entreprise/site/source/components/utils/useDisplayOnIntersecting.ts:3 Rule: "@next/next/no-page-custom-font"` - Path: `betagouv/mon-entreprise/site/source/components/utils/useDisplayOnIntersecting.ts` - [Link](https://github.com/betagouv/mon-entreprise/blob/HEAD/site/source/components/utils/useDisplayOnIntersecting.ts#L3) ```ts 1 | import { useEffect, useRef, useState } from 'react' 2 | > 3 | export default function ({ 4 | root = null, 5 | rootMargin, 6 | threshold = 0, ``` ``` TypeError: Cannot read property 'name' of null Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/betagouv/mon-entreprise/site/source/components/utils/useDisplayOnIntersecting.ts:3 Rule: "@next/next/no-page-custom-font" at ExportDefaultDeclaration (/github/workspace/ci/node_modules/@next/eslint-plugin-next/lib/rules/no-page-custom-font.js:46:56) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1076:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach (hello {window.hd('hd')}
6 | ); ``` ``` TypeError: Cannot read property 'name' of null Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/alitajs/alita/packages/hd/src/fixtures/custom-hd/src/pages/index.js:3 Rule: "@next/next/no-page-custom-font" at ExportDefaultDeclaration (/github/workspace/ci/node_modules/@next/eslint-plugin-next/lib/rules/no-page-custom-font.js:46:56) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1076:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach (hello hd
6 | ); ``` ``` TypeError: Cannot read property 'name' of null Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/alitajs/alita/packages/hd/src/fixtures/normal/src/pages/index.js:3 Rule: "@next/next/no-page-custom-font" at ExportDefaultDeclaration (/github/workspace/ci/node_modules/@next/eslint-plugin-next/lib/rules/no-page-custom-font.js:46:56) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1076:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach (