AriPerkkio / eslint-remote-tester

CLI tool for testing given ESlint rules against multiple repositories at once.
https://www.npmjs.com/package/eslint-remote-tester
129 stars 10 forks source link

Weekly scheduled smoke test: eslint-plugin-react #29

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

Detected 28 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :51` - Path: `s1seven/verification-service/frontend/src/test/components/Components/Verification.test.tsx` - [Link](https://github.com/s1seven/verification-service/blob/HEAD/frontend/src/test/components/Components/Verification.test.tsx#L51) ```tsx 49 | })); 50 | wrapper = mount( > 51 | 52 | 53 | 54 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :51 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :56` - Path: `frontegg/opensaas/frontend/src/Components/NotificationContext.tsx` - [Link](https://github.com/frontegg/opensaas/blob/HEAD/frontend/src/Components/NotificationContext.tsx#L56) ```tsx 54 | }; 55 | > 56 | return ; 57 | }; 58 | 59 | export { NotificationContext, NotificationContextProvider }; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :56 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :149` - Path: `WojciechMatuszewski/PartyPlanner/src/__tests__/ChatsMenu.test.tsx` - [Link](https://github.com/WojciechMatuszewski/PartyPlanner/blob/HEAD/src/__tests__/ChatsMenu.test.tsx#L149) ```tsx 147 | 148 | > 149 | 150 | 151 | 152 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :149 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `MaxKalashnyk/apollo-ts-test-app/src/contexts/Login/Login.tsx` - [Link](https://github.com/MaxKalashnyk/apollo-ts-test-app/blob/HEAD/src/contexts/Login/Login.tsx#L35) ```tsx 33 | 34 | return ( > 35 | 36 | 37 | {children} 38 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :48` - Path: `leonardodino/forex-web-app/src/hooks/pockets.tsx` - [Link](https://github.com/leonardodino/forex-web-app/blob/HEAD/src/hooks/pockets.tsx#L48) ```tsx 46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init) 47 | return ( > 48 | void}> 49 | {children} 50 | 51 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :48 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :69` - Path: `mlaursen/react-md/packages/alert/src/MessageQueue.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/alert/src/MessageQueue.tsx#L69) ```tsx 67 | 68 | return ( > 69 | }> 70 | 71 | 72 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :69 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :145` - Path: `mlaursen/react-md/packages/app-bar/src/AppBar.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/AppBar.tsx#L145) ```tsx 143 | 144 | return ( > 145 | 146 | 147 | :145 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :19` - Path: `mlaursen/react-md/packages/app-bar/src/__tests__/useInheritContext.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/__tests__/useInheritContext.tsx#L19) ```tsx 17 | 18 | const Context: FC = ({ children }) => ( > 19 | {children} 20 | ); 21 | 22 | const Test1 = () => { ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :19 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :30` - Path: `Menchynskyi/chuck-joke/src/components/JokeList/JokeList.test.tsx` - [Link](https://github.com/Menchynskyi/chuck-joke/blob/HEAD/src/components/JokeList/JokeList.test.tsx#L30) ```tsx 28 | const wrapper = mount( 29 | > 30 | 31 | 32 | 33 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :30 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :28` - Path: `jamesknelson/react-routing-library/src/components/routingProvider.tsx` - [Link](https://github.com/jamesknelson/react-routing-library/blob/HEAD/src/components/routingProvider.tsx#L28) ```tsx 26 | request={output.request} 27 | pendingRequest={output.pendingRequest}> > 28 | 29 | {children === undefined ? : children} 30 | 31 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :28 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:52:32) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :36` - Path: `ElectronicBabylonianLiterature/ebl-frontend/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx` - [Link](https://github.com/ElectronicBabylonianLiterature/ebl-frontend/blob/HEAD/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx#L36) ```tsx 34 | render( 35 | > 36 | 37 | :36 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :140` - Path: `rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx` - [Link](https://github.com/rishavanand/github-profilinator/blob/HEAD/src/context/GlobalContextProvider.tsx#L140) ```tsx 138 | }; 139 | > 140 | return {props.children}; 141 | }; 142 | 143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => {element}; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :140 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :19` - Path: `ptnewman99/forms/src/useFormContext.tsx` - [Link](https://github.com/ptnewman99/forms/blob/HEAD/src/useFormContext.tsx#L19) ```tsx 17 | return React.useMemo( 18 | () => ( > 19 | 20 | {children} 21 | 22 | ), ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :19 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :22` - Path: `Devorein/Qocean/client/src/components/Modal/WarnModal.jsx` - [Link](https://github.com/Devorein/Qocean/blob/HEAD/client/src/components/Modal/WarnModal.jsx#L22) ```jsx 20 | 21 | > 22 | 23 |
{children}
24 |
25 |
github-actions[bot] commented 3 years ago

Detected 29 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `liontechnyc/Gemini/src/Modal/Modal.tsx` - [Link](https://github.com/liontechnyc/Gemini/blob/HEAD/src/Modal/Modal.tsx#L23) ```tsx 21 | return ( 22 | <> > 23 | {children} 24 |
25 | 26 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :99` - Path: `fluent-org/fluent-windows/packages/fluent-windows/src/Command/Command.tsx` - [Link](https://github.com/fluent-org/fluent-windows/blob/HEAD/packages/fluent-windows/src/Command/Command.tsx#L99) ```tsx 97 | {...otherProps} 98 | > > 99 | 100 | {!!container.content.length &&
{container.content}
} 101 |
102 | {_reveal ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :99 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :31` - Path: `richchurcher/greencards/src/components/Answer.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Answer.test.tsx#L31) ```tsx 29 | const setReveal = (val: boolean) => (reveal = val); 30 | const { rerender } = render( > 31 | 32 | 33 | 34 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :31 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :16` - Path: `richchurcher/greencards/src/components/CategorySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/CategorySelector.test.tsx#L16) ```tsx 14 | const mockStore = { categoryId: 1 }; 15 | render( > 16 | 17 | 18 | 19 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :16 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/DifficultySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/DifficultySelector.test.tsx#L11) ```tsx 9 | const mockStore = { difficulty: "easy" }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :38` - Path: `richchurcher/greencards/src/components/Done.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Done.test.tsx#L38) ```tsx 36 | const stop = jest.fn(); 37 | render( > 38 | 39 | 40 | 41 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :38 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/QuantitySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/QuantitySelector.test.tsx#L11) ```tsx 9 | const mockStore = { quantity: 0 }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :32` - Path: `richchurcher/greencards/src/components/Question.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Question.test.tsx#L32) ```tsx 30 | test("shows utf8 question from base64 source", async () => { 31 | render( > 32 | 33 | 34 | 35 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :32 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :43` - Path: `richchurcher/greencards/src/hooks/useQuestions.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/hooks/useQuestions.test.tsx#L43) ```tsx 41 | const hookWrapper = (mockStore: any): FC => ({ children }) => { 42 | return ( > 43 | 44 | {children} 45 | 46 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :43 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :30` - Path: `Menchynskyi/chuck-joke/src/components/JokeList/JokeList.test.tsx` - [Link](https://github.com/Menchynskyi/chuck-joke/blob/HEAD/src/components/JokeList/JokeList.test.tsx#L30) ```tsx 28 | const wrapper = mount( 29 | > 30 | 31 | 32 | 33 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :30 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :19` - Path: `ptnewman99/forms/src/useFormContext.tsx` - [Link](https://github.com/ptnewman99/forms/blob/HEAD/src/useFormContext.tsx#L19) ```tsx 17 | return React.useMemo( 18 | () => ( > 19 | 20 | {children} 21 | 22 | ), ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :19 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :69` - Path: `mlaursen/react-md/packages/alert/src/MessageQueue.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/alert/src/MessageQueue.tsx#L69) ```tsx 67 | 68 | return ( > 69 | }> 70 | 71 | 72 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :69 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :145` - Path: `mlaursen/react-md/packages/app-bar/src/AppBar.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/AppBar.tsx#L145) ```tsx 143 | 144 | return ( > 145 | 146 | 147 | :145 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :19` - Path: `mlaursen/react-md/packages/app-bar/src/__tests__/useInheritContext.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/__tests__/useInheritContext.tsx#L19) ```tsx 17 | 18 | const Context: FC = ({ children }) => ( > 19 | {children} 20 | ); 21 | 22 | const Test1 = () => { ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :19 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :36` - Path: `ElectronicBabylonianLiterature/ebl-frontend/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx` - [Link](https://github.com/ElectronicBabylonianLiterature/ebl-frontend/blob/HEAD/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx#L36) ```tsx 34 | render( 35 | > 36 | 37 | :36 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :105` - Path: `commercelayer/commercelayer-react-components/src/components/OrderContainer.tsx` - [Link](https://github.com/commercelayer/commercelayer-react-components/blob/HEAD/src/components/OrderContainer.tsx#L105) ```tsx 103 | } 104 | return ( > 105 | 106 | {children} 107 | 108 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :105 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :56` - Path: `frontegg/opensaas/frontend/src/Components/NotificationContext.tsx` - [Link](https://github.com/frontegg/opensaas/blob/HEAD/frontend/src/Components/NotificationContext.tsx#L56) ```tsx 54 | }; 55 | > 56 | return ; 57 | }; 58 | 59 | export { NotificationContext, NotificationContextProvider }; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :56 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :142` - Path: `Shopify/polaris-react/src/components/Banner/Banner.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/Banner.tsx#L142) ```tsx 140 | 141 | return ( > 142 | 143 |
:142 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :182` - Path: `Shopify/polaris-react/src/components/Banner/tests/Banner.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/tests/Banner.test.tsx#L182) ```tsx 180 | 181 | const bannerWithContentContext = mountWithAppProvider( > 182 | 183 | :182 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :121` - Path: `Shopify/polaris-react/src/components/Card/Card.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Card/Card.tsx#L121) ```tsx 119 | 120 | return ( > 121 | 122 |
123 | {headerMarkup} 124 | {content} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :121 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :47` - Path: `Shopify/polaris-react/src/components/EmptyState/tests/EmptyState.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/EmptyState/tests/EmptyState.test.tsx#L47) ```tsx 45 | it('renders a medium button when in a content context', () => { 46 | const emptyStateInContentContext = mountWithAppProvider( > 47 | 48 | 49 | , 50 | ); ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :47 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :437` - Path: `Shopify/polaris-react/src/components/Filters/Filters.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Filters/Filters.tsx#L437) ```tsx 435 | 436 | return ( > 437 | 438 |
439 | {filtersControlMarkup} 440 | {filtersContainerMarkup} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :437 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :201` - Path: `Shopify/polaris-react/src/components/Modal/Modal.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Modal/Modal.tsx#L201) ```tsx 199 | 200 | return ( > 201 | 202 | {activatorMarkup} 203 | 204 | ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :201 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :63` - Path: `Shopify/polaris-react/src/components/Navigation/Navigation.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Navigation/Navigation.tsx#L63) ```tsx 61 | return ( 62 | > 63 | 64 |
github-actions[bot] commented 3 years ago

Detected 22 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :140` - Path: `rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx` - [Link](https://github.com/rishavanand/github-profilinator/blob/HEAD/src/context/GlobalContextProvider.tsx#L140) ```tsx 138 | }; 139 | > 140 | return {props.children}; 141 | }; 142 | 143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => {element}; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :140 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :650` - Path: `pmndrs/react-three-fiber/src/canvas.tsx` - [Link](https://github.com/pmndrs/react-three-fiber/blob/HEAD/src/canvas.tsx#L650) ```tsx 648 | render( 649 | > 650 | 651 | {typeof children === 'function' ? children(state.current) : children} 652 | 653 | , ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :650 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :48` - Path: `leonardodino/forex-web-app/src/hooks/pockets.tsx` - [Link](https://github.com/leonardodino/forex-web-app/blob/HEAD/src/hooks/pockets.tsx#L48) ```tsx 46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init) 47 | return ( > 48 | void}> 49 | {children} 50 | 51 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :48 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `MaxKalashnyk/apollo-ts-test-app/src/contexts/Login/Login.tsx` - [Link](https://github.com/MaxKalashnyk/apollo-ts-test-app/blob/HEAD/src/contexts/Login/Login.tsx#L35) ```tsx 33 | 34 | return ( > 35 | 36 | 37 | {children} 38 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :22` - Path: `Devorein/Qocean/client/src/components/Modal/WarnModal.jsx` - [Link](https://github.com/Devorein/Qocean/blob/HEAD/client/src/components/Modal/WarnModal.jsx#L22) ```jsx 20 | 21 | > 22 | 23 |
{children}
24 |
25 |
github-actions[bot] commented 3 years ago

Detected 18 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :31` - Path: `richchurcher/greencards/src/components/Answer.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Answer.test.tsx#L31) ```tsx 29 | const setReveal = (val: boolean) => (reveal = val); 30 | const { rerender } = render( > 31 | 32 | 33 | 34 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :31 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :16` - Path: `richchurcher/greencards/src/components/CategorySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/CategorySelector.test.tsx#L16) ```tsx 14 | const mockStore = { categoryId: 1 }; 15 | render( > 16 | 17 | 18 | 19 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :16 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/DifficultySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/DifficultySelector.test.tsx#L11) ```tsx 9 | const mockStore = { difficulty: "easy" }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :38` - Path: `richchurcher/greencards/src/components/Done.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Done.test.tsx#L38) ```tsx 36 | const stop = jest.fn(); 37 | render( > 38 | 39 | 40 | 41 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :38 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/QuantitySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/QuantitySelector.test.tsx#L11) ```tsx 9 | const mockStore = { quantity: 0 }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :32` - Path: `richchurcher/greencards/src/components/Question.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Question.test.tsx#L32) ```tsx 30 | test("shows utf8 question from base64 source", async () => { 31 | render( > 32 | 33 | 34 | 35 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :32 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :43` - Path: `richchurcher/greencards/src/hooks/useQuestions.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/hooks/useQuestions.test.tsx#L43) ```tsx 41 | const hookWrapper = (mockStore: any): FC => ({ children }) => { 42 | return ( > 43 | 44 | {children} 45 | 46 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :43 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :25` - Path: `XimalayaCloud/award/packages/award-render/src/render/app/index.tsx` - [Link](https://github.com/XimalayaCloud/award/blob/HEAD/packages/award-render/src/render/app/index.tsx#L25) ```tsx 23 | } 24 | return () => ( > 25 | 26 | ctx.award.modules.push(moduleName)}> 27 | 28 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :25 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:82:15) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `liontechnyc/Gemini/src/Modal/Modal.tsx` - [Link](https://github.com/liontechnyc/Gemini/blob/HEAD/src/Modal/Modal.tsx#L23) ```tsx 21 | return ( 22 | <> > 23 | {children} 24 |
25 | 26 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :36` - Path: `ElectronicBabylonianLiterature/ebl-frontend/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx` - [Link](https://github.com/ElectronicBabylonianLiterature/ebl-frontend/blob/HEAD/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx#L36) ```tsx 34 | render( 35 | > 36 | 37 | :36 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :650` - Path: `pmndrs/react-three-fiber/src/canvas.tsx` - [Link](https://github.com/pmndrs/react-three-fiber/blob/HEAD/src/canvas.tsx#L650) ```tsx 648 | render( 649 | > 650 | 651 | {typeof children === 'function' ? children(state.current) : children} 652 | 653 | , ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :650 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :56` - Path: `frontegg/opensaas/frontend/src/Components/NotificationContext.tsx` - [Link](https://github.com/frontegg/opensaas/blob/HEAD/frontend/src/Components/NotificationContext.tsx#L56) ```tsx 54 | }; 55 | > 56 | return ; 57 | }; 58 | 59 | export { NotificationContext, NotificationContextProvider }; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :56 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :444` - Path: `cognitedata/griff-react/src/components/Scaler/index.tsx` - [Link](https://github.com/cognitedata/griff-react/blob/HEAD/src/components/Scaler/index.tsx#L444) ```tsx 442 | 443 | return ( > 444 | 445 | {children} 446 | 447 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :444 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :193` - Path: `pmndrs/use-cannon/src/Provider.tsx` - [Link](https://github.com/pmndrs/use-cannon/blob/HEAD/src/Provider.tsx#L193) ```tsx 191 | subscriptions, 192 | ]) > 193 | return {children} 194 | } 195 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :193 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :140` - Path: `rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx` - [Link](https://github.com/rishavanand/github-profilinator/blob/HEAD/src/context/GlobalContextProvider.tsx#L140) ```tsx 138 | }; 139 | > 140 | return {props.children}; 141 | }; 142 | 143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => {element}; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :140 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :19` - Path: `ptnewman99/forms/src/useFormContext.tsx` - [Link](https://github.com/ptnewman99/forms/blob/HEAD/src/useFormContext.tsx#L19) ```tsx 17 | return React.useMemo( 18 | () => ( > 19 | 20 | {children} 21 | 22 | ), ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :19 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :28` - Path: `jamesknelson/react-routing-library/src/components/routingProvider.tsx` - [Link](https://github.com/jamesknelson/react-routing-library/blob/HEAD/src/components/routingProvider.tsx#L28) ```tsx 26 | request={output.request} 27 | pendingRequest={output.pendingRequest}> > 28 | 29 | {children === undefined ? : children} 30 | 31 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :28 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:52:32) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :149` - Path: `WojciechMatuszewski/PartyPlanner/src/__tests__/ChatsMenu.test.tsx` - [Link](https://github.com/WojciechMatuszewski/PartyPlanner/blob/HEAD/src/__tests__/ChatsMenu.test.tsx#L149) ```tsx 147 | 148 | > 149 | 150 | 151 | 152 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :149 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ```
github-actions[bot] commented 3 years ago

Detected 41 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :28` - Path: `jamesknelson/react-routing-library/src/components/routingProvider.tsx` - [Link](https://github.com/jamesknelson/react-routing-library/blob/HEAD/src/components/routingProvider.tsx#L28) ```tsx 26 | request={output.request} 27 | pendingRequest={output.pendingRequest}> > 28 | 29 | {children === undefined ? : children} 30 | 31 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :28 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:52:32) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :149` - Path: `WojciechMatuszewski/PartyPlanner/src/__tests__/ChatsMenu.test.tsx` - [Link](https://github.com/WojciechMatuszewski/PartyPlanner/blob/HEAD/src/__tests__/ChatsMenu.test.tsx#L149) ```tsx 147 | 148 | > 149 | 150 | 151 | 152 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :149 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :31` - Path: `richchurcher/greencards/src/components/Answer.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Answer.test.tsx#L31) ```tsx 29 | const setReveal = (val: boolean) => (reveal = val); 30 | const { rerender } = render( > 31 | 32 | 33 | 34 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :31 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :16` - Path: `richchurcher/greencards/src/components/CategorySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/CategorySelector.test.tsx#L16) ```tsx 14 | const mockStore = { categoryId: 1 }; 15 | render( > 16 | 17 | 18 | 19 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :16 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/DifficultySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/DifficultySelector.test.tsx#L11) ```tsx 9 | const mockStore = { difficulty: "easy" }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :38` - Path: `richchurcher/greencards/src/components/Done.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Done.test.tsx#L38) ```tsx 36 | const stop = jest.fn(); 37 | render( > 38 | 39 | 40 | 41 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :38 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :11` - Path: `richchurcher/greencards/src/components/QuantitySelector.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/QuantitySelector.test.tsx#L11) ```tsx 9 | const mockStore = { quantity: 0 }; 10 | render( > 11 | 12 | 13 | 14 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :11 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :32` - Path: `richchurcher/greencards/src/components/Question.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/components/Question.test.tsx#L32) ```tsx 30 | test("shows utf8 question from base64 source", async () => { 31 | render( > 32 | 33 | 34 | 35 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :32 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :43` - Path: `richchurcher/greencards/src/hooks/useQuestions.test.tsx` - [Link](https://github.com/richchurcher/greencards/blob/HEAD/src/hooks/useQuestions.test.tsx#L43) ```tsx 41 | const hookWrapper = (mockStore: any): FC => ({ children }) => { 42 | return ( > 43 | 44 | {children} 45 | 46 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :43 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :69` - Path: `mlaursen/react-md/packages/alert/src/MessageQueue.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/alert/src/MessageQueue.tsx#L69) ```tsx 67 | 68 | return ( > 69 | }> 70 | 71 | 72 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :69 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :145` - Path: `mlaursen/react-md/packages/app-bar/src/AppBar.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/AppBar.tsx#L145) ```tsx 143 | 144 | return ( > 145 | 146 | 147 | :145 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :19` - Path: `mlaursen/react-md/packages/app-bar/src/__tests__/useInheritContext.tsx` - [Link](https://github.com/mlaursen/react-md/blob/HEAD/packages/app-bar/src/__tests__/useInheritContext.tsx#L19) ```tsx 17 | 18 | const Context: FC = ({ children }) => ( > 19 | {children} 20 | ); 21 | 22 | const Test1 = () => { ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :19 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :108` - Path: `commercelayer/commercelayer-react-components/src/components/OrderContainer.tsx` - [Link](https://github.com/commercelayer/commercelayer-react-components/blob/HEAD/src/components/OrderContainer.tsx#L108) ```tsx 106 | } 107 | return ( > 108 | 109 | {children} 110 | 111 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :108 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :25` - Path: `XimalayaCloud/award/packages/award-render/src/render/app/index.tsx` - [Link](https://github.com/XimalayaCloud/award/blob/HEAD/packages/award-render/src/render/app/index.tsx#L25) ```tsx 23 | } 24 | return () => ( > 25 | 26 | ctx.award.modules.push(moduleName)}> 27 | 28 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :25 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:82:15) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :140` - Path: `rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx` - [Link](https://github.com/rishavanand/github-profilinator/blob/HEAD/src/context/GlobalContextProvider.tsx#L140) ```tsx 138 | }; 139 | > 140 | return {props.children}; 141 | }; 142 | 143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => {element}; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :140 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: forbid-component-props - Message: `Cannot read property 'toUpperCase' of undefined Occurred while linting :83` - Path: `facebookincubator/fbc-js-core/fbcnms-packages/fbcnms-ui/components/design-system/Experimental/FilesUploadSnackbar.js` - [Link](https://github.com/facebookincubator/fbc-js-core/blob/HEAD/fbcnms-packages/fbcnms-ui/components/design-system/Experimental/FilesUploadSnackbar.js#L83) ```js 81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? ( 82 | > 83 | 84 | {files.length} 85 | 86 | Uploads Complete ``` ``` TypeError: Cannot read property 'toUpperCase' of undefined Occurred while linting :83 at JSXAttribute (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js:85:68) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :51` - Path: `s1seven/verification-service/frontend/src/test/components/Components/Verification.test.tsx` - [Link](https://github.com/s1seven/verification-service/blob/HEAD/frontend/src/test/components/Components/Verification.test.tsx#L51) ```tsx 49 | })); 50 | wrapper = mount( > 51 | 52 | 53 | 54 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :51 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :56` - Path: `frontegg/opensaas/frontend/src/Components/NotificationContext.tsx` - [Link](https://github.com/frontegg/opensaas/blob/HEAD/frontend/src/Components/NotificationContext.tsx#L56) ```tsx 54 | }; 55 | > 56 | return ; 57 | }; 58 | 59 | export { NotificationContext, NotificationContextProvider }; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :56 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :444` - Path: `cognitedata/griff-react/src/components/Scaler/index.tsx` - [Link](https://github.com/cognitedata/griff-react/blob/HEAD/src/components/Scaler/index.tsx#L444) ```tsx 442 | 443 | return ( > 444 | 445 | {children} 446 | 447 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :444 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :99` - Path: `fluent-org/fluent-windows/packages/fluent-windows/src/Command/Command.tsx` - [Link](https://github.com/fluent-org/fluent-windows/blob/HEAD/packages/fluent-windows/src/Command/Command.tsx#L99) ```tsx 97 | {...otherProps} 98 | > > 99 | 100 | {!!container.content.length &&
{container.content}
} 101 |
102 | {_reveal ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :99 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :42` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/edit-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/edit-dialog-body.test.tsx#L42) ```tsx 40 | await act(async () => { 41 | wrapper = mount( > 42 | 43 | 44 | 45 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :42 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/event.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/event.test.tsx#L35) ```tsx 33 | await act(async () => { 34 | wrapper = mount( > 35 | 36 | 37 | 38 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :37` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/mainpanel.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/mainpanel.test.tsx#L37) ```tsx 35 | wrapper = mount( 36 | > 37 | 38 | 39 | 40 | , ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :37 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :42` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/new-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/new-dialog-body.test.tsx#L42) ```tsx 40 | await act(async () => { 41 | wrapper = mount( > 42 | 43 | 44 | 45 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :42 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :59` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/view-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/view-dialog-body.test.tsx#L59) ```tsx 57 | await act(async () => { 58 | wrapper = mount( > 59 | 60 | 61 | 62 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :59 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :31` - Path: `SenseNet/sn-client/examples/sn-react-imagegallery/test/app.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imagegallery/test/app.test.tsx#L31) ```tsx 29 | await act(async () => { 30 | wrapper = mount( > 31 | 32 | 33 | , 34 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :31 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :68` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/DropFileArea.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/DropFileArea.test.tsx#L68) ```tsx 66 | 67 | const wrapper = mount( > 68 | 69 | 70 | , 71 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :68 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/UploadControll.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/UploadControll.test.tsx#L23) ```tsx 21 | } 22 | const wrapper = mount( > 23 | 24 | 25 | , 26 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :24` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/app.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/app.test.tsx#L24) ```tsx 22 | await act(async () => { 23 | wrapper = mount( > 24 | 25 | 26 | , 27 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :24 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `SenseNet/sn-client/examples/sn-react-usersearch/test/user-search.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-usersearch/test/user-search.test.tsx#L35) ```tsx 33 | await act(async () => { 34 | wrapper = mount( > 35 | 36 | 37 | , 38 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :108` - Path: `SenseNet/sn-client/packages/sn-hooks-react/src/context/current-content.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/packages/sn-hooks-react/src/context/current-content.tsx#L108) ```tsx 106 | 107 | return ( > 108 | {props.children} 109 | ) 110 | } 111 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :108 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :101` - Path: `SenseNet/sn-client/packages/sn-hooks-react/test/current-children.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/packages/sn-hooks-react/test/current-children.test.tsx#L101) ```tsx 99 | await act(async () => { 100 | wrapper = mount( > 101 | 102 | 103 | 104 | {(value) => ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :101 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `liontechnyc/Gemini/src/Modal/Modal.tsx` - [Link](https://github.com/liontechnyc/Gemini/blob/HEAD/src/Modal/Modal.tsx#L23) ```tsx 21 | return ( 22 | <> > 23 | {children} 24 |
25 | 26 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :142` - Path: `Shopify/polaris-react/src/components/Banner/Banner.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/Banner.tsx#L142) ```tsx 140 | 141 | return ( > 142 | 143 |
:142 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :182` - Path: `Shopify/polaris-react/src/components/Banner/tests/Banner.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/tests/Banner.test.tsx#L182) ```tsx 180 | 181 | const bannerWithContentContext = mountWithAppProvider( > 182 | 183 | :182 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :121` - Path: `Shopify/polaris-react/src/components/Card/Card.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Card/Card.tsx#L121) ```tsx 119 | 120 | return ( > 121 | 122 |
123 | {headerMarkup} 124 | {content} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :121 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :47` - Path: `Shopify/polaris-react/src/components/EmptyState/tests/EmptyState.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/EmptyState/tests/EmptyState.test.tsx#L47) ```tsx 45 | it('renders a medium button when in a content context', () => { 46 | const emptyStateInContentContext = mountWithAppProvider( > 47 | 48 | 49 | , 50 | ); ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :47 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :437` - Path: `Shopify/polaris-react/src/components/Filters/Filters.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Filters/Filters.tsx#L437) ```tsx 435 | 436 | return ( > 437 | 438 |
439 | {filtersControlMarkup} 440 | {filtersContainerMarkup} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :437 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :201` - Path: `Shopify/polaris-react/src/components/Modal/Modal.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Modal/Modal.tsx#L201) ```tsx 199 | 200 | return ( > 201 | 202 | {activatorMarkup} 203 | 204 | ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :201 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :63` - Path: `Shopify/polaris-react/src/components/Navigation/Navigation.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Navigation/Navigation.tsx#L63) ```tsx 61 | return ( 62 | > 63 | 64 |
github-actions[bot] commented 3 years ago

Detected 21 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :142` - Path: `Shopify/polaris-react/src/components/Banner/Banner.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/Banner.tsx#L142) ```tsx 140 | 141 | return ( > 142 | 143 |
:142 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :182` - Path: `Shopify/polaris-react/src/components/Banner/tests/Banner.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Banner/tests/Banner.test.tsx#L182) ```tsx 180 | 181 | const bannerWithContentContext = mountWithAppProvider( > 182 | 183 | :182 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :121` - Path: `Shopify/polaris-react/src/components/Card/Card.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Card/Card.tsx#L121) ```tsx 119 | 120 | return ( > 121 | 122 |
123 | {headerMarkup} 124 | {content} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :121 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :47` - Path: `Shopify/polaris-react/src/components/EmptyState/tests/EmptyState.test.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/EmptyState/tests/EmptyState.test.tsx#L47) ```tsx 45 | it('renders a medium button when in a content context', () => { 46 | const emptyStateInContentContext = mountWithAppProvider( > 47 | 48 | 49 | , 50 | ); ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :47 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :437` - Path: `Shopify/polaris-react/src/components/Filters/Filters.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Filters/Filters.tsx#L437) ```tsx 435 | 436 | return ( > 437 | 438 |
439 | {filtersControlMarkup} 440 | {filtersContainerMarkup} ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :437 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :201` - Path: `Shopify/polaris-react/src/components/Modal/Modal.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Modal/Modal.tsx#L201) ```tsx 199 | 200 | return ( > 201 | 202 | {activatorMarkup} 203 | 204 | ``` ``` TypeError: Cannot read property 'type' of null Occurred while linting :201 at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:170:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'type' of null Occurred while linting :63` - Path: `Shopify/polaris-react/src/components/Navigation/Navigation.tsx` - [Link](https://github.com/Shopify/polaris-react/blob/HEAD/src/components/Navigation/Navigation.tsx#L63) ```tsx 61 | return ( 62 | > 63 | 64 |
github-actions[bot] commented 3 years ago

Detected 24 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :99` - Path: `fluent-org/fluent-windows/packages/fluent-windows/src/Command/Command.tsx` - [Link](https://github.com/fluent-org/fluent-windows/blob/HEAD/packages/fluent-windows/src/Command/Command.tsx#L99) ```tsx 97 | {...otherProps} 98 | > > 99 | 100 | {!!container.content.length &&
{container.content}
} 101 |
102 | {_reveal ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :99 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `MaxKalashnyk/apollo-ts-test-app/src/contexts/Login/Login.tsx` - [Link](https://github.com/MaxKalashnyk/apollo-ts-test-app/blob/HEAD/src/contexts/Login/Login.tsx#L35) ```tsx 33 | 34 | return ( > 35 | 36 | 37 | {children} 38 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `liontechnyc/Gemini/src/Modal/Modal.tsx` - [Link](https://github.com/liontechnyc/Gemini/blob/HEAD/src/Modal/Modal.tsx#L23) ```tsx 21 | return ( 22 | <> > 23 | {children} 24 |
25 | 26 | ); ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :42` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/edit-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/edit-dialog-body.test.tsx#L42) ```tsx 40 | await act(async () => { 41 | wrapper = mount( > 42 | 43 | 44 | 45 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :42 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/event.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/event.test.tsx#L35) ```tsx 33 | await act(async () => { 34 | wrapper = mount( > 35 | 36 | 37 | 38 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :37` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/mainpanel.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/mainpanel.test.tsx#L37) ```tsx 35 | wrapper = mount( 36 | > 37 | 38 | 39 | 40 | , ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :37 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :42` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/new-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/new-dialog-body.test.tsx#L42) ```tsx 40 | await act(async () => { 41 | wrapper = mount( > 42 | 43 | 44 | 45 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :42 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :59` - Path: `SenseNet/sn-client/examples/sn-react-calendar/test/view-dialog-body.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-calendar/test/view-dialog-body.test.tsx#L59) ```tsx 57 | await act(async () => { 58 | wrapper = mount( > 59 | 60 | 61 | 62 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :59 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :32` - Path: `SenseNet/sn-client/examples/sn-react-imagegallery/test/app.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imagegallery/test/app.test.tsx#L32) ```tsx 30 | await act(async () => { 31 | wrapper = mount( > 32 | 33 | 34 | , 35 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :32 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :68` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/DropFileArea.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/DropFileArea.test.tsx#L68) ```tsx 66 | 67 | const wrapper = mount( > 68 | 69 | 70 | , 71 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :68 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :23` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/UploadControll.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/UploadControll.test.tsx#L23) ```tsx 21 | } 22 | const wrapper = mount( > 23 | 24 | 25 | , 26 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :23 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :24` - Path: `SenseNet/sn-client/examples/sn-react-imageupload/test/app.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-imageupload/test/app.test.tsx#L24) ```tsx 22 | await act(async () => { 23 | wrapper = mount( > 24 | 25 | 26 | , 27 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :24 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :35` - Path: `SenseNet/sn-client/examples/sn-react-usersearch/test/user-search.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/examples/sn-react-usersearch/test/user-search.test.tsx#L35) ```tsx 33 | await act(async () => { 34 | wrapper = mount( > 35 | 36 | 37 | , 38 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :35 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :108` - Path: `SenseNet/sn-client/packages/sn-hooks-react/src/context/current-content.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/packages/sn-hooks-react/src/context/current-content.tsx#L108) ```tsx 106 | 107 | return ( > 108 | {props.children} 109 | ) 110 | } 111 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :108 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :101` - Path: `SenseNet/sn-client/packages/sn-hooks-react/test/current-children.test.tsx` - [Link](https://github.com/SenseNet/sn-client/blob/HEAD/packages/sn-hooks-react/test/current-children.test.tsx#L101) ```tsx 99 | await act(async () => { 100 | wrapper = mount( > 101 | 102 | 103 | 104 | {(value) => ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :101 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :81` - Path: `neurahealth/neuracovid/src/components/Login/index.js` - [Link](https://github.com/neurahealth/neuracovid/blob/HEAD/src/components/Login/index.js#L81) ```js 79 | if (localStorage.getItem(firebaseAuthKey) === '1') 80 | return ; > 81 | return ; 82 | } 83 | } 84 | ``` ``` RangeError: Maximum call stack size exceeded Occurred while linting :81 at Object.getVariable (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/util/variable.js:24:21) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:100:37) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:93:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:101:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:93:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:101:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:93:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:101:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:93:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:101:49) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :48` - Path: `leonardodino/forex-web-app/src/hooks/pockets.tsx` - [Link](https://github.com/leonardodino/forex-web-app/blob/HEAD/src/hooks/pockets.tsx#L48) ```tsx 46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init) 47 | return ( > 48 | void}> 49 | {children} 50 | 51 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :48 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :30` - Path: `Menchynskyi/chuck-joke/src/components/JokeList/JokeList.test.tsx` - [Link](https://github.com/Menchynskyi/chuck-joke/blob/HEAD/src/components/JokeList/JokeList.test.tsx#L30) ```tsx 28 | const wrapper = mount( 29 | > 30 | 31 | 32 | 33 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :30 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :140` - Path: `rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx` - [Link](https://github.com/rishavanand/github-profilinator/blob/HEAD/src/context/GlobalContextProvider.tsx#L140) ```tsx 138 | }; 139 | > 140 | return {props.children}; 141 | }; 142 | 143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => {element}; ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :140 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :25` - Path: `Glue42/core/packages/react-hooks/tests/useGlue.spec.tsx` - [Link](https://github.com/Glue42/core/blob/HEAD/packages/react-hooks/tests/useGlue.spec.tsx#L25) ```tsx 23 | { 24 | wrapper: ({ children }) => ( > 25 | 26 | {children} 27 | 28 | ), ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :25 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :25` - Path: `XimalayaCloud/award/packages/award-render/src/render/app/index.tsx` - [Link](https://github.com/XimalayaCloud/award/blob/HEAD/packages/award-render/src/render/app/index.tsx#L25) ```tsx 23 | } 24 | return () => ( > 25 | 26 | ctx.award.modules.push(moduleName)}> 27 | 28 | ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :25 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:86:31) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:82:15) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: jsx-no-constructed-context-values - Message: `Cannot read property 'set' of undefined Occurred while linting :109` - Path: `commercelayer/commercelayer-react-components/src/components/OrderContainer.tsx` - [Link](https://github.com/commercelayer/commercelayer-react-components/blob/HEAD/src/components/OrderContainer.tsx#L109) ```tsx 107 | } 108 | return ( > 109 | 110 | {children} 111 | 112 | ) ``` ``` TypeError: Cannot read property 'set' of undefined Occurred while linting :109 at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:25:41) at isConstruction (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:113:14) at JSXOpeningElement (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-no-constructed-context-values.js:179:31) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) ``` ## Rule: forbid-component-props - Message: `Cannot read property 'toUpperCase' of undefined Occurred while linting :83` - Path: `facebookincubator/fbc-js-core/fbcnms-packages/fbcnms-ui/components/design-system/Experimental/FilesUploadSnackbar.js` - [Link](https://github.com/facebookincubator/fbc-js-core/blob/HEAD/fbcnms-packages/fbcnms-ui/components/design-system/Experimental/FilesUploadSnackbar.js#L83) ```js 81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? ( 82 | > 83 | 84 | {files.length} 85 | 86 | Uploads Complete ``` ``` TypeError: Cannot read property 'toUpperCase' of undefined Occurred while linting :83 at JSXAttribute (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js:85:68) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: forbid-component-props - Message: `Cannot read property 'toUpperCase' of undefined Occurred while linting :50` - Path: `adeira/universe/src/ya-comiste-backoffice/src/pos/ProductsSelected.js` - [Link](https://github.com/adeira/universe/blob/HEAD/src/ya-comiste-backoffice/src/pos/ProductsSelected.js#L50) ```js 48 |
49 | > 50 | {stats.totalSelectedItems} items for{' '} 51 | 52 | 53 | ``` ``` TypeError: Cannot read property 'toUpperCase' of undefined Occurred while linting :50 at JSXAttribute (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js:85:68) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ```
github-actions[bot] commented 3 years ago

Detected 1 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :22` - Path: `Devorein/Qocean/client/src/components/Modal/WarnModal.jsx` - [Link](https://github.com/Devorein/Qocean/blob/HEAD/client/src/components/Modal/WarnModal.jsx#L22) ```jsx 20 | 21 | > 22 | 23 |
{children}
24 |
25 |
ljharb commented 3 years ago

I can reproduce this failure, but can't figure out how to fix it.

github-actions[bot] commented 3 years ago

Detected 3 ESLint reports and/or crashes.

Click to expand ## Rule: forbid-component-props - Message: `Cannot read property 'toUpperCase' of undefined Occurred while linting :16` - Path: `adeira/universe/src/kochka.com.mx/src/Rules.js` - [Link](https://github.com/adeira/universe/blob/HEAD/src/kochka.com.mx/src/Rules.js#L16) ```js 14 | 15 | Be careful when entering the café so that the cats do not run away.{' '} > 16 | 17 | pleading face} ``` ``` TypeError: Cannot read property 'toUpperCase' of undefined Occurred while linting :16 at JSXAttribute (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js:89:68) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: forbid-component-props - Message: `Cannot read property 'toUpperCase' of undefined Occurred while linting :50` - Path: `adeira/universe/src/ya-comiste-backoffice/src/pos/ProductsSelected.js` - [Link](https://github.com/adeira/universe/blob/HEAD/src/ya-comiste-backoffice/src/pos/ProductsSelected.js#L50) ```js 48 |
49 | > 50 | {stats.totalSelectedItems} items for{' '} 51 | 52 | 53 | ``` ``` TypeError: Cannot read property 'toUpperCase' of undefined Occurred while linting :50 at JSXAttribute (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/forbid-component-props.js:89:68) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:256:26) at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:285:22) at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:299:14) at CodePathAnalyzer.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23) at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/linter.js:954:32 at Array.forEach () ``` ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :81` - Path: `neurahealth/neuracovid/src/components/Login/index.js` - [Link](https://github.com/neurahealth/neuracovid/blob/HEAD/src/components/Login/index.js#L81) ```js 79 | if (localStorage.getItem(firebaseAuthKey) === '1') 80 | return ; > 81 | return ; 82 | } 83 | } 84 | ``` ``` RangeError: Maximum call stack size exceeded Occurred while linting :81 at Object.getVariable (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/util/variable.js:24:21) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:104:37) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:97:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:105:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:97:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:105:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:97:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:105:49) at find (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:97:18) at findJSXElementOrFragment (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:105:49) ```
github-actions[bot] commented 3 years ago

Detected 3 ESLint reports and/or crashes.

Click to expand ## Rule: jsx-max-depth - Message: `Maximum call stack size exceeded Occurred while linting :22` - Path: `Devorein/Qocean/client/src/components/Modal/WarnModal.jsx` - [Link](https://github.com/Devorein/Qocean/blob/HEAD/client/src/components/Modal/WarnModal.jsx#L22) ```jsx 20 | 21 | > 22 | 23 |
{children}
24 |
25 |
ljharb commented 3 years ago

The only outstanding issues should now be the jsx-max-depth ones.

AriPerkkio commented 3 years ago

Based on the jsx-max-depth crash stack traces they are similar to the one fixed in https://github.com/yannickcr/eslint-plugin-react/pull/2957. I think next week's scan with eslint-plugin-react@7.23.2 will be the first successful one. 🎉 If I`m counting right there have been 10 crashing rules found by these weekly scans.

Note that this repository is always running against the latest published release. @ljharb if you are interested I can setup PR in the eslint-plugin-react repository so that there would be weekly tests with latest master using the https://github.com/marketplace/actions/eslint-remote-tester-runner. There are some eslint plugins which are already doing this. They can catch these issues even before releasing.

ljharb commented 3 years ago

That would be amazing, thanks.

AriPerkkio commented 3 years ago

Latest run was successful https://github.com/AriPerkkio/eslint-remote-tester/actions/runs/751268458. Closing this issue. New one will be automatically opened when new issues are found.