Skip to content

chore: Code style enforcement (2/n)#7191

Open
tassoevan wants to merge 2 commits intodevelopfrom
chore/stylistic-changes-2
Open

chore: Code style enforcement (2/n)#7191
tassoevan wants to merge 2 commits intodevelopfrom
chore/stylistic-changes-2

Conversation

@tassoevan
Copy link
Copy Markdown
Member

@tassoevan tassoevan commented Apr 20, 2026

Proposed changes

It reviews React-related lint rules to aim consistency.

Issue(s)

Task NATIVE-1117

How to test or reproduce

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

@tassoevan tassoevan requested a deployment to approve_e2e_testing April 20, 2026 23:57 — with GitHub Actions Waiting
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 20, 2026

Important

Review skipped

Too many files!

This PR contains 300 files, which is 150 over the limit of 150.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6f67d762-3270-42a9-a867-c531f51ccc07

📥 Commits

Reviewing files that changed from the base of the PR and between 9d43512 and 72b5d01.

📒 Files selected for processing (300)
  • .eslintrc.js
  • app/AppContainer.tsx
  • app/containers/ActionSheet/ActionSheet.tsx
  • app/containers/ActionSheet/ActionSheetContentWithInputAndSubmit/index.tsx
  • app/containers/ActionSheet/BottomSheetContent.tsx
  • app/containers/ActionSheet/Handle.tsx
  • app/containers/ActionSheet/Item.tsx
  • app/containers/ActionSheet/Provider.tsx
  • app/containers/ActivityIndicator.tsx
  • app/containers/AppVersion.tsx
  • app/containers/AudioPlayer/PlayButton.tsx
  • app/containers/AudioPlayer/PlaybackSpeed.tsx
  • app/containers/AudioPlayer/Seek.tsx
  • app/containers/AudioPlayer/index.tsx
  • app/containers/Avatar/Avatar.stories.tsx
  • app/containers/Avatar/Avatar.tsx
  • app/containers/Avatar/AvatarContainer.tsx
  • app/containers/Avatar/AvatarWithEdit.tsx
  • app/containers/Avatar/interfaces.ts
  • app/containers/BackgroundContainer/index.stories.tsx
  • app/containers/BackgroundContainer/index.tsx
  • app/containers/Button/Button.stories.tsx
  • app/containers/Button/Button.test.tsx
  • app/containers/Button/index.tsx
  • app/containers/CallHeader.tsx
  • app/containers/ChangePasswordRequired.tsx
  • app/containers/Check.tsx
  • app/containers/Chip/Chip.stories.tsx
  • app/containers/Chip/Chip.test.tsx
  • app/containers/Chip/index.tsx
  • app/containers/CollapsibleText/CollapsibleText.stories.tsx
  • app/containers/CollapsibleText/index.tsx
  • app/containers/CustomFields/index.tsx
  • app/containers/CustomIcon/index.tsx
  • app/containers/DirectoryItem/DirectoryItem.stories.tsx
  • app/containers/DirectoryItem/index.tsx
  • app/containers/DotsLoader/index.tsx
  • app/containers/EmojiPicker/CustomEmoji.tsx
  • app/containers/EmojiPicker/Emoji.tsx
  • app/containers/EmojiPicker/EmojiCategory.tsx
  • app/containers/EmojiPicker/EmojiSearch.tsx
  • app/containers/EmojiPicker/Footer.tsx
  • app/containers/EmojiPicker/PressableEmoji.tsx
  • app/containers/EmojiPicker/index.tsx
  • app/containers/FormContainer.tsx
  • app/containers/Header/components/HeaderButton/Common.tsx
  • app/containers/Header/components/HeaderButton/HeaderButtonContainer.tsx
  • app/containers/Header/components/HeaderButton/HeaderButtonItem.tsx
  • app/containers/Header/components/HeaderButton/HeaderButtonItemBadge.tsx
  • app/containers/Header/components/HeaderButton/HeaderButtons.stories.tsx
  • app/containers/Header/components/HeaderContainer/index.tsx
  • app/containers/Header/components/HeaderTitle/index.tsx
  • app/containers/Header/index.tsx
  • app/containers/ImageViewer/ImageViewer.tsx
  • app/containers/InAppNotification/IncomingCallNotification/index.tsx
  • app/containers/InAppNotification/NotifierComponent.stories.tsx
  • app/containers/InAppNotification/NotifierComponent.tsx
  • app/containers/InAppNotification/index.tsx
  • app/containers/KeyboardView.tsx
  • app/containers/List/List.stories.tsx
  • app/containers/List/ListContainer.tsx
  • app/containers/List/ListHeader.tsx
  • app/containers/List/ListIcon.tsx
  • app/containers/List/ListInfo.tsx
  • app/containers/List/ListItem.tsx
  • app/containers/List/ListRadio.tsx
  • app/containers/List/ListSection.tsx
  • app/containers/List/ListSeparator.tsx
  • app/containers/Loading/Loading.test.tsx
  • app/containers/Loading/index.tsx
  • app/containers/LoginServices/ButtonService.tsx
  • app/containers/LoginServices/LoginServices.stories.tsx
  • app/containers/LoginServices/Service.tsx
  • app/containers/LoginServices/ServicesSeparator.tsx
  • app/containers/LoginServices/index.tsx
  • app/containers/MessageActions/Header.tsx
  • app/containers/MessageActions/index.tsx
  • app/containers/MessageComposer/MessageComposer.test.tsx
  • app/containers/MessageComposer/MessageComposer.tsx
  • app/containers/MessageComposer/MessageComposerContainer.tsx
  • app/containers/MessageComposer/components/Autocomplete/Autocomplete.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteCannedResponse.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteEmoji.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteItem.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteItemLoading.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompletePreview.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteSlashCommand.tsx
  • app/containers/MessageComposer/components/Autocomplete/AutocompleteUserRoom.tsx
  • app/containers/MessageComposer/components/Buttons/ActionsButton.tsx
  • app/containers/MessageComposer/components/Buttons/BaseButton.tsx
  • app/containers/MessageComposer/components/Buttons/MicOrSendButton.tsx
  • app/containers/MessageComposer/components/CancelEdit.tsx
  • app/containers/MessageComposer/components/ComposerInput.tsx
  • app/containers/MessageComposer/components/EmojiSearchbar.tsx
  • app/containers/MessageComposer/components/Gap.tsx
  • app/containers/MessageComposer/components/Quotes/Quote.tsx
  • app/containers/MessageComposer/components/Quotes/Quotes.tsx
  • app/containers/MessageComposer/components/RecordAudio/CancelButton.tsx
  • app/containers/MessageComposer/components/RecordAudio/Duration.tsx
  • app/containers/MessageComposer/components/RecordAudio/RecordAudio.tsx
  • app/containers/MessageComposer/components/RecordAudio/ReviewButton.tsx
  • app/containers/MessageComposer/components/SendThreadToChannel.tsx
  • app/containers/MessageComposer/components/Toolbar/Container.tsx
  • app/containers/MessageComposer/components/Toolbar/Default.tsx
  • app/containers/MessageComposer/components/Toolbar/EmojiKeyboard.tsx
  • app/containers/MessageComposer/components/Toolbar/EmptySpace.tsx
  • app/containers/MessageComposer/components/Toolbar/Markdown.tsx
  • app/containers/MessageComposer/components/Toolbar/Toolbar.tsx
  • app/containers/MessageComposer/components/Unfocused/Left.tsx
  • app/containers/MessageComposer/components/Unfocused/Right.tsx
  • app/containers/MessageComposer/context.tsx
  • app/containers/MessageComposer/hooks/useEmojiKeyboard.test.tsx
  • app/containers/MessageComposer/hooks/useEmojiKeyboard.tsx
  • app/containers/MessageSeparator.tsx
  • app/containers/NativeButton/index.tsx
  • app/containers/NewWindowIcon.tsx
  • app/containers/OrSeparator.tsx
  • app/containers/Passcode/Base/Base.stories.tsx
  • app/containers/Passcode/Base/Base.test.tsx
  • app/containers/Passcode/Base/Button.tsx
  • app/containers/Passcode/Base/Dots.tsx
  • app/containers/Passcode/Base/LockIcon.tsx
  • app/containers/Passcode/Base/Locked.tsx
  • app/containers/Passcode/Base/Subtitle.tsx
  • app/containers/Passcode/Base/Title.tsx
  • app/containers/Passcode/Base/index.tsx
  • app/containers/Passcode/PasscodeChoose.tsx
  • app/containers/Passcode/PasscodeEnter.tsx
  • app/containers/PasswordPolicies/components/Tip.tsx
  • app/containers/PasswordPolicies/index.tsx
  • app/containers/Radio/index.tsx
  • app/containers/ReactionsList/AllTab.tsx
  • app/containers/ReactionsList/ReactionsList.stories.tsx
  • app/containers/ReactionsList/ReactionsList.test.tsx
  • app/containers/ReactionsList/UsersList.tsx
  • app/containers/ReactionsList/index.tsx
  • app/containers/Ringer/index.tsx
  • app/containers/RoomHeader/RoomHeader.stories.tsx
  • app/containers/RoomHeader/RoomHeader.tsx
  • app/containers/RoomHeader/index.tsx
  • app/containers/RoomItem/Actions.tsx
  • app/containers/RoomItem/IconOrAvatar.tsx
  • app/containers/RoomItem/LastMessage.tsx
  • app/containers/RoomItem/RoomItem.stories.tsx
  • app/containers/RoomItem/RoomItem.tsx
  • app/containers/RoomItem/Tag.tsx
  • app/containers/RoomItem/Title.tsx
  • app/containers/RoomItem/Touchable.tsx
  • app/containers/RoomItem/TypeIcon.tsx
  • app/containers/RoomItem/UpdatedAt.tsx
  • app/containers/RoomItem/Wrapper.tsx
  • app/containers/RoomItem/index.tsx
  • app/containers/RoomItem/interfaces.ts
  • app/containers/RoomTypeIcon/OmnichannelRoomIcon.tsx
  • app/containers/RoomTypeIcon/RoomTypeIcon.stories.tsx
  • app/containers/RoomTypeIcon/index.tsx
  • app/containers/SafeAreaView.tsx
  • app/containers/SearchBox/SearchBox.stories.tsx
  • app/containers/SearchBox/SearchBox.test.tsx
  • app/containers/SearchBox/index.tsx
  • app/containers/SearchHeader.tsx
  • app/containers/SelectedUsers/index.tsx
  • app/containers/ServerItem/ServerItem.stories.tsx
  • app/containers/ServerItem/SwipeableDeleteItem/Actions.tsx
  • app/containers/ServerItem/SwipeableDeleteItem/Touchable.tsx
  • app/containers/ServerItem/Touchable.tsx
  • app/containers/ServerItem/index.tsx
  • app/containers/Status/Status.stories.tsx
  • app/containers/Status/Status.tsx
  • app/containers/Status/index.tsx
  • app/containers/StatusBar.tsx
  • app/containers/SupportedVersions/SupportedVersionsExpired.tsx
  • app/containers/SupportedVersions/SupportedVersionsWarning.test.tsx
  • app/containers/SupportedVersions/SupportedVersionsWarning.tsx
  • app/containers/Switch/index.tsx
  • app/containers/TabView/index.test.tsx
  • app/containers/TabView/index.tsx
  • app/containers/TextInput/ControlledFormTextInput.tsx
  • app/containers/TextInput/FormTextInput.test.tsx
  • app/containers/TextInput/FormTextInput.tsx
  • app/containers/TextInput/TextInput.stories.tsx
  • app/containers/TextInput/TextInput.tsx
  • app/containers/ThreadDetails.tsx
  • app/containers/Toast.tsx
  • app/containers/Touch.tsx
  • app/containers/TwoFactor/index.tsx
  • app/containers/UIKit/Actions.tsx
  • app/containers/UIKit/Context.tsx
  • app/containers/UIKit/DatePicker.tsx
  • app/containers/UIKit/Divider.tsx
  • app/containers/UIKit/Icon.test.tsx
  • app/containers/UIKit/Icon.tsx
  • app/containers/UIKit/IconButton.tsx
  • app/containers/UIKit/Image.tsx
  • app/containers/UIKit/InfoCard.test.tsx
  • app/containers/UIKit/InfoCard.tsx
  • app/containers/UIKit/Input.tsx
  • app/containers/UIKit/MessageBlock.tsx
  • app/containers/UIKit/MultiSelect/Chips.tsx
  • app/containers/UIKit/MultiSelect/Input.tsx
  • app/containers/UIKit/MultiSelect/Items.tsx
  • app/containers/UIKit/MultiSelect/MultiSelect.test.tsx
  • app/containers/UIKit/MultiSelect/MultiSelectContent.tsx
  • app/containers/UIKit/MultiSelect/index.tsx
  • app/containers/UIKit/Overflow.tsx
  • app/containers/UIKit/Section.tsx
  • app/containers/UIKit/Select.tsx
  • app/containers/UIKit/UiKitMessage.stories.tsx
  • app/containers/UIKit/UiKitModal.stories.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/CallParticipants.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceBaseContainer.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceDirect.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceEnded.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceIssue.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceOutgoing.tsx
  • app/containers/UIKit/VideoConferenceBlock/components/VideoConferenceSkeletonLoading.tsx
  • app/containers/UIKit/VideoConferenceBlock/index.tsx
  • app/containers/UIKit/index.tsx
  • app/containers/UIKit/interfaces.ts
  • app/containers/UIKit/utils.ts
  • app/containers/UnreadBadge/UnreadBadge.stories.tsx
  • app/containers/UnreadBadge/index.tsx
  • app/containers/UserGeneratedContentRules.tsx
  • app/containers/UserItem.tsx
  • app/containers/markdown/Markdown.stories.tsx
  • app/containers/markdown/Markdown.textStyle.test.tsx
  • app/containers/markdown/components/Heading.tsx
  • app/containers/markdown/components/Image.tsx
  • app/containers/markdown/components/Inline.tsx
  • app/containers/markdown/components/InlineCode.tsx
  • app/containers/markdown/components/Katex.tsx
  • app/containers/markdown/components/LineBreak.tsx
  • app/containers/markdown/components/Paragraph.tsx
  • app/containers/markdown/components/Plain.tsx
  • app/containers/markdown/components/Preview.tsx
  • app/containers/markdown/components/Quote.tsx
  • app/containers/markdown/components/Timestamp.tsx
  • app/containers/markdown/components/code/Code.tsx
  • app/containers/markdown/components/code/CodeLine.tsx
  • app/containers/markdown/components/emoji/BigEmoji.tsx
  • app/containers/markdown/components/emoji/Emoji.tsx
  • app/containers/markdown/components/inline/Bold.tsx
  • app/containers/markdown/components/inline/Italic.tsx
  • app/containers/markdown/components/inline/Link.tsx
  • app/containers/markdown/components/inline/Strike.tsx
  • app/containers/markdown/components/list/OrderedList.tsx
  • app/containers/markdown/components/list/TaskList.tsx
  • app/containers/markdown/components/list/UnorderedList.tsx
  • app/containers/markdown/components/mentions/AtMention.tsx
  • app/containers/markdown/components/mentions/Hashtag.tsx
  • app/containers/markdown/contexts/MarkdownContext.ts
  • app/containers/markdown/index.tsx
  • app/containers/message/Blocks.ts
  • app/containers/message/Broadcast.tsx
  • app/containers/message/CallButton.tsx
  • app/containers/message/Components/Attachments/AttachedActions.tsx
  • app/containers/message/Components/Attachments/Attachments.tsx
  • app/containers/message/Components/Attachments/Audio.tsx
  • app/containers/message/Components/Attachments/CollapsibleQuote/CollapsibleQuote.stories.tsx
  • app/containers/message/Components/Attachments/CollapsibleQuote/CollapsibleQuote.test.tsx
  • app/containers/message/Components/Attachments/CollapsibleQuote/index.tsx
  • app/containers/message/Components/Attachments/Image/Button.tsx
  • app/containers/message/Components/Attachments/Image/Container.tsx
  • app/containers/message/Components/Attachments/Image/Image.tsx
  • app/containers/message/Components/Attachments/Image/ImageBadge.tsx
  • app/containers/message/Components/Attachments/Quote.tsx
  • app/containers/message/Components/Attachments/Reply.tsx
  • app/containers/message/Components/Attachments/Video.tsx
  • app/containers/message/Components/OverlayComponent/index.tsx
  • app/containers/message/Components/RightIcons/Edited.tsx
  • app/containers/message/Components/RightIcons/Encrypted.tsx
  • app/containers/message/Components/RightIcons/MessageError.tsx
  • app/containers/message/Components/RightIcons/Pinned.tsx
  • app/containers/message/Components/RightIcons/ReadReceipt.tsx
  • app/containers/message/Components/RightIcons/Translated.tsx
  • app/containers/message/Components/RightIcons/index.tsx
  • app/containers/message/Content.tsx
  • app/containers/message/Context.ts
  • app/containers/message/Discussion.tsx
  • app/containers/message/Emoji.tsx
  • app/containers/message/Message.stories.tsx
  • app/containers/message/Message.tsx
  • app/containers/message/MessageAvatar.tsx
  • app/containers/message/Preview.tsx
  • app/containers/message/Reactions.test.tsx
  • app/containers/message/Reactions.tsx
  • app/containers/message/RepliedThread.tsx
  • app/containers/message/Thread.tsx
  • app/containers/message/Time.tsx
  • app/containers/message/Touch.tsx
  • app/containers/message/Touchable.tsx
  • app/containers/message/Urls.tsx
  • app/containers/message/User.tsx
  • app/containers/message/index.tsx
  • app/definitions/IProfile.ts
  • app/dimensions.tsx
  • app/ee/omnichannel/containers/OmnichannelHeader/OmnichannelQueue.tsx
  • app/ee/omnichannel/containers/OmnichannelHeader/index.tsx
  • app/ee/omnichannel/views/QueueListView.tsx
  • app/index.tsx

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@tassoevan tassoevan requested a deployment to experimental_ios_build April 21, 2026 00:01 — with GitHub Actions Waiting
@tassoevan tassoevan requested a deployment to official_android_build April 21, 2026 00:01 — with GitHub Actions Waiting
@tassoevan tassoevan requested a deployment to experimental_android_build April 21, 2026 00:01 — with GitHub Actions Waiting
@tassoevan tassoevan requested a deployment to official_ios_build April 21, 2026 00:01 — with GitHub Actions Waiting
@tassoevan tassoevan marked this pull request as ready for review April 21, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant