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 #381

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

Detected 7 ESLint reports and/or crashes. Scanned 2972 repositories.

Rules:

Click to expand ## Rule: react/jsx-sort-props - Message: `Cannot read property 'range' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/microsoft/fluentui/apps/public-docsite/src/pages/PageTemplates/TemplatePage/TemplatePage.tsx:33 Rule: "react/jsx-sort-props"` - Path: `microsoft/fluentui/apps/public-docsite/src/pages/PageTemplates/TemplatePage/TemplatePage.tsx` - [Link](https://github.com/microsoft/fluentui/blob/HEAD/apps/public-docsite/src/pages/PageTemplates/TemplatePage/TemplatePage.tsx#L33) ```tsx 31 | return ( 32 | // The Page component is a flexible wrapper for content sections and a siderail. > 33 | ) at JSXOpeningElement (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:410:25) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) ``` ## Rule: react/jsx-sort-props - Message: `Cannot read property 'range' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/cse112-sp20/Team-Potato/src/components/Menu.jsx:487 Rule: "react/jsx-sort-props"` - Path: `cse112-sp20/Team-Potato/src/components/Menu.jsx` - [Link](https://github.com/cse112-sp20/Team-Potato/blob/HEAD/src/components/Menu.jsx#L487) ```jsx 485 |

486 | Tab Groups > 487 |

166 |
> 167 |
github-actions[bot] commented 2 years ago

Detected 23 ESLint reports and/or crashes. Scanned 3490 repositories.

Rules:

Click to expand ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ElectronicBabylonianLiterature/ebl-frontend/src/bibliography/domain/Reference.ts:24 Rule: "react/jsx-key"` - Path: `ElectronicBabylonianLiterature/ebl-frontend/src/bibliography/domain/Reference.ts` - [Link](https://github.com/ElectronicBabylonianLiterature/ebl-frontend/blob/HEAD/src/bibliography/domain/Reference.ts#L24) ```ts 22 | references: readonly Reference[] 23 | ): [string, Reference[]][] { > 24 | return _.chain(references) 25 | .sortBy('primaryAuthor', 'year') 26 | .groupBy('type') 27 | .toPairs() ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ElectronicBabylonianLiterature/ebl-frontend/src/bibliography/domain/Reference.ts:24 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/QiuhongAnnaWei/alpine/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key"` - Path: `QiuhongAnnaWei/alpine/packages/react-dev-utils/evalSourceMapMiddleware.js` - [Link](https://github.com/QiuhongAnnaWei/alpine/blob/HEAD/packages/react-dev-utils/evalSourceMapMiddleware.js#L10) ```js 8 | 9 | function base64SourceMap(source) { > 10 | const base64 = Buffer.from(JSON.stringify(source.map()), 'utf8').toString( 11 | 'base64' 12 | ); 13 | return `data:application/json;charset=utf-8;base64,${base64}`; ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/QiuhongAnnaWei/alpine/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ruhulwebdev/react-scripts-with-useful-features/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key"` - Path: `ruhulwebdev/react-scripts-with-useful-features/packages/react-dev-utils/evalSourceMapMiddleware.js` - [Link](https://github.com/ruhulwebdev/react-scripts-with-useful-features/blob/HEAD/packages/react-dev-utils/evalSourceMapMiddleware.js#L10) ```js 8 | 9 | function base64SourceMap(source) { > 10 | const base64 = Buffer.from(JSON.stringify(source.map()), 'utf8').toString( 11 | 'base64' 12 | ); 13 | return `data:application/json;charset=utf-8;base64,${base64}`; ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/ruhulwebdev/react-scripts-with-useful-features/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mcbrooks95/netlifytest/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key"` - Path: `mcbrooks95/netlifytest/packages/react-dev-utils/evalSourceMapMiddleware.js` - [Link](https://github.com/mcbrooks95/netlifytest/blob/HEAD/packages/react-dev-utils/evalSourceMapMiddleware.js#L10) ```js 8 | 9 | function base64SourceMap(source) { > 10 | const base64 = Buffer.from(JSON.stringify(source.map()), 'utf8').toString( 11 | 'base64' 12 | ); 13 | return `data:application/json;charset=utf-8;base64,${base64}`; ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/mcbrooks95/netlifytest/packages/react-dev-utils/evalSourceMapMiddleware.js:10 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-sort-props - Message: `Cannot read property 'range' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/focusreactive/storybook-graphql-kit/addon/PanelUI/index.js:35 Rule: "react/jsx-sort-props"` - Path: `focusreactive/storybook-graphql-kit/addon/PanelUI/index.js` - [Link](https://github.com/focusreactive/storybook-graphql-kit/blob/HEAD/addon/PanelUI/index.js#L35) ```js 33 | 34 | > 35 | 36 | 37 | 38 | ); ``` ``` TypeError: Cannot read property 'range' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/focusreactive/storybook-graphql-kit/addon/PanelUI/index.js:35 Rule: "react/jsx-sort-props" at getGroupsOfSortableAttributes (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:185:58) at generateFixerFunction (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:237:35) at reportNodeAttribute (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:332:10) at /github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:515:13 at Array.reduce () at JSXOpeningElement (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-sort-props.js:410:25) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/open-hand/choerodon-front-master/react/containers/components/c7n/routes/projectOverview/components/Workload/stores/useStore.js:50 Rule: "react/jsx-key"` - Path: `open-hand/choerodon-front-master/react/containers/components/c7n/routes/projectOverview/components/Workload/stores/useStore.js` - [Link](https://github.com/open-hand/choerodon-front-master/blob/HEAD/react/containers/components/c7n/routes/projectOverview/components/Workload/stores/useStore.js#L50) ```js 48 | const total = []; 49 | const assigneeSet = new Set(); > 50 | const data = observable.map(); 51 | // 拆分数据 52 | res.forEach(item => { 53 | date.push(item.workDate);// 收集列数据 ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/open-hand/choerodon-front-master/react/containers/components/c7n/routes/projectOverview/components/Workload/stores/useStore.js:50 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lothiraldan/balto/balto/web_interfaces/balto_react/src/store.js:271 Rule: "react/jsx-key"` - Path: `Lothiraldan/balto/balto/web_interfaces/balto_react/src/store.js` - [Link](https://github.com/Lothiraldan/balto/blob/HEAD/balto/web_interfaces/balto_react/src/store.js#L271) ```js 269 | @observable id; 270 | @observable id_path; > 271 | @observable childrens = observable.map(); 272 | 273 | constructor(name, id, id_path, file_path, parent) { 274 | super(); ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lothiraldan/balto/balto/web_interfaces/balto_react/src/store.js:271 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/FieldGuideWrapper.spec.js:31 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/FieldGuideWrapper.spec.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/FieldGuideWrapper.spec.js#L31) ```js 29 | ] 30 | }) > 31 | const icons = observable.map() 32 | 33 | it('should render without crashing', function () { 34 | const wrapper = shallow( ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/FieldGuideWrapper.spec.js:31 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/FieldGuide.js:10 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/FieldGuide.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/FieldGuide.js#L10) ```js 8 | import FieldGuideItem from './components/FieldGuideItem' 9 | > 10 | const defaultIcons = observable.map() 11 | function FieldGuide ({ 12 | boxHeight = '415px', 13 | boxWidth = '490px', ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/FieldGuide.js:10 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js:45 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js#L45) ```js 43 | } 44 | > 45 | const defaultIcons = observable.map() 46 | function FieldGuideItem ({ 47 | className = '', 48 | content = '', ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.js:45 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.spec.js:14 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.spec.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.spec.js#L14) ```js 12 | 13 | const medium = FieldGuideMediumFactory.build() > 14 | const attachedMedia = observable.map().set(medium.id, medium) 15 | const item = { 16 | title: 'Cat', 17 | icon: medium.id, ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItem/FieldGuideItem.spec.js:14 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.js:10 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.js#L10) ```js 8 | import { useTranslation } from 'react-i18next' 9 | > 10 | const defaultIcons = observable.map() 11 | export function AnchorLabel({ 12 | className = '', 13 | icons = defaultIcons, ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.js:10 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.spec.js:13 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.spec.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.spec.js#L13) ```js 11 | const mediumOne = FieldGuideMediumFactory.build() 12 | const mediumTwo = FieldGuideMediumFactory.build() > 13 | const attachedMedia = observable.map() 14 | attachedMedia.set(mediumOne.id, mediumOne) 15 | attachedMedia.set(mediumTwo.id, mediumTwo) 16 | const item = { ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemAnchor/FieldGuideItemAnchor.spec.js:13 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-key - Message: `Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemIcon/FieldGuideItemIcon.spec.js:9 Rule: "react/jsx-key"` - Path: `zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemIcon/FieldGuideItemIcon.spec.js` - [Link](https://github.com/zooniverse/front-end-monorepo/blob/HEAD/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemIcon/FieldGuideItemIcon.spec.js#L9) ```js 7 | 8 | const medium = FieldGuideMediumFactory.build() > 9 | const attachedMedia = observable.map() 10 | attachedMedia.set(medium.id, medium) 11 | 12 | describe('Component > FieldGuideItemIcon', function () { ``` ``` TypeError: Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/FieldGuide/components/FieldGuide/components/FieldGuideItemIcon/FieldGuideItemIcon.spec.js:9 Rule: "react/jsx-key" at Object.isFunctionLikeExpression (/github/workspace/ci/node_modules/eslint-plugin-react/lib/util/ast.js:223:15) at CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"] (/github/workspace/ci/node_modules/eslint-plugin-react/lib/rules/jsx-key.js:230:22) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:795:23) ``` ## Rule: react/jsx-sort-props - Message: `Cannot read property 'range' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/EduardoPazz/semana-omnistack-11-be-the-hero/mobile/src/pages/Incidents/index.js:48 Rule: "react/jsx-sort-props"` - Path: `EduardoPazz/semana-omnistack-11-be-the-hero/mobile/src/pages/Incidents/index.js` - [Link](https://github.com/EduardoPazz/semana-omnistack-11-be-the-hero/blob/HEAD/mobile/src/pages/Incidents/index.js#L48) ```js 46 | Descrição exemplo 47 | > 48 | , que naturalmente muda a opacidade ao ser pressionado para criar uma interação com o usuário. Ele aceita estilos e precisa obrigatóriamente de um um event listener. No caso, usamos o onPress. */ 51 | > {/* Assim como um