AriPerkkio / eslint-remote-tester

CLI tool for testing given ESlint rules against multiple repositories at once.
https://www.npmjs.com/package/eslint-remote-tester
118 stars 10 forks source link

Weekly scheduled smoke test: typescript-eslint-eslint-plugin #370

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 2 years ago

Detected 2 ESLint reports and/or crashes. Scanned 540 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/effector/effector/packages/effector/index.d.ts:2784 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `effector/effector/packages/effector/index.d.ts` - [Link](https://github.com/effector/effector/blob/HEAD/packages/effector/index.d.ts#L2784) ```ts 2782 | export function combine( 2783 | tuple: State, > 2784 | fn: ( 2785 | tuple: {[K in keyof State]: State[K] extends Store ? U : State[K]}, 2786 | ) => R, 2787 | ): Store ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/effector/effector/packages/effector/index.d.ts:2784 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ``` ## Rule: - Message: `ERR_WORKER_OUT_OF_MEMORY Worker terminated due to reaching memory limit: JS heap out of memory` - Path: `aodocs-backlight/simba-design-ystem` - [Link](https://github.com/aodocs-backlight/simba-design-ystem) ```aodocs-backlight/simba-design-ystem ```
github-actions[bot] commented 1 year ago

Detected 1 ESLint reports and/or crashes. Scanned 738 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/no-misused-promises - Message: `Debug Failure. Expected [object Object] === [object Object]. Parameter symbol already has a cached type which differs from newly assigned type Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts:24 Rule: "@typescript-eslint/no-misused-promises"` - Path: `keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts` - [Link](https://github.com/keystonejs/keystone/blob/HEAD/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts#L24) ```ts 22 | }; 23 | > 24 | const runner = setupTestRunner({ 25 | config: apiTestConfig({ 26 | lists: { 27 | User: list({ ``` ``` Error: Debug Failure. Expected [object Object] === [object Object]. Parameter symbol already has a cached type which differs from newly assigned type Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts:24 Rule: "@typescript-eslint/no-misused-promises" at assignParameterType (/github/workspace/ci/node_modules/typescript/lib/typescript.js:77753:26) at assignContextualParameterTypes (/github/workspace/ci/node_modules/typescript/lib/typescript.js:77714:21) at contextuallyCheckFunctionExpressionOrObjectLiteralMethod (/github/workspace/ci/node_modules/typescript/lib/typescript.js:78197:29) at checkFunctionExpressionOrObjectLiteralMethod (/github/workspace/ci/node_modules/typescript/lib/typescript.js:78172:13) at checkExpressionWorker (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79965:28) at checkExpression (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79860:38) at checkExpressionWithContextualType (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79490:28) at inferTypeArguments (/github/workspace/ci/node_modules/typescript/lib/typescript.js:75531:39) at chooseOverload (/github/workspace/ci/node_modules/typescript/lib/typescript.js:76301:53) at resolveCall (/github/workspace/ci/node_modules/typescript/lib/typescript.js:76126:26) ```
github-actions[bot] commented 1 year ago

Detected 2 ESLint reports and/or crashes. Scanned 785 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts:313 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts` - [Link](https://github.com/elyukai/optolith-client/blob/HEAD/src/App/Utilities/createMapMaybeSelector.ts#L313) ```ts 311 | > = 312 | (...globalValuesWithKey: MappedMaybeI>>) => > 313 | (...globalValues: MappedReturnType) => 314 | (...mapValueValues: MappedReturnType) => R 315 | 316 | type CallbackWithoutKeys ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts:313 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ``` ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapSelector.ts:276 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `elyukai/optolith-client/src/App/Utilities/createMapSelector.ts` - [Link](https://github.com/elyukai/optolith-client/blob/HEAD/src/App/Utilities/createMapSelector.ts#L276) ```ts 274 | R 275 | > = > 276 | (...globalValuesWithKey: MappedReturnType>) => 277 | (...globalValues: MappedReturnType) => 278 | (...mapValueValues: MappedReturnType) => R 279 | ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapSelector.ts:276 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ```
github-actions[bot] commented 1 year ago

Detected 2 ESLint reports and/or crashes. Scanned 846 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts:313 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts` - [Link](https://github.com/elyukai/optolith-client/blob/HEAD/src/App/Utilities/createMapMaybeSelector.ts#L313) ```ts 311 | > = 312 | (...globalValuesWithKey: MappedMaybeI>>) => > 313 | (...globalValues: MappedReturnType) => 314 | (...mapValueValues: MappedReturnType) => R 315 | 316 | type CallbackWithoutKeys ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapMaybeSelector.ts:313 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ``` ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapSelector.ts:276 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `elyukai/optolith-client/src/App/Utilities/createMapSelector.ts` - [Link](https://github.com/elyukai/optolith-client/blob/HEAD/src/App/Utilities/createMapSelector.ts#L276) ```ts 274 | R 275 | > = > 276 | (...globalValuesWithKey: MappedReturnType>) => 277 | (...globalValues: MappedReturnType) => 278 | (...mapValueValues: MappedReturnType) => R 279 | ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/elyukai/optolith-client/src/App/Utilities/createMapSelector.ts:276 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ```
github-actions[bot] commented 1 year ago

Detected 3 ESLint reports and/or crashes. Scanned 530 repositories.

Rules:

Click to expand ## Rule: - Message: `ERR_WORKER_OUT_OF_MEMORY Worker terminated due to reaching memory limit: JS heap out of memory` - Path: `oktadeveloper/react-odyssey` - [Link](https://github.com/oktadeveloper/react-odyssey) ```oktadeveloper/react-odyssey ``` ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/effector/effector/packages/effector/index.d.ts:2784 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `effector/effector/packages/effector/index.d.ts` - [Link](https://github.com/effector/effector/blob/HEAD/packages/effector/index.d.ts#L2784) ```ts 2782 | export function combine( 2783 | tuple: State, > 2784 | fn: ( 2785 | tuple: {[K in keyof State]: State[K] extends Store ? U : State[K]}, 2786 | ) => R, 2787 | ): Store ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/effector/effector/packages/effector/index.d.ts:2784 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ``` ## Rule: - Message: `ERR_WORKER_OUT_OF_MEMORY Worker terminated due to reaching memory limit: JS heap out of memory` - Path: `betagouv/ecolab-climat` - [Link](https://github.com/betagouv/ecolab-climat) ```betagouv/ecolab-climat ```
github-actions[bot] commented 1 year ago

Detected 7 ESLint reports and/or crashes. Scanned 648 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member object type: AssignmentExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/expandorg/expand-components/docs/static/js/vendors.1ac56837.js:128 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `expandorg/expand-components/docs/static/js/vendors.1ac56837.js` - [Link](https://github.com/expandorg/expand-components/blob/HEAD/docs/static/js/vendors.1ac56837.js#L128) ```js 126 | height: 100%; 127 | } > 128 | `,d=Object(i.c)([".cm-s-docz-light.CodeMirror{border-radius:0;background:#fbfcfd;color:#24292e;}.cm-s-docz-light .CodeMirror-gutters{background:#fbfcfd;border-right-width:0;border-radius:0;}.cm-s-docz-light .CodeMirror-guttermarker{color:white;}.cm-s-docz-light .CodeMirror-guttermarker-subtle{color:#d0d0d0;}.cm-s-docz-light .CodeMirror-linenumber{color:#959da5;background:#fbfcfd;}.cm-s-docz-light .CodeMirror-cursor{border-left:1px solid #24292e;}.cm-s-docz-light div.CodeMirror-selected,.cm-s-docz-light .CodeMirror-line::selection,.cm-s-docz-light .CodeMirror-line > span::selection,.cm-s-docz-light .CodeMirror-line > span > span::selection,.cm-s-docz-light .CodeMirror-line::-moz-selection,.cm-s-docz-light .CodeMirror-line > span::-moz-selection,.cm-s-docz-light .CodeMirror-line > span > span::-moz-selection{background:#c8c8fa;}.cm-s-docz-light .CodeMirror-activeline-background{background:#fafbfc;}.cm-s-docz-light .CodeMirror-matchingbracket{text-decoration:underline;color:#94... 129 | //# sourceMappingURL=vendors.264c3cdedeefcb372aa5.js.map ``` ``` Error: Unexpected member object type: AssignmentExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/expandorg/expand-components/docs/static/js/vendors.1ac56837.js:128 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:384:17) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () 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) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) ``` ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member object type: AssignmentExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/appbaseio/reactivesearch/packages/web/umd/reactivesearch.js:19 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `appbaseio/reactivesearch/packages/web/umd/reactivesearch.js` - [Link](https://github.com/appbaseio/reactivesearch/blob/HEAD/packages/web/umd/reactivesearch.js#L19) ```js 17 | * @author Feross Aboukhadijeh 18 | * @license MIT > 19 | */(t.length)?i(e,0):f(e,t);if("Buffer"===t.type&&G(t.data))return f(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(c(t),e=i(e,0>t?0:0|h(t)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;nt.length?0:0|h(t.length);e=i(e,n);for(var r=0;r=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function g(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":... 20 | ``` ``` Error: Unexpected member object type: AssignmentExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/appbaseio/reactivesearch/packages/web/umd/reactivesearch.js:19 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:384:17) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () 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) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) ``` ## Rule: @typescript-eslint/no-misused-promises - Message: `Debug Failure. Expected [object Object] === [object Object]. Parameter symbol already has a cached type which differs from newly assigned type Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts:24 Rule: "@typescript-eslint/no-misused-promises"` - Path: `keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts` - [Link](https://github.com/keystonejs/keystone/blob/HEAD/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts#L24) ```ts 22 | }; 23 | > 24 | const runner = setupTestRunner({ 25 | config: apiTestConfig({ 26 | lists: { 27 | User: list({ ``` ``` Error: Debug Failure. Expected [object Object] === [object Object]. Parameter symbol already has a cached type which differs from newly assigned type Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/keystonejs/keystone/tests/api-tests/extend-graphql-schema/extend-graphql-schema.test.ts:24 Rule: "@typescript-eslint/no-misused-promises" at assignParameterType (/github/workspace/ci/node_modules/typescript/lib/typescript.js:77753:26) at assignContextualParameterTypes (/github/workspace/ci/node_modules/typescript/lib/typescript.js:77714:21) at contextuallyCheckFunctionExpressionOrObjectLiteralMethod (/github/workspace/ci/node_modules/typescript/lib/typescript.js:78197:29) at checkFunctionExpressionOrObjectLiteralMethod (/github/workspace/ci/node_modules/typescript/lib/typescript.js:78172:13) at checkExpressionWorker (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79965:28) at checkExpression (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79860:38) at checkExpressionWithContextualType (/github/workspace/ci/node_modules/typescript/lib/typescript.js:79490:28) at inferTypeArguments (/github/workspace/ci/node_modules/typescript/lib/typescript.js:75531:39) at chooseOverload (/github/workspace/ci/node_modules/typescript/lib/typescript.js:76301:53) at resolveCall (/github/workspace/ci/node_modules/typescript/lib/typescript.js:76126:26) ``` ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member property type: Identifier Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vassourita/ally/web/src/pages/CreateVacancy/index.js:142 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `vassourita/ally/web/src/pages/CreateVacancy/index.js` - [Link](https://github.com/vassourita/ally/blob/HEAD/web/src/pages/CreateVacancy/index.js#L142) ```js 140 | disabled={ 141 | knowledges.length && > 142 | (!knowledges[knowledges.length - 1].name || !knowledges[knowledges.length - 1].typeId) 143 | } 144 | onClick={() => setKnowledges([...knowledges, { differential: false }])} 145 | > ``` ``` Error: Unexpected member property type: Identifier Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/vassourita/ally/web/src/pages/CreateVacancy/index.js:142 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:406:19) at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:375:24) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () 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) ``` ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member object type: TSNonNullExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/numToStr/listrrr/packages/client/src/gql/project.query.ts:96 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `numToStr/listrrr/packages/client/src/gql/project.query.ts` - [Link](https://github.com/numToStr/listrrr/blob/HEAD/packages/client/src/gql/project.query.ts#L96) ```ts 94 | update(cache, { data }) { 95 | // if rearrangeColumn is false => return, means update is not successful > 96 | if (!data!.rearrangeColumn || !options) { 97 | return; 98 | } 99 | ``` ``` Error: Unexpected member object type: TSNonNullExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/numToStr/listrrr/packages/client/src/gql/project.query.ts:96 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:384:17) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () 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) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint/lib/linter/node-event-generator.js:340:14) ``` ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member object type: TSAsExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/LXSMNSYC/indigo-player-2/src/extensions/FreeWheelExtension/FreeWheelExtension.ts:69 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `LXSMNSYC/indigo-player-2/src/extensions/FreeWheelExtension/FreeWheelExtension.ts` - [Link](https://github.com/LXSMNSYC/indigo-player-2/blob/HEAD/src/extensions/FreeWheelExtension/FreeWheelExtension.ts#L69) ```ts 67 | 68 | if ( > 69 | !(window as any).tv 70 | || !(window as any).tv.freewheel 71 | || !(window as any).tv.freewheel.SDK 72 | ) { ``` ``` Error: Unexpected member object type: TSAsExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/LXSMNSYC/indigo-player-2/src/extensions/FreeWheelExtension/FreeWheelExtension.ts:69 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:384:17) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:340:14) ``` ## Rule: @typescript-eslint/prefer-optional-chain - Message: `Unexpected member object type: TSAsExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/LXSMNSYC/indigo-player-2/src/extensions/GoogleIMAExtension/GoogleIMAExtension.ts:60 Rule: "@typescript-eslint/prefer-optional-chain"` - Path: `LXSMNSYC/indigo-player-2/src/extensions/GoogleIMAExtension/GoogleIMAExtension.ts` - [Link](https://github.com/LXSMNSYC/indigo-player-2/blob/HEAD/src/extensions/GoogleIMAExtension/GoogleIMAExtension.ts#L60) ```ts 58 | super(instance); 59 | > 60 | if (!(window as any).google || !(window as any).google.ima) { 61 | return; 62 | } 63 | ``` ``` Error: Unexpected member object type: TSAsExpression Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/LXSMNSYC/indigo-player-2/src/extensions/GoogleIMAExtension/GoogleIMAExtension.ts:60 Rule: "@typescript-eslint/prefer-optional-chain" at getMemberExpressionText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:384:17) at getText (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:358:14) at LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > Identifier,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > MemberExpression,LogicalExpression[operator="||"] > UnaryExpression[operator="!"] > ChainExpression > MemberExpression (/github/workspace/ci/node_modules/@typescript-eslint/eslint-plugin/src/rules/prefer-optional-chain.ts:141:32) at ruleErrorHandler (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/linter.js:1114:28) at /github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58 at Array.forEach () at Object.emit (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38) at NodeEventGenerator.applySelector (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:297:26) at NodeEventGenerator.applySelectors (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:326:22) at NodeEventGenerator.enterNode (/github/workspace/ci/node_modules/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:340:14) ```
github-actions[bot] commented 1 year ago

Detected 2 ESLint reports and/or crashes. Scanned 611 repositories.

Rules:

Click to expand ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/logux/state/computed/index.d.ts:29 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `logux/state/computed/index.d.ts` - [Link](https://github.com/logux/state/blob/HEAD/computed/index.d.ts#L29) ```ts 27 | ( 28 | stores: [...OriginStores], > 29 | cb: (...values: StoreValues) => Value 30 | ): ReadableAtom 31 | ( 32 | stores: OriginStore, ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/logux/state/computed/index.d.ts:29 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ``` ## Rule: @typescript-eslint/prefer-readonly-parameter-types - Message: `Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/logux/state/deprecated/index.d.ts:27 Rule: "@typescript-eslint/prefer-readonly-parameter-types"` - Path: `logux/state/deprecated/index.d.ts` - [Link](https://github.com/logux/state/blob/HEAD/deprecated/index.d.ts#L27) ```ts 25 | ( 26 | stores: [...OriginStores], > 27 | cb: (...values: StoreValues) => Value 28 | ): ReadableAtom 29 | } 30 | ``` ``` TypeError: Cannot read property 'flags' of undefined Occurred while linting /github/workspace/ci/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/logux/state/deprecated/index.d.ts:27 Rule: "@typescript-eslint/prefer-readonly-parameter-types" at Object.isUnionType (/github/workspace/ci/node_modules/tsutils/typeguard/2.8/type.ts:68:18) at unionTypeParts (/github/workspace/ci/node_modules/tsutils/util/type.ts:145:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:237:21) at isReadonlyPropertyFromMappedType (/github/workspace/ci/node_modules/tsutils/util/type.ts:289:12) at /github/workspace/ci/node_modules/tsutils/util/type.ts:264:21 at someTypePart (/github/workspace/ci/node_modules/tsutils/util/type.ts:154:52) at isReadonlyPropertyIntersection (/github/workspace/ci/node_modules/tsutils/util/type.ts:257:12) at isPropertyReadonlyInType (/github/workspace/ci/node_modules/tsutils/util/type.ts:247:45) at isTypeReadonlyObject (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:156:35) at isTypeReadonlyRecurser (/github/workspace/ci/node_modules/@typescript-eslint/type-utils/src/isTypeReadonly.ts:296:28) ```