New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Results of weekly scheduled smoke test #3068
Comments
cc @AriPerkkio these errors seem to be coming from eslint itself. is this something wrong with the smoke testing itself? |
After a quick testing it seems that these are real rule crashes. Smoke test seems fine. (I'm also glad to see it can handle 10K errors in a run! 🎉 ) Here's output of
And directly from CLI:
This is the erroneous line from ESLint https://github.com/eslint/eslint/blob/8c61f5ac67682fcfec7fc6faafcf72e4b1a339ff/lib/linter/report-translator.js#L249. And here's where the call is coming from: I'd say either the rule is calling |
Minimal repro: import React from "react";
interface Props {
name: string;
}
const MyComponent: React.FC<Props> = ({ name }) => {
return <div>{name}</div>;
};
export default MyComponent; {
"root": true,
"env": {
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"react": {
"version": "16.13.1"
}
},
"extends": ["plugin:react/all"]
} {
"devDependencies": {
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-plugin-react": "https://github.com/yannickcr/eslint-plugin-react#master",
"react": "16",
"typescript": "^4.4.2"
}
} |
The only thing I can think of is that the |
cc @vedadeepta this seems to have been introduced in #3064. basically, the fake children prop has an empty object as |
Ah, i see you already did. Thanks |
That same minimal repro case also crashes these rules:
These are not visible in smoke test crash reports since ESLint doesn't handle these crashes properly. It throws error instantly when an erroneous rule is found and ignores rest of the rules and results. There's some more information at eslint/eslint#13872 about this functionality. Re-running the smoke tests should reveal these errors too. |
Detected 10599 ESLint reports and/or crashes.
Scanned 3909 repositories.
Reached maximum result count 50.
Showing 50/10599
Rules:
no-unused-prop-types
require-default-props
Click to expand
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/SocialGouv/code-du-travail-numerique/packages/code-du-travail-frontend/src/outils/common/PubliQuestion.tsx:1
SocialGouv/code-du-travail-numerique/packages/code-du-travail-frontend/src/outils/common/PubliQuestion.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/SocialGouv/code-du-travail-numerique/packages/code-du-travail-frontend/src/outils/common/PubliSituation.tsx:1
SocialGouv/code-du-travail-numerique/packages/code-du-travail-frontend/src/outils/common/PubliSituation.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/components/Card/Card.tsx:1
NiewView/ObstStrandMusiker/src/components/Card/Card.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/components/InfoBox/InfoBox.tsx:1
NiewView/ObstStrandMusiker/src/components/InfoBox/InfoBox.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/components/NumberInput/NumberInput.tsx:1
NiewView/ObstStrandMusiker/src/components/NumberInput/NumberInput.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/components/RoutingTransition/MountTransition.tsx:1
NiewView/ObstStrandMusiker/src/components/RoutingTransition/MountTransition.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/components/RoutingTransition/RoutingTransition.tsx:1
NiewView/ObstStrandMusiker/src/components/RoutingTransition/RoutingTransition.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/pages/CardPage/CardPage.tsx:1
NiewView/ObstStrandMusiker/src/pages/CardPage/CardPage.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/pages/CreditsPage/CreditsPage.tsx:1
NiewView/ObstStrandMusiker/src/pages/CreditsPage/CreditsPage.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/pages/Instructions/Instructions.tsx:1
NiewView/ObstStrandMusiker/src/pages/Instructions/Instructions.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/NiewView/ObstStrandMusiker/src/pages/MenuPage/MenuPage.tsx:1
NiewView/ObstStrandMusiker/src/pages/MenuPage/MenuPage.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/devboldly/react-use-analytics-api/src/gatsby-theme-docz/tools/SvgIcon.tsx:1
devboldly/react-use-analytics-api/src/gatsby-theme-docz/tools/SvgIcon.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2019-09-02/todolist/src/components/AddTodo.tsx:1
marko-knoebl/courses-code/react-ts/course-2019-09-02/todolist/src/components/AddTodo.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2019-09-02/todolist/src/components/TodoList.tsx:1
marko-knoebl/courses-code/react-ts/course-2019-09-02/todolist/src/components/TodoList.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2019-11-18/data-grid/src/AddCountryForm.tsx:1
marko-knoebl/courses-code/react-ts/course-2019-11-18/data-grid/src/AddCountryForm.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2019-11-18/data-grid/src/DataGrid.tsx:1
marko-knoebl/courses-code/react-ts/course-2019-11-18/data-grid/src/DataGrid.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoFromApi.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoFromApi.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoItem.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoItem.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoList.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-01-09/todolist/src/TodoList.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-02-03/pokedex/src/detail/PokemonDetail.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-02-03/pokedex/src/detail/PokemonDetail.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-02-03/todolist/src/AddTodo.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-02-03/todolist/src/AddTodo.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-02-17/playground/src/Rating.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-02-17/playground/src/Rating.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-04-20/playground/src/Rating.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-04-20/playground/src/Rating.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Button.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Button.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Header.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Header.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Page.tsx:1
marko-knoebl/courses-code/react-ts/course-2020-10-05/todolist/src/stories/Page.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/Bookings.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/Bookings.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/DeliveryDetails.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/DeliveryDetails.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/Notification.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/Notification.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/Plan.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/Plan.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/ServerStatusBar.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/ServerStatusBar.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/SuccessScreen.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/SuccessScreen.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/Tooltip.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/Tooltip.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/TransportDetails.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/TransportDetails.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/Transports.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/Transports.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/TransportsList.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/TransportsList.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/animations/opacityFadeInAnim.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/animations/opacityFadeInAnim.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Delivery.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Delivery.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Pickup.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Pickup.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Submit.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/Submit.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/WizardForm.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/CreateBookingWizard/WizardForm.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/Checkbox.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/Checkbox.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/FleetInput.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/FleetInput.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/ParcelSize.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/ParcelSize.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/TextInput.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/TextInput.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/TransportCapacity.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/forms/inputs/TransportCapacity.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/engine-ui/src/components/layout/MainRouteLayout.tsx:1
Iteam1337/predictivemovement/packages/engine-ui/src/components/layout/MainRouteLayout.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/signing-ui/src/components/Form.tsx:1
Iteam1337/predictivemovement/packages/signing-ui/src/components/Form.tsx
Rule: no-unused-prop-types
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Iteam1337/predictivemovement/packages/signing-ui/src/components/SuccessScreen.tsx:1
Iteam1337/predictivemovement/packages/signing-ui/src/components/SuccessScreen.tsx
Rule: require-default-props
Cannot read property 'start' of undefined Occurred while linting /home/runner/work/eslint-plugin-react/eslint-plugin-react/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kuroppe1819/flexbox-cheat-site/src/components/common/button/BaseButton.tsx:1
kuroppe1819/flexbox-cheat-site/src/components/common/button/BaseButton.tsx
The text was updated successfully, but these errors were encountered: