Skip to content

M2-5381: Add initial set of linting rules for mobile repository #9

M2-5381: Add initial set of linting rules for mobile repository

M2-5381: Add initial set of linting rules for mobile repository #9

Triggered via pull request February 22, 2024 20:56
Status Success
Total duration 2m 46s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

51 warnings
assetsTransformer.js#L4
'config' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)
assetsTransformer.js#L4
'options' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)
index.js#L22
'isHeadless' is missing in props validation (react/prop-types)
src/app/index.tsx#L17
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/AnalyticsProvider.tsx#L9
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L35
Expected '!==' and instead saw '!=' (eqeqeq)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L44
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L50
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L59
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReactQueryProvider.tsx#L62
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/app/ui/AppProvider/ReduxProvider.tsx#L26
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/app/ui/AppProvider/ReduxProvider.tsx#L37
Unsafe argument of type `any` assigned to a parameter of type `CombinedState<{ identity: InitialState; applets: InitialState; streaming: StreamingState; }> | undefined` (@typescript-eslint/no-unsafe-argument)
src/app/ui/AppProvider/ReduxProvider.tsx#L50
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/app/ui/AppProvider/ReduxProvider.tsx#L50
Unsafe member access .default on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/app/ui/AppProvider/ReduxProvider.tsx#L51
Unsafe argument of type `any` assigned to a parameter of type `ThunkMiddleware<CombinedState<{ identity: InitialState; applets: InitialState; streaming: StreamingState; }>, AnyAction, undefined>` (@typescript-eslint/no-unsafe-argument)
src/app/ui/AppProvider/ReduxProvider.tsx#L51
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
src/entities/abTrail/ui/AbCanvas.tsx#L113
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L151
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L152
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L180
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L180
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbCanvas.tsx#L378
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L38
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L44
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L46
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L48
Unsafe argument of type `any` assigned to a parameter of type `DataSourceParam` (@typescript-eslint/no-unsafe-argument)
src/entities/abTrail/ui/AbShapes.tsx#L71
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L83
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/abTrail/ui/AbShapes.tsx#L126
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/hooks/useQueueProcessing.ts#L45
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L26
Async arrow function 'openAlert' has no 'await' expression (@typescript-eslint/require-await)
src/entities/activity/lib/hooks/useRetryUpload.ts#L30
Promise-returning function provided to property where a void return was expected (@typescript-eslint/no-misused-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L38
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L43
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator (@typescript-eslint/no-floating-promises)
src/entities/activity/lib/hooks/useRetryUpload.ts#L60
Promise-returning function provided to property where a void return was expected (@typescript-eslint/no-misused-promises)
src/entities/activity/lib/services/AnswersQueueService.ts#L58
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersQueueService.ts#L85
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersQueueService.ts#L87
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersUploadService.test.js#L13
'data' is defined but never used. Allowed unused args must match /^_/u (unused-imports/no-unused-vars)
src/entities/activity/lib/services/AnswersUploadService.ts#L84
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersUploadService.ts#L88
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersUploadService.ts#L169
Forbidden non-null assertion (@typescript-eslint/no-non-null-assertion)
src/entities/activity/lib/services/AnswersUploadService.ts#L172
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L202
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L256
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L287
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L306
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L319
Invalid type "unknown" of template literal expression (@typescript-eslint/restrict-template-expressions)
src/entities/activity/lib/services/AnswersUploadService.ts#L351
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/entities/activity/lib/services/AnswersUploadService.ts#L352
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: wearerequired/lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.