Closed
Description
Detected 2 ESLint reports and/or crashes.
Scanned 4172 repositories.
Rules:
no-namespace
Click to expand
Rule: no-namespace
- Message:
name.indexOf is not a function Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/picktsh/kaikeba/web016/code/node08/egg-server/packages/react/src/__tests__/ReactElementValidator-test.internal.js:240
- Path:
picktsh/kaikeba/web016/code/node08/egg-server/packages/react/src/__tests__/ReactElementValidator-test.internal.js
- Link
238 | React.createElement(undefined);
239 | React.createElement(null);
> 240 | React.createElement(true);
241 | React.createElement({x: 17});
242 | React.createElement({});
243 | React.createElement(React.createElement('div'));
TypeError: name.indexOf is not a function
Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/picktsh/kaikeba/web016/code/node08/egg-server/packages/react/src/__tests__/ReactElementValidator-test.internal.js:240
at CallExpression (/home/runner/work/eslint-plugin-react/eslint-plugin-react/lib/rules/no-namespace.js:43:29)
at /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/linter.js:960:32
at Array.forEach (<anonymous>)
Rule: no-namespace
- Message:
name.indexOf is not a function Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/picktsh/kaikeba/web016/code/react07/react-source/packages/react/src/__tests__/ReactElementValidator-test.internal.js:240
- Path:
picktsh/kaikeba/web016/code/react07/react-source/packages/react/src/__tests__/ReactElementValidator-test.internal.js
- Link
238 | React.createElement(undefined);
239 | React.createElement(null);
> 240 | React.createElement(true);
241 | React.createElement({x: 17});
242 | React.createElement({});
243 | React.createElement(React.createElement('div'));
TypeError: name.indexOf is not a function
Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/picktsh/kaikeba/web016/code/react07/react-source/packages/react/src/__tests__/ReactElementValidator-test.internal.js:240
at CallExpression (/home/runner/work/eslint-plugin-react/eslint-plugin-react/lib/rules/no-namespace.js:43:29)
at /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (/home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint/lib/linter/linter.js:960:32
at Array.forEach (<anonymous>)
Metadata
Metadata
Assignees
Labels
No labels