Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@jsx pragma checker crashes on a non-pragma comment #3632

Closed
github-actions bot opened this issue Sep 17, 2023 · 27 comments
Closed

@jsx pragma checker crashes on a non-pragma comment #3632

github-actions bot opened this issue Sep 17, 2023 · 27 comments

Comments

@github-actions
Copy link

Detected 1 ESLint reports and/or crashes.
Scanned 5544 repositories.

Rules:

  • unable-to-parse-rule-id
Click to expand

Rule: unable-to-parse-rule-id

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Function.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:870:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1041:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:978:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1331:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1707:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1413:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:1968:29)
@ljharb
Copy link
Member

ljharb commented Sep 17, 2023

This is caused by // Strip @jsx comments, see https://github.com/microsoft/fluentui/issues/29126

Currently the regex is just /@jsx\s+([^\s]+)/. We want to support // @jsx and /** @jsx, which means we have to account for both comment forms and N characters of whitespace.

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 9534 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:910:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1081:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1018:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1370:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1822:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1452:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2083:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 10112 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:910:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1081:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1018:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1370:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1822:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1452:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2083:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 5374 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 5102 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

github-actions bot commented Feb 4, 2024

Detected 1 ESLint reports and/or crashes.
Scanned 5562 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6898 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6394 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

github-actions bot commented Mar 3, 2024

Detected 2 ESLint reports and/or crashes.
Scanned 7637 repositories.

Rules:

  • react/forbid-elements
  • react/boolean-prop-naming
Click to expand

Rule: react/forbid-elements

  • Message: Cannot read properties of undefined (reading 'type') Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/facebook/react/packages/react-devtools-shared/src/__tests__/utils-test.js:120 Rule: "react/forbid-elements"
  • Path: facebook/react/packages/react-devtools-shared/src/__tests__/utils-test.js
  • Link
  118 |     // @reactVersion >= 16.0
  119 |     it('should return Element for null type', () => {
> 120 |       const element = createElement();
  121 |       expect(getDisplayNameForReactElement(element)).toEqual('Element');
  122 |     });
  123 |   });
TypeError: Cannot read properties of undefined (reading 'type')
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/facebook/react/packages/react-devtools-shared/src/__tests__/utils-test.js:120
Rule: "react/forbid-elements"
    at CallExpression (/github/workspace/lib/rules/forbid-elements.js:102:34)
    at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1076:28)
    at /github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/github/workspace/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/github/workspace/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
    at CodePathAnalyzer.enterNode (/github/workspace/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:803:23)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1111:32

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6781 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6948 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6307 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

github-actions bot commented Apr 7, 2024

Detected 1 ESLint reports and/or crashes.
Scanned 7283 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:63:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:284:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Copy link
Author

Detected 1 ESLint reports and/or crashes.
Scanned 6995 repositories.

Rules:

  • react/boolean-prop-naming
Click to expand

Rule: react/boolean-prop-naming

  • Message: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
  • Path: microsoft/fluentui/scripts/tasks/src/swc.ts
  • Link
Error: Error while loading rule 'react/boolean-prop-naming': React pragma comments, is not a valid identifier
Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/scripts/tasks/src/swc.ts
    at Object.getFromContext (/github/workspace/lib/util/pragma.js:65:11)
    at Components.componentRule (/github/workspace/lib/util/Components.js:287:29)
    at createRuleListeners (/github/workspace/node_modules/eslint/lib/linter/linter.js:895:21)
    at /github/workspace/node_modules/eslint/lib/linter/linter.js:1066:110
    at Array.forEach (<anonymous>)
    at runRules (/github/workspace/node_modules/eslint/lib/linter/linter.js:1003:34)
    at Linter._verifyWithoutProcessors (/github/workspace/node_modules/eslint/lib/linter/linter.js:1355:31)
    at Linter._verifyWithConfigArray (/github/workspace/node_modules/eslint/lib/linter/linter.js:1807:21)
    at Linter.verify (/github/workspace/node_modules/eslint/lib/linter/linter.js:1437:65)
    at Linter.verifyAndFix (/github/workspace/node_modules/eslint/lib/linter/linter.js:2068:29)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants