Skip to content

M2-4835: Linting rules for mindlogger-app #6

M2-4835: Linting rules for mindlogger-app

M2-4835: Linting rules for mindlogger-app #6

Triggered via pull request February 21, 2024 20:17
Status Failure
Total duration 2m 40s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 10 warnings
src/entities/flanker/lib/utils/helpers.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/notification/model/factory/tests/NotificationBuilder.alwaysAvailable.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/notification/model/factory/tests/NotificationBuilder.daily.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/notification/model/factory/tests/NotificationBuilder.monthly.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/notification/model/factory/tests/NotificationBuilder.weekly.test.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/features/pass-survey/model/hooks/useActivityStepper.ts#L1
There are issues with this file's formatting, please run Prettier to fix the errors
src/entities/flanker/lib/utils/helpers.ts#L27
Delete `··` (prettier/prettier)
src/entities/flanker/lib/utils/helpers.ts#L28
Delete `··` (prettier/prettier)
src/features/pass-survey/model/hooks/useActivityStepper.ts#L79
Delete `··` (prettier/prettier)
src/features/pass-survey/model/hooks/useActivityStepper.ts#L80
Delete `··` (prettier/prettier)
Lint
Linting failures detected. See check runs with annotations for details.
index.js#L26
'React' must be in scope when using JSX (react/react-in-jsx-scope)
src/entities/event/model/operations/ScheduledDateCalculator.test.js#L461
'tempGetNow' is already declared in the upper scope on line 7 column 7 (no-shadow)
src/features/pass-survey/lib/markdownVariableReplacer.ts#L204
Unnecessary escape character: \[ (no-useless-escape)
src/features/streaming/ui/ConnectionModal.tsx#L26
Inline style: { flex: 1 } (react-native/no-inline-styles)
src/screens/ui/LoginScreen.tsx#L61
Inline style: { paddingVertical: 16 } (react-native/no-inline-styles)
src/screens/ui/SignUpScreen.tsx#L27
Inline style: { flex: 1 } (react-native/no-inline-styles)
src/shared/lib/encryption/encryption.test.js#L113
Describe block title is used multiple times in the same describe block (jest/no-identical-title)
src/shared/lib/utils/file.ts#L5
Unnecessary escape character: \/ (no-useless-escape)
src/shared/ui/survey/AudioRecorderItem.tsx#L140
Unnecessary escape character: \/ (no-useless-escape)
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/.