-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Detected 1 ESLint reports and/or crashes.
Scanned 4346 repositories.
Rules:
react/jsx-sort-props
Click to expand
Rule: react/jsx-sort-props
- Message:
Cannot read property 'range' of undefined Occurred while linting /github/workspace/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
31 | return (
32 | // The Page component is a flexible wrapper for content sections and a siderail.
> 33 | <Page
34 | // Pass all the props to the Page component.
35 | {...props}
36 | // Use the platform specific props from the doc.ts file.TypeError: Cannot read property 'range' of undefined
Occurred while linting /github/workspace/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"
at Object.fixFunction [as fix] (/github/workspace/lib/rules/jsx-sort-props.js:261:50)
at normalizeFixes (/github/workspace/node_modules/eslint/lib/linter/report-translator.js:193:28)
at /github/workspace/node_modules/eslint/lib/linter/report-translator.js:364:49
at Object.report (/github/workspace/node_modules/eslint/lib/linter/linter.js:1085:41)
at report (/github/workspace/lib/util/report.js:7:11)
at reportNodeAttribute (/github/workspace/lib/rules/jsx-sort-props.js:331:3)
at /github/workspace/lib/rules/jsx-sort-props.js:516:13
at Array.reduce (<anonymous>)
at JSXOpeningElement (/github/workspace/lib/rules/jsx-sort-props.js:411:25)
at ruleErrorHandler (/github/workspace/node_modules/eslint/lib/linter/linter.js:1114:28)
Metadata
Metadata
Assignees
Labels
No labels