You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message: Cannot read property 'length' of undefined
Path: department-of-veterans-affairs/vets-website/src/platform/forms-system/src/js/components/FieldTemplate.jsx Link
</>
);
if (useFieldsetLegend) {return<fieldsetclassName={containerClassNames}>{content}</fieldset>;}
return <divclassName={containerClassNames}>{content}</div>;
}
Error:
TypeError: Cannot read property 'length' of undefined
Occurred while linting <text>:118
at isLeaf (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:55:24)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:113:21
at Array.forEach (<anonymous>)
at checkDescendant (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:106:24)
at JSXExpressionContainer (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:144:11)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
Rule: jsx-max-depth
Message: Cannot read property 'length' of undefined
Path: sunilshw/ThreatHunter/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js Link
Error:
TypeError: Cannot read property 'length' of undefined
Occurred while linting <text>:112
at isLeaf (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:55:24)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:113:21
at Array.forEach (<anonymous>)
at checkDescendant (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:106:24)
at JSXExpressionContainer (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:144:11)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
Rule: jsx-max-depth
Message: Cannot read property 'length' of undefined
Path: OpenSRP/web/packages/keycloak-user-management/src/components/UserList/TableActions/index.tsx Link
Error:
TypeError: Cannot read property 'length' of undefined
Occurred while linting <text>:76
at isLeaf (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:55:24)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:113:21
at Array.forEach (<anonymous>)
at checkDescendant (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:106:24)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:114:11
at Array.forEach (<anonymous>)
at checkDescendant (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:106:24)
at JSXExpressionContainer (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:144:11)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
Rule: jsx-max-depth
Message: Cannot read property 'length' of undefined
Path: mattermost/mattermost-plugin-incident-management/webapp/src/components/profile/profile_selector.tsx Link
Error:
TypeError: Cannot read property 'length' of undefined
Occurred while linting <text>:177
at isLeaf (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:55:24)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:113:21
at Array.forEach (<anonymous>)
at checkDescendant (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:106:24)
at JSXExpressionContainer (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/jsx-max-depth.js:144:11)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
The text was updated successfully, but these errors were encountered:
Hello,
jsx-max-depth
rule seems to crash in certain cases. This issue was spotted by automated CI run - it is not blocking my development or anything. https://github.com/AriPerkkio/eslint-remote-tester/runs/1506856587?check_suite_focus=trueMinimal repro:
Crash reports from real-world examples
Rule: jsx-max-depth
Message:
Cannot read property 'length' of undefined
Path:
department-of-veterans-affairs/vets-website/src/platform/forms-system/src/js/components/FieldTemplate.jsx
Link
Rule: jsx-max-depth
Message:
Cannot read property 'length' of undefined
Path:
sunilshw/ThreatHunter/x-pack/legacy/plugins/telemetry/public/hacks/welcome_banner/opt_in_banner_component.js
Link
Rule: jsx-max-depth
Message:
Cannot read property 'length' of undefined
Path:
OpenSRP/web/packages/keycloak-user-management/src/components/UserList/TableActions/index.tsx
Link
Rule: jsx-max-depth
Message:
Cannot read property 'length' of undefined
Path:
mattermost/mattermost-plugin-incident-management/webapp/src/components/profile/profile_selector.tsx
Link
The text was updated successfully, but these errors were encountered: