Weekly scheduled smoke test: eslint-plugin-unicorn
github-actions opened this issue · comments
Detected 1 ESLint reports and/or crashes.
Scanned 3859 repositories.
Rules:
unicorn/prefer-export-from
Click to expand
Rule: unicorn/prefer-export-from
- Message:
Cannot read property 'value' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/micahshute/flatiron_cohort_lead_lessons/react_events_forms_and_state/ReactCodeHooks.js:3 Rule: "unicorn/prefer-export-from"
- Path:
micahshute/flatiron_cohort_lead_lessons/react_events_forms_and_state/ReactCodeHooks.js
- Link
1 | //Styles.js
2 |
> 3 | import styled from "styled-components";
4 |
5 | const RedButton = styled.button`
6 | background-color: red;
TypeError: Cannot read property 'value' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/micahshute/flatiron_cohort_lead_lessons/react_events_forms_and_state/ReactCodeHooks.js:3
Rule: "unicorn/prefer-export-from"
at getFixFunction (/github/workspace/ci/node_modules/eslint-plugin-unicorn/rules/prefer-export-from.js:86:33)
at Program:exit (/github/workspace/ci/node_modules/eslint-plugin-unicorn/rules/prefer-export-from.js:295:19)
at Program:exit.next (<anonymous>)
at /github/workspace/ci/node_modules/eslint-plugin-unicorn/rules/utils/rule.js:22:14
at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1076:28)
at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
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)