Weekly scheduled smoke test: eslint-plugin-react-hooks
github-actions opened this issue · comments
github-actions commented
Detected 4 ESLint reports and/or crashes.
Scanned 12873 repositories.
Rules:
unable-to-parse-rule-id
Click to expand
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/DimensionDev/Maskbook/packages/maskbook/src/plugins/MaskBox/hooks/useContext.ts:195
- Path:
DimensionDev/Maskbook/packages/maskbook/src/plugins/MaskBox/hooks/useContext.ts
- Link
193 | const paymentTokenDetailed = paymentTokenInfo?.token ?? null
194 |
> 195 | useEffect(() => {
196 | const firstPaymentTokenAddress = first(boxInfo?.payments)?.token.address
197 | if (paymentTokenAddress === '' && firstPaymentTokenAddress) setPaymentTokenAddress(firstPaymentTokenAddress)
198 | }, [paymentTokenAddress, boxInfo?.payments.map((x) => x.token.address).join()])
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/DimensionDev/Maskbook/packages/maskbook/src/plugins/MaskBox/hooks/useContext.ts:195
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx:1061
- Path:
kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx
- Link
1059 | const nodeCompleted: boolean = !!nodeStatus && COMPLETED_NODE_PHASES.includes(nodeStatus.phase);
1060 |
> 1061 | React.useEffect(() => {
1062 | let aborted = false;
1063 | async function loadVisualizations() {
1064 | if (aborted) {
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx:1061
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
- Path:
Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js
- Link
49 | let component
50 | let server
> 51 | useEffect()
52 | beforeEach((done) => {
53 | const id = window.localStorage.getItem('id')
54 | server = fakeServer.create()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1734:24)
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:293:26)
at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at /github/workspace/ci/node_modules/eslint/lib/linter/linter.js:960:32
at Array.forEach (<anonymous>)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
- Path:
steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx
- Link
345 |
346 | const useUpdateItem = ({ currentModel, graph, showNameOrLabel }) => {
> 347 | useEffect(() => {
348 |
349 | if (graph) {
350 | const gnodes = graph.getNodes()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
github-actions commented
Detected 6 ESLint reports and/or crashes.
Scanned 10538 repositories.
Rules:
unable-to-parse-rule-id
Click to expand
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
- Path:
Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js
- Link
49 | let component
50 | let server
> 51 | useEffect()
52 | beforeEach((done) => {
53 | const id = window.localStorage.getItem('id')
54 | server = fakeServer.create()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1734:24)
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:293:26)
at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at /github/workspace/ci/node_modules/eslint/lib/linter/linter.js:960:32
at Array.forEach (<anonymous>)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
- Path:
steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx
- Link
345 |
346 | const useUpdateItem = ({ currentModel, graph, showNameOrLabel }) => {
> 347 | useEffect(() => {
348 |
349 | if (graph) {
350 | const gnodes = graph.getNodes()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.tsx:43
- Path:
gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.tsx
- Link
41 | );
42 |
> 43 | const handleChange = useCallback(
44 | (e: Event, stringValue: string | null) => {
45 | setStringValue(stringValue);
46 | const onChange = onChangeRef.current;
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.tsx:43
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDateRange/DatePickerFieldTypeDateRange.tsx:141
- Path:
gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDateRange/DatePickerFieldTypeDateRange.tsx
- Link
139 | }, [eventRef.current]);
140 |
> 141 | useEffect(() => {
142 | setStartDate(value?.[0]);
143 | }, [value?.[0]?.getTime()]);
144 |
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerFieldTypeDateRange/DatePickerFieldTypeDateRange.tsx:141
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerTypeDateRange/DatePickerTypeDateRange.tsx:101
- Path:
gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerTypeDateRange/DatePickerTypeDateRange.tsx
- Link
99 |
100 | // эфект для того чтобы календарь переключался при вводе с клавиатуры
> 101 | useEffect(() => {
102 | if (
103 | props.value?.[0] &&
104 | props.dateTimeView === 'classic' &&
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DatePickerCanary/DatePickerTypeDateRange/DatePickerTypeDateRange.tsx:101
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DateTimeCanary/DateTimeTypeTime/helpers.ts:88
- Path:
gazprom-neft/consta-uikit/src/components/DateTimeCanary/DateTimeTypeTime/helpers.ts
- Link
86 | const onChangeRef = useMutableRef(onChange);
87 |
> 88 | return useMemo(
89 | () => [
90 | getItemData(
91 | 24,
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/gazprom-neft/consta-uikit/src/components/DateTimeCanary/DateTimeTypeTime/helpers.ts:88
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
github-actions commented
Detected 4 ESLint reports and/or crashes.
Scanned 10801 repositories.
Rules:
unable-to-parse-rule-id
Click to expand
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/DimensionDev/Maskbook/packages/mask/src/plugins/MaskBox/hooks/useContext.ts:195
- Path:
DimensionDev/Maskbook/packages/mask/src/plugins/MaskBox/hooks/useContext.ts
- Link
193 | const paymentTokenDetailed = paymentTokenInfo?.token ?? null
194 |
> 195 | useEffect(() => {
196 | const firstPaymentTokenAddress = first(boxInfo?.payments)?.token.address
197 | if (paymentTokenAddress === '' && firstPaymentTokenAddress) setPaymentTokenAddress(firstPaymentTokenAddress)
198 | }, [paymentTokenAddress, boxInfo?.payments.map((x) => x.token.address).join()])
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/DimensionDev/Maskbook/packages/mask/src/plugins/MaskBox/hooks/useContext.ts:195
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
- Path:
Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js
- Link
49 | let component
50 | let server
> 51 | useEffect()
52 | beforeEach((done) => {
53 | const id = window.localStorage.getItem('id')
54 | server = fakeServer.create()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/Lambda-School-Labs/niyon-fe/src/components/home/Home.test.js:51
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1734:24)
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:293:26)
at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
at CodePathAnalyzer.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
at /github/workspace/ci/node_modules/eslint/lib/linter/linter.js:960:32
at Array.forEach (<anonymous>)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
- Path:
steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx
- Link
345 |
346 | const useUpdateItem = ({ currentModel, graph, showNameOrLabel }) => {
> 347 | useEffect(() => {
348 |
349 | if (graph) {
350 | const gnodes = graph.getNodes()
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/steedos/steedos-platform/packages/steedos-plugin-schema-builder/webapp/src/g6/model/index.tsx:347
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)
Rule: unable-to-parse-rule-id
- Message:
Cannot read property 'type' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx:1061
- Path:
kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx
- Link
1059 | const nodeCompleted: boolean = !!nodeStatus && COMPLETED_NODE_PHASES.includes(nodeStatus.phase);
1060 |
> 1061 | React.useEffect(() => {
1062 | let aborted = false;
1063 | async function loadVisualizations() {
1064 | if (aborted) {
TypeError: Cannot read property 'type' of undefined
Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/kubeflow/kfp-tekton-backend/frontend/src/pages/RunDetails.tsx:1061
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2235:12)
at analyzePropertyChain (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:2264:20)
at /github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1297:34
at Array.forEach (<anonymous>)
at visitFunctionWithDependencies (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1277:43)
at visitCallExpression (/github/workspace/ci/node_modules/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js:1737:11)
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:293:26)