Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #395

Open
AnonymousWebHacker opened this issue Apr 17, 2021 · 6 comments
Open

Error #395

AnonymousWebHacker opened this issue Apr 17, 2021 · 6 comments

Comments

@AnonymousWebHacker
Copy link

npm run start

`Compiled with warnings.

./src/Components/Message/Media/PollPercentage.js
Line 106: 'chosen' is assigned a value but never used no-unused-vars
Line 106: 'closed' is assigned a value but never used no-unused-vars
Line 106: 'onClick' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Anchor.js
Line 10: 'RichText' is defined but never used no-unused-vars
Line 13: Anchors must have content and the content must be accessible by a screen reader jsx-a11y/anchor-has-content
Line 13: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/Tile/DialogPlaceholder.js
Line 10: 'classNames' is defined but never used no-unused-vars

./src/Components/Message/Album/Album.js
Line 112: 'selected' is assigned a value but never used no-unused-vars
Line 168: 't' is assigned a value but never used no-unused-vars
Line 172: 'highlighted' is assigned a value but never used no-unused-vars
Line 174: 'copyLink' is assigned a value but never used no-unused-vars
Line 175: 'contextMenu' is assigned a value but never used no-unused-vars
Line 176: 'left' is assigned a value but never used no-unused-vars
Line 177: 'top' is assigned a value but never used no-unused-vars
Line 208: 't' was used before it was defined no-use-before-define
Line 246: Expected a default case default-case

./src/Utils/Localization.js
Line 113: Unexpected mix of '&&' and '||' no-mixed-operators
Line 113: Unexpected mix of '||' and '&&' no-mixed-operators
Line 113: Unexpected mix of '&&' and '||' no-mixed-operators
Line 113: Unexpected mix of '||' and '&&' no-mixed-operators
Line 113: Unexpected mix of '||' and '&&' no-mixed-operators
Line 113: Unexpected mix of '||' and '&&' no-mixed-operators
Line 292: Unnecessary escape character: ) no-useless-escape
Line 296: Unnecessary escape character: + no-useless-escape
Line 296: Unnecessary escape character: - no-useless-escape
Line 332: Expected '===' and instead saw '==' eqeqeq
Line 344: Expected a default case default-case

./src/Components/ColumnMiddle/ActionBar.js
Line 114: Expected a default case default-case

./src/Utils/Message.js
Line 11: 'Poll' is defined but never used no-unused-vars
Line 64: Expected a default case default-case
Line 81: Expected a default case default-case
Line 112: Expected a default case default-case
Line 168: Expected a default case default-case
Line 330: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
Line 355: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
Line 523: Expected a default case default-case
Line 544: Expected a default case default-case
Line 632: 'is_outgoing' is assigned a value but never used no-unused-vars
Line 894: Expected a default case default-case
Line 973: Expected a default case default-case
Line 981: Expected a default case default-case
Line 1016: Expected a default case default-case
Line 1037: Expected a default case default-case
Line 1061: Expected a default case default-case
Line 1080: Expected a default case default-case
Line 1112: Expected a default case default-case
Line 1136: Unreachable code no-unreachable
Line 1149: Unreachable code no-unreachable
Line 1157: Unreachable code no-unreachable
Line 1165: Unreachable code no-unreachable
Line 1559: Expected a default case default-case
Line 1719: Expected a default case default-case
Line 1829: Expected a default case default-case
Line 1945: Unreachable code no-unreachable
Line 2830: Expected a default case default-case

./src/Stores/NotificationStore.js
Line 11: 'AppStore' is defined but never used no-unused-vars
Line 102: Expected a default case default-case

./src/Components/Tile/UserPlaceholder.js
Line 11: 'UserStatus' is defined but never used no-unused-vars

./src/Components/Calls/GroupCallMicButton.js
Line 121: 'is_muted' is assigned a value but never used no-unused-vars
Line 170: 'chatId' is assigned a value but never used no-unused-vars
Line 170: 'stream' is assigned a value but never used no-unused-vars

./src/Components/Viewer/ProfileMediaViewer.js
Line 123: Expected a default case default-case
Line 209: 'inputMessagePhoto' is assigned a value but never used no-unused-vars

./src/Components/Additional/IframeResizer.js
Line 125: <iframe> elements must have a unique title property jsx-a11y/iframe-has-title

./src/Components/Message/Media/Poll.js
Line 12: 'Dialog' is defined but never used no-unused-vars
Line 13: 'DialogContent' is defined but never used no-unused-vars
Line 14: 'DialogTitle' is defined but never used no-unused-vars
Line 180: Expected a default case default-case

./src/Components/Message/Forward.js
Line 12: 'Tooltip' is defined but never used no-unused-vars
Line 36: Expected a default case default-case
Line 57: 'arrowRef' is assigned a value but never used no-unused-vars
Line 60: 'tooltip' is assigned a value but never used no-unused-vars
Line 88: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/Tile/SharedMedia/SharedPhoto.js
Line 133: 'isBlurred' is assigned a value but never used no-unused-vars

./src/Components/Message/Meta.js
Line 133: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/Tile/SharedMedia/SharedLink.js
Line 134: 'display_url' is assigned a value but never used no-unused-vars
Line 199: Expected a default case default-case

./src/Components/Additional/SafeLink.js
Line 139: 'is_public' is assigned a value but never used no-unused-vars
Line 139: 'for_album' is assigned a value but never used no-unused-vars
Line 139: 'for_comment' is assigned a value but never used no-unused-vars
Line 171: 'need_update_application' is assigned a value but never used no-unused-vars
Line 194: Expected a default case default-case
Line 368: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnMiddle/PinnedMessage.js
Line 13: 'IconButton' is defined but never used no-unused-vars
Line 16: 'PlaylistEditIcon' is defined but never used no-unused-vars
Line 329: 'minithumbnail' is assigned a value but never used no-unused-vars

./src/Components/Auth/Code.js
Line 141: Expected a default case default-case
Line 163: Expected a default case default-case

./src/Utils/Media.js
Line 149: Expected a default case default-case
Line 407: Expected a default case default-case

./src/Components/ColumnRight/SharedMediaHeader.js
Line 14: Useless constructor no-useless-constructor

./src/Components/InstantView/Blocks/EmbeddedPost.js
Line 14: 'RichText' is defined but never used no-unused-vars
Line 17: 'url' is assigned a value but never used no-unused-vars
Line 17: 'authorPhoto' is assigned a value but never used no-unused-vars

./src/Components/ColumnLeft/Settings/EditProfile.js
Line 151: Expected a default case default-case

./src/Components/Popup/CreatePollDialog.js
Line 151: Expected a default case default-case

./src/Components/Viewer/MediaViewer.js
Line 158: Expected a default case default-case
Line 441: Expected a default case default-case
Line 726: Expected a default case default-case
Line 840: 'width' is assigned a value but never used no-unused-vars
Line 840: 'height' is assigned a value but never used no-unused-vars
Line 840: 'mimeType' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Video.js
Line 15: 'needAutoplay' is assigned a value but never used no-unused-vars
Line 15: 'isLooped' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Photo.js
Line 15: 'url' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Animation.js
Line 15: 'need_autoplay' is assigned a value but never used no-unused-vars

./src/Components/Tile/SharedMedia/SharedVideo.js
Line 15: 'THUMBNAIL_BLURRED_SIZE_90' is defined but never used no-unused-vars

./src/Components/ColumnRight/ChatDetails.js
Line 15: 'GroupIcon' is defined but never used no-unused-vars
Line 18: 'Divider' is defined but never used no-unused-vars
Line 20: 'HeadsetIcon' is defined but never used no-unused-vars
Line 22: 'InsertDriveFileIcon' is defined but never used no-unused-vars
Line 23: 'InsertLinkIcon' is defined but never used no-unused-vars
Line 28: 'MicIcon' is defined but never used no-unused-vars
Line 29: 'PhotoIcon' is defined but never used no-unused-vars
Line 31: 'VideocamIcon' is defined but never used no-unused-vars
Line 59: 'MessageStore' is defined but never used no-unused-vars
Line 94: 'chatId' is assigned a value but never used no-unused-vars
Line 140: 'scrollHeight' is assigned a value but never used no-unused-vars
Line 140: 'offsetHeight' is assigned a value but never used no-unused-vars
Line 375: 'photoCount' is assigned a value but never used no-unused-vars
Line 375: 'videoCount' is assigned a value but never used no-unused-vars
Line 375: 'documentCount' is assigned a value but never used no-unused-vars
Line 375: 'audioCount' is assigned a value but never used no-unused-vars
Line 375: 'urlCount' is assigned a value but never used no-unused-vars
Line 375: 'voiceAndVideoNoteCount' is assigned a value but never used no-unused-vars
Line 389: 'groupInCommonCount' is assigned a value but never used no-unused-vars
Line 398: 'isGroup' is assigned a value but never used no-unused-vars
Line 415: 'items' is assigned a value but never used no-unused-vars

./src/Components/Message/Media/Waveform.js
Line 16: 'id' is assigned a value but never used no-unused-vars

./src/Utils/Archive.js
Line 16: 'chatId' is defined but never used no-unused-vars

./src/Components/Popup/PollOptionResults.js
Line 16: 'UserStore' is defined but never used no-unused-vars
Line 171: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnMiddle/InputBoxHeader.js
Line 16: 'TdLibController' is defined but never used no-unused-vars

./src/Components/InstantView/RichText/Anchor.js
Line 16: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnMiddle/GifsPicker.js
Line 173: 'recent' is assigned a value but never used no-unused-vars
Line 173: 'sets' is assigned a value but never used no-unused-vars
Line 232: 't' is assigned a value but never used no-unused-vars

./src/Components/ColumnMiddle/Header.js
Line 179: Expected a default case default-case
Line 204: Expected a default case default-case

./src/Components/ColumnLeft/SectionHeader.js
Line 17: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnLeft/DialogsList.js
Line 17: 'isChatMember' is defined but never used no-unused-vars
Line 17: 'positionListEquals' is defined but never used no-unused-vars
Line 26: 'DialogsHeader' is defined but never used no-unused-vars
Line 27: 'Filters' is defined but never used no-unused-vars
Line 91: 'chatList' is assigned a value but never used no-unused-vars
Line 464: 'lastPinnedId' is assigned a value but never used no-unused-vars
Line 472: 'lastPinnedId' is assigned a value but never used no-unused-vars

./src/Components/ColumnRight/ChatDetailsHeader.js
Line 17: Useless constructor no-useless-constructor

./src/Components/ColumnMiddle/MessagesList.js
Line 17: 'InputBoxHints' is defined but never used no-unused-vars
Line 131: 'scrollDownVisible' is assigned a value but never used no-unused-vars
Line 133: 'list' is assigned a value but never used no-unused-vars
Line 377: Expected a default case default-case
Line 1127: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1127: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1202: 'chatId' is assigned a value but never used no-unused-vars
Line 1202: 'messageId' is assigned a value but never used no-unused-vars
Line 1203: 'scrollTop' is assigned a value but never used no-unused-vars
Line 1203: 'scrollHeight' is assigned a value but never used no-unused-vars
Line 1203: 'offsetHeight' is assigned a value but never used no-unused-vars
Line 1218: Expected a default case default-case
Line 1246: 'offsetHeight' is assigned a value but never used no-unused-vars
Line 1270: 'messageId' is assigned a value but never used no-unused-vars
Line 1274: 'chat' is assigned a value but never used no-unused-vars
Line 1317: 'scrolled' is assigned a value but never used no-unused-vars
Line 1351: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1351: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1383: 'chatId' is assigned a value but never used no-unused-vars
Line 1383: 'messageId' is assigned a value but never used no-unused-vars
Line 1501: 'content' is assigned a value but never used no-unused-vars
Line 1560: 'is_outgoing' is assigned a value but never used no-unused-vars
Line 1693: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1693: Unexpected mix of '||' and '&&' no-mixed-operators

./src/Components/ColumnLeft/AddParticipants.js
Line 181: 'key' is defined but never used no-unused-vars
Line 211: 'currentOffsetHeight' is assigned a value but never used no-unused-vars
Line 252: 'key' is defined but never used no-unused-vars
Line 269: 'key' is defined but never used no-unused-vars
Line 286: 'el' is defined but never used no-unused-vars
Line 295: 'el' is defined but never used no-unused-vars

./src/Components/Tile/MediaInfo.js
Line 18: Useless constructor no-useless-constructor

./src/Components/Message/MessageAuthor.js
Line 18: 'UserTile' is defined but never used no-unused-vars
Line 19: 'ChatTile' is defined but never used no-unused-vars
Line 78: Expected a default case default-case
Line 96: Expected a default case default-case
Line 135: Expected a default case default-case
Line 168: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
Line 178: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnRight/SharedMedia/SharedMediaTabs.js
Line 191: Unexpected mix of '||' and '&&' no-mixed-operators
Line 191: Unexpected mix of '||' and '&&' no-mixed-operators
Line 192: Unexpected mix of '||' and '&&' no-mixed-operators
Line 192: Unexpected mix of '||' and '&&' no-mixed-operators
Line 193: Unexpected mix of '||' and '&&' no-mixed-operators
Line 193: Unexpected mix of '||' and '&&' no-mixed-operators
Line 194: Unexpected mix of '||' and '&&' no-mixed-operators
Line 194: Unexpected mix of '||' and '&&' no-mixed-operators
Line 195: Unexpected mix of '||' and '&&' no-mixed-operators
Line 195: Unexpected mix of '||' and '&&' no-mixed-operators
Line 196: Unexpected mix of '||' and '&&' no-mixed-operators
Line 196: Unexpected mix of '||' and '&&' no-mixed-operators
Line 197: Unexpected mix of '||' and '&&' no-mixed-operators
Line 197: Unexpected mix of '||' and '&&' no-mixed-operators
Line 257: 'isSmallWidth' is assigned a value but never used no-unused-vars

./src/Stores/ApplicationStore.js
Line 192: Expected a default case default-case

./src/Stores/FileStore.js
Line 195: Expected a default case default-case

./src/Components/Message/Media/Invoice.js
Line 19: 'total_amount' is assigned a value but never used no-unused-vars
Line 19: 'currency' is assigned a value but never used no-unused-vars

./src/Utils/Player.js
Line 19: Expected a default case default-case
Line 31: Expected a default case default-case
Line 36: Expected a default case default-case
Line 78: Expected a default case default-case
Line 93: Expected a default case default-case
Line 109: Expected a default case default-case
Line 139: Expected a default case default-case
Line 202: Expected a default case default-case

./src/Components/InstantView/InstantViewer.js
Line 210: 'block' is assigned a value but never used no-unused-vars
Line 243: Expected a default case default-case
Line 318: 'hasPrev' is assigned a value but never used no-unused-vars

./src/Components/Tile/FilterText.js
Line 21: 'Checkbox' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/Footer.js
Line 223: Expected a default case default-case
Line 233: Expected a default case default-case
Line 277: Expected a default case default-case

./src/Components/ColumnLeft/Settings/General.js
Line 22: 'SharedMediaIcon' is defined but never used no-unused-vars
Line 76: Expected a default case default-case

./src/Components/Calls/GroupCallMicButtonHint.js
Line 22: Expected a default case default-case

./src/Components/ColumnMiddle/InputBox.js
Line 237: 'chatId' is assigned a value but never used no-unused-vars
Line 237: 'messageId' is assigned a value but never used no-unused-vars
Line 600: 'replyToMessageId' is assigned a value but never used no-unused-vars
Line 695: 'rest' is assigned a value but never used no-unused-vars
Line 733: 'rest' is assigned a value but never used no-unused-vars
Line 793: 't0' is assigned a value but never used no-unused-vars
Line 796: 't1' is assigned a value but never used no-unused-vars
Line 909: 'key' is assigned a value but never used no-unused-vars
Line 909: 'keyCode' is assigned a value but never used no-unused-vars
Line 909: 'charCode' is assigned a value but never used no-unused-vars
Line 925: Expected a default case default-case
Line 1348: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1348: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1416: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1416: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1432: Unexpected mix of '&&' and '||' no-mixed-operators
Line 1433: Unexpected mix of '&&' and '||' no-mixed-operators
Line 1433: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1433: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1434: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1434: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1435: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1435: Unexpected mix of '||' and '&&' no-mixed-operators
Line 1674: Expected a default case default-case
Line 1705: Expected a default case default-case
Line 1858: 'newDraft' is assigned a value but never used no-unused-vars

./src/Components/ColumnLeft/Settings/PrivacySecurity.js
Line 23: 'SectionHeader' is defined but never used no-unused-vars
Line 28: 'CallOutlined' is defined but never used no-unused-vars

./src/Components/Message/Media/AudioAction.js
Line 24: Unexpected mix of '&&' and '||' no-mixed-operators
Line 24: Unexpected mix of '&&' and '||' no-mixed-operators
Line 117: 'active' is assigned a value but never used no-unused-vars
Line 177: Unexpected mix of '&&' and '||' no-mixed-operators
Line 177: Unexpected mix of '&&' and '||' no-mixed-operators
Line 178: 'isUploadingCompleted' is assigned a value but never used no-unused-vars
Line 194: 'isUploadingCompleted' is assigned a value but never used no-unused-vars

./src/Components/Popup/EditMediaDialog.js
Line 254: 'key' is assigned a value but never used no-unused-vars
Line 254: 'keyCode' is assigned a value but never used no-unused-vars
Line 254: 'code' is assigned a value but never used no-unused-vars
Line 263: Expected a default case default-case
Line 523: 'rest' is assigned a value but never used no-unused-vars

./src/Components/Actions.js
Line 259: Expected a default case default-case
Line 266: Expected a 'break' statement before 'case' no-fallthrough
Line 281: Expected a 'break' statement before 'case' no-fallthrough
Line 326: Expected a default case default-case
Line 557: Expected a default case default-case
Line 606: 'chatId' is assigned a value but never used no-unused-vars
Line 606: 'messageIds' is assigned a value but never used no-unused-vars

./src/Components/Message/Media/Sticker.js
Line 268: Expected a default case default-case

./src/Components/InstantView/Blocks/AuthorDate.js
Line 26: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Utils/InputTypingManager.js
Line 26: 'key' is defined but never used no-unused-vars
Line 26: 'value' is defined but never used no-unused-vars
Line 31: 'key' is defined but never used no-unused-vars
Line 63: 'key' is defined but never used no-unused-vars
Line 63: 'key' is assigned a value but never used no-unused-vars
Line 63: 'value' is defined but never used no-unused-vars

./src/Components/ColumnLeft/Settings/BlockedUsers.js
Line 26: 'TdLibController' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/HeaderCommand.js
Line 27: 'chatId' is defined but never used no-unused-vars
Line 27: 'messageId' is defined but never used no-unused-vars
Line 39: 'chatId' is defined but never used no-unused-vars
Line 39: 'messageId' is defined but never used no-unused-vars
Line 51: 'chatId' is defined but never used no-unused-vars
Line 51: 'messageId' is defined but never used no-unused-vars
Line 64: 'chatId' is defined but never used no-unused-vars
Line 64: 'messageId' is defined but never used no-unused-vars
Line 77: 'chatId' is defined but never used no-unused-vars
Line 77: 'messageId' is defined but never used no-unused-vars

./src/Components/Tile/Dialog.js
Line 282: 'isLastPinned' is assigned a value but never used no-unused-vars

./src/registerServiceWorker.js
Line 283: Expected a default case default-case
Line 285: 'start' is assigned a value but never used no-unused-vars
Line 285: 'end' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/RelatedArticle.js
Line 28: 'description' is assigned a value but never used no-unused-vars

./src/Components/Player/Hint.js
Line 29: 'animated' is assigned a value but never used no-unused-vars

./src/Calls/Utils.js
Line 29: Expected a default case default-case
Line 79: 'entry' is defined but never used no-unused-vars
Line 88: 'ssrc' is defined but never used no-unused-vars
Line 97: 'ssrc' is defined but never used no-unused-vars
Line 106: 'ssrc' is defined but never used no-unused-vars
Line 119: 'line' is defined but never used no-unused-vars

./src/Components/Popup/LeaveChatDialog.js
Line 29: Expected a default case default-case

./src/Components/Viewer/MediaViewerContent.js
Line 301: Expected a default case default-case
Line 333: <iframe> elements must have a unique title property jsx-a11y/iframe-has-title

./src/Stores/InstantViewStore.js
Line 30: Expected a default case default-case

./src/Stores/PollStore.js
Line 30: Expected a default case default-case

./src/Stores/AnimationStore.js
Line 30: Expected a default case default-case

./src/Components/Message/Media/Audio.js
Line 30: Unexpected mix of '&&' and '||' no-mixed-operators
Line 30: Unexpected mix of '&&' and '||' no-mixed-operators
Line 129: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnLeft/Settings/CreateFilter.js
Line 315: 'exclude_muted' is assigned a value but never used no-unused-vars
Line 316: 'exclude_read' is assigned a value but never used no-unused-vars
Line 317: 'exclude_archived' is assigned a value but never used no-unused-vars
Line 318: 'excluded_chat_ids' is assigned a value but never used no-unused-vars
Line 366: Expected a default case default-case
Line 484: 'shook' is assigned a value but never used no-unused-vars

./src/Stores/BasicGroupStore.js
Line 31: Expected a default case default-case

./src/Stores/SupergroupStore.js
Line 31: Expected a default case default-case

./src/Stores/StickerStore.js
Line 31: Expected a default case default-case

./src/Stores/OptionStore.js
Line 31: Expected a default case default-case

./src/Components/Tile/UserTile.js
Line 31: Unexpected mix of '&&' and '||' no-mixed-operators
Line 31: Unexpected mix of '&&' and '||' no-mixed-operators
Line 117: Unexpected mix of '&&' and '||' no-mixed-operators
Line 117: Unexpected mix of '&&' and '||' no-mixed-operators
Line 147: 'fileId' is assigned a value but never used no-unused-vars

./src/Components/Message/Media/VoiceNoteSlider.js
Line 31: Unexpected mix of '&&' and '||' no-mixed-operators
Line 31: Unexpected mix of '&&' and '||' no-mixed-operators

./src/TelegramApp.js
Line 32: 'isSafari' is defined but never used no-unused-vars
Line 73: 'keyCode' is assigned a value but never used no-unused-vars
Line 73: 'isComposing' is assigned a value but never used no-unused-vars
Line 91: Expected a default case default-case
Line 324: 'loading' is assigned a value but never used no-unused-vars
Line 336: Expected a default case default-case

./src/Stores/UserStore.js
Line 32: Expected a default case default-case

./src/Components/Message/Album/AlbumItem.js
Line 32: Expected a default case default-case

./src/Components/Popup/DeleteMessagesDialog.js
Line 33: 'messageId' is defined but never used no-unused-vars

./src/Components/Viewer/InstantViewMediaViewerContent.js
Line 33: 'caption' is assigned a value but never used no-unused-vars
Line 33: 'url' is assigned a value but never used no-unused-vars

./src/Components/Tile/ChatTile.js
Line 34: Unexpected mix of '&&' and '||' no-mixed-operators
Line 34: Unexpected mix of '&&' and '||' no-mixed-operators
Line 126: Unexpected mix of '&&' and '||' no-mixed-operators
Line 126: Unexpected mix of '&&' and '||' no-mixed-operators

./src/Stores/MessageStore.js
Line 35: Expected a default case default-case
Line 123: Expected a default case default-case
Line 161: Expected a default case default-case
Line 224: Expected a default case default-case
Line 459: Expected a default case default-case
Line 490: Expected a default case default-case

./src/Calls/P2P/P2PSdpBuilder.js
Line 35: Expected a default case default-case
Line 176: 'arr' is assigned a value but never used no-unused-vars
Line 222: Expected a default case default-case
Line 271: Function declared in a loop contains unsafe references to variable(s) 'sdp' no-loop-func
Line 343: Expected an error object to be thrown no-throw-literal
Line 345: Unreachable code no-unreachable

./src/Components/Message/Media/WebPage.js
Line 36: 'displaySize' is assigned a value but never used no-unused-vars
Line 51: 'url' is assigned a value but never used no-unused-vars
Line 118: Unexpected mix of '||' and '&&' no-mixed-operators
Line 118: Unexpected mix of '||' and '&&' no-mixed-operators
Line 201: 't1' is assigned a value but never used no-unused-vars

./src/Components/Auth/Phone.js
Line 36: Expected a default case default-case
Line 400: 'ch' is defined but never used no-unused-vars

./src/Components/Player/HeaderPlayer.js
Line 384: Expected a default case default-case
Line 464: Expected a default case default-case

./src/Utils/Store.js
Line 39: Expected a default case default-case
Line 59: Expected a default case default-case

./src/Components/Player/Steaming/Utils/Common.js
Line 3: Unreachable code no-unreachable

./src/Components/Message/Message.js
Line 408: Unexpected mix of '&&' and '||' no-mixed-operators
Line 408: Unexpected mix of '&&' and '||' no-mixed-operators
Line 421: Expected a default case default-case
Line 451: Unexpected mix of '&&' and '||' no-mixed-operators
Line 454: Unexpected mix of '||' and '&&' no-mixed-operators
Line 455: Unexpected mix of '||' and '&&' no-mixed-operators
Line 455: Unexpected mix of '&&' and '||' no-mixed-operators
Line 455: Unexpected mix of '||' and '&&' no-mixed-operators
Line 455: Unexpected mix of '||' and '&&' no-mixed-operators

./src/Utils/User.js
Line 40: Expected a default case default-case
Line 129: Expected a default case default-case
Line 136: Expected a 'break' statement before 'case' no-fallthrough
Line 152: Expected a default case default-case
Line 158: Expected a 'break' statement before 'case' no-fallthrough
Line 205: Expected a default case default-case

./src/Calls/StreamManager.js
Line 42: 'streamDestination' is assigned a value but never used no-unused-vars
Line 60: Expected a default case default-case
Line 106: Expected a default case default-case

./src/Calls/P2P/ChromeP2PSdpBuilder.js
Line 43: Expected a default case default-case
Line 124: Expected a default case default-case

./src/Calls/P2P/FirefoxP2PSdpBuilder.js
Line 43: Expected a default case default-case
Line 113: 'mid' is assigned a value but never used no-unused-vars
Line 113: 'dir' is assigned a value but never used no-unused-vars
Line 114: Expected a default case default-case

./src/Components/Message/Media/Contact.js
Line 43: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/Player/RepeatButton.js
Line 44: Expected a default case default-case

./src/Components/Calls/GroupCall.js
Line 44: Expected a default case default-case

./src/Components/Calls/Call.js
Line 44: Expected a default case default-case

./src/Components/ColumnLeft/Settings/ChatBackground.js
Line 45: 'thumbnail' is assigned a value but never used no-unused-vars

./src/Components/Calls/GroupCallSettings.js
Line 46: Expected a default case default-case
Line 242: Expected a default case default-case
Line 273: Expected a default case default-case
Line 413: Unexpected mix of '||' and '&&' no-mixed-operators
Line 413: Unexpected mix of '||' and '&&' no-mixed-operators
Line 416: Unexpected mix of '||' and '&&' no-mixed-operators
Line 416: Unexpected mix of '||' and '&&' no-mixed-operators
Line 419: Unexpected mix of '||' and '&&' no-mixed-operators
Line 419: Unexpected mix of '||' and '&&' no-mixed-operators
Line 430: 'deviceId' is assigned a value but never used no-unused-vars
Line 431: Expected a default case default-case

./src/Utils/Common.js
Line 47: 'key' is defined but never used no-unused-vars
Line 47: 'val' is defined but never used no-unused-vars
Line 544: 'char' is defined but never used no-unused-vars
Line 611: Unnecessary escape character: = no-useless-escape
Line 622: 'Base64DecodeUrl' is defined but never used no-unused-vars

./src/Components/Message/Media/Document.js
Line 47: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/Player/Steaming/MP3/ID3v2/FrameParser.js
Line 4: 'defaultEnc' is assigned a value but never used no-unused-vars
Line 30: Unexpected control character(s) in regular expression: \x00 no-control-regex
Line 33: Expected a 'break' statement before 'default' no-fallthrough
Line 51: Unexpected control character(s) in regular expression: \x00 no-control-regex
Line 58: Unexpected control character(s) in regular expression: \x00 no-control-regex
Line 64: Unexpected control character(s) in regular expression: \x00 no-control-regex

./src/Calls/P2P/SafariP2PSdpBuilder.js
Line 52: Expected a default case default-case
Line 143: Expected a default case default-case

./src/Components/Auth/Caption.js
Line 54: Expected a default case default-case

./src/Components/ColumnLeft/Settings/ActiveSessions.js
Line 54: 't' is assigned a value but never used no-unused-vars

./src/Components/Popup/PinMessageDialog.js
Line 56: Expected a default case default-case

./src/Components/Popup/BlockSenderDialog.js
Line 58: Expected a default case default-case

./src/Components/Popup/CreatePollOption.js
Line 59: 'maxLength' is assigned a value but never used no-unused-vars
Line 88: Expected a default case default-case

./src/Components/Viewer/RLottie.js
Line 64: 'url' is assigned a value but never used no-unused-vars

./src/Components/ColumnLeft/Search/Search.js
Line 64: Expected a default case default-case

./src/Components/Message/Album/DocumentAlbum.js
Line 65: 'displaySize' is assigned a value but never used no-unused-vars
Line 65: 'chatId' is assigned a value but never used no-unused-vars
Line 116: 'selected' is assigned a value but never used no-unused-vars
Line 132: 'displaySize' is assigned a value but never used no-unused-vars
Line 170: 't' is assigned a value but never used no-unused-vars
Line 172: 'emojiMatches' is assigned a value but never used no-unused-vars
Line 175: 'highlighted' is assigned a value but never used no-unused-vars
Line 178: 'copyLink' is assigned a value but never used no-unused-vars
Line 179: 'contextMenu' is assigned a value but never used no-unused-vars
Line 180: 'left' is assigned a value but never used no-unused-vars
Line 181: 'top' is assigned a value but never used no-unused-vars
Line 208: 't' was used before it was defined no-use-before-define
Line 246: Expected a default case default-case

./src/Components/ColumnMiddle/AttachButton.js
Line 65: 'classes' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Embedded.js
Line 66: <iframe> elements must have a unique title property jsx-a11y/iframe-has-title

./src/Utils/ServiceMessage.js
Line 68: Unexpected mix of '&&' and '||' no-mixed-operators
Line 68: Unexpected mix of '&&' and '||' no-mixed-operators
Line 110: Expected a default case default-case
Line 177: Expected a default case default-case
Line 195: Expected a default case default-case
Line 345: Expected a default case default-case

./src/Components/Player/Player.js
Line 68: Expected a default case default-case
Line 151: Do not use Number as a constructor no-new-wrappers
Line 609: Unreachable code no-unreachable
Line 618: 'pipWindow' is assigned a value but never used no-unused-vars
Line 627: Unreachable code no-unreachable
Line 628: Unreachable code no-unreachable

./src/Utils/ActionScheduler.js
Line 69: 'key' is defined but never used no-unused-vars
Line 69: 'key' is assigned a value but never used no-unused-vars
Line 69: 'value' is defined but never used no-unused-vars
Line 83: 'key' is defined but never used no-unused-vars
Line 83: 'value' is defined but never used no-unused-vars
Line 88: 'item' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/Notifications.js
Line 69: Expected a default case default-case

./src/Components/Tile/HeaderChatSubtitle.js
Line 70: Expected a default case default-case

./src/Components/Tile/Wallpaper.js
Line 71: 'tileLoaded' is assigned a value but never used no-unused-vars

./src/Stores/CacheStore.js
Line 71: Expected a default case default-case
Line 103: Expected a 'break' statement before 'default' no-fallthrough
Line 239: Expected a default case default-case
Line 246: Expected a 'break' statement before 'case' no-fallthrough
Line 253: Expected a 'break' statement before 'case' no-fallthrough
Line 263: Expected a default case default-case

./src/Stores/ChatStore.js
Line 72: 'key' is defined but never used no-unused-vars
Line 100: Expected a default case default-case
Line 223: Expected a default case default-case
Line 375: Expected a default case default-case

./src/Components/ColumnLeft/NewChatPhoto.js
Line 73: 'rest' is assigned a value but never used no-unused-vars

./src/Components/Viewer/InstantViewMediaViewer.js
Line 74: Expected a default case default-case
Line 223: 'width' is assigned a value but never used no-unused-vars
Line 223: 'height' is assigned a value but never used no-unused-vars

./src/Components/ColumnLeft/Settings/EditFilterChats.js
Line 76: Unexpected mix of '||' and '&&' no-mixed-operators
Line 76: Unexpected mix of '||' and '&&' no-mixed-operators
Line 77: Unexpected mix of '||' and '&&' no-mixed-operators
Line 77: Unexpected mix of '||' and '&&' no-mixed-operators
Line 78: Unexpected mix of '||' and '&&' no-mixed-operators
Line 78: Unexpected mix of '||' and '&&' no-mixed-operators
Line 79: Unexpected mix of '||' and '&&' no-mixed-operators
Line 79: Unexpected mix of '||' and '&&' no-mixed-operators
Line 80: Unexpected mix of '||' and '&&' no-mixed-operators
Line 80: Unexpected mix of '||' and '&&' no-mixed-operators
Line 81: Unexpected mix of '||' and '&&' no-mixed-operators
Line 81: Unexpected mix of '||' and '&&' no-mixed-operators
Line 82: Unexpected mix of '||' and '&&' no-mixed-operators
Line 82: Unexpected mix of '||' and '&&' no-mixed-operators
Line 83: Unexpected mix of '||' and '&&' no-mixed-operators
Line 83: Unexpected mix of '||' and '&&' no-mixed-operators
Line 96: 'key' is defined but never used no-unused-vars
Line 124: 'currentOffsetHeight' is assigned a value but never used no-unused-vars
Line 167: 'key' is defined but never used no-unused-vars
Line 184: 'key' is defined but never used no-unused-vars
Line 201: 'el' is defined but never used no-unused-vars
Line 210: 'el' is defined but never used no-unused-vars
Line 362: 'onChange' is assigned a value but never used no-unused-vars

./src/Stores/WebpManager.js
Line 76: Expected a default case default-case

./src/Components/ColumnMiddle/Placeholder.js
Line 77: 'force' is assigned a value but never used no-unused-vars
Line 78: 'dialogsReady' is assigned a value but never used no-unused-vars
Line 78: 'cacheLoaded' is assigned a value but never used no-unused-vars

./src/Utils/InstantView.js
Line 77: Expected a default case default-case
Line 430: Expected a default case default-case
Line 514: Expected a default case default-case
Line 596: Expected a default case default-case
Line 614: Expected a default case default-case
Line 632: Expected a default case default-case
Line 746: Expected a default case default-case
Line 764: Expected a default case default-case
Line 782: Expected a default case default-case
Line 794: Expected a default case default-case

./src/Stores/CallStore.js
Line 79: Expected a default case default-case
Line 119: Expected a default case default-case
Line 213: 'order' is assigned a value but never used no-unused-vars
Line 233: Unexpected mix of '||' and '&&' no-mixed-operators
Line 233: Unexpected mix of '||' and '&&' no-mixed-operators
Line 233: Unexpected mix of '||' and '&&' no-mixed-operators
Line 233: Unexpected mix of '||' and '&&' no-mixed-operators
Line 235: Unexpected mix of '||' and '&&' no-mixed-operators
Line 235: Unexpected mix of '||' and '&&' no-mixed-operators
Line 235: Unexpected mix of '||' and '&&' no-mixed-operators
Line 235: Unexpected mix of '||' and '&&' no-mixed-operators
Line 285: 'telegramSource' is assigned a value but never used no-unused-vars
Line 286: Expected a default case default-case
Line 685: Expected a default case default-case
Line 765: 'setup' is assigned a value but never used no-unused-vars
Line 1047: 'audio' is defined but never used no-unused-vars
Line 1069: 'meSignSource' is assigned a value but never used no-unused-vars
Line 1115: 'audio' is defined but never used no-unused-vars
Line 1159: 'audio' is defined but never used no-unused-vars
Line 1176: 'audio' is defined but never used no-unused-vars
Line 1202: 'audio' is defined but never used no-unused-vars
Line 1219: 'audio' is defined but never used no-unused-vars
Line 1235: 'inputStream' is assigned a value but never used no-unused-vars
Line 1312: Expected '===' and instead saw '==' eqeqeq
Line 1399: 'groupCallId' is assigned a value but never used no-unused-vars
Line 1663: Expected a default case default-case
Line 1906: Expected a default case default-case
Line 1958: Expected a default case default-case
Line 2036: 'inputStream' was used before it was defined no-use-before-define
Line 2201: Unexpected mix of '&&' and '||' no-mixed-operators
Line 2202: Unexpected mix of '||' and '&&' no-mixed-operators
Line 2202: Unexpected mix of '&&' and '||' no-mixed-operators
Line 2202: Unexpected mix of '||' and '&&' no-mixed-operators
Line 2203: Unexpected mix of '||' and '&&' no-mixed-operators
Line 2203: Unexpected mix of '||' and '&&' no-mixed-operators

./src/Stores/PlayerStore.js
Line 80: Expected a default case default-case
Line 139: Expected a default case default-case
Line 397: Expected a default case default-case
Line 404: Expected a default case default-case
Line 440: 'result' is assigned a value but never used no-unused-vars
Line 455: Expected a default case default-case
Line 503: Expected a default case default-case
Line 568: Expected a default case default-case

./src/Calls/SdpBuilder.js
Line 80: 'fingerprint' is defined but never used no-unused-vars
Line 86: 'candidate' is defined but never used no-unused-vars
Line 144: 'ssrc' is defined but never used no-unused-vars
Line 153: 'entry' is defined but never used no-unused-vars

./src/Utils/Url.js
Line 80: Unnecessary escape character: / no-useless-escape
Line 80: Unnecessary escape character: / no-useless-escape

./src/Components/ColumnRight/SharedMedia/SharedMediaContent.js
Line 83: Expected a default case default-case
Line 113: Expected a default case default-case
Line 163: 'content' is assigned a value but never used no-unused-vars
Line 223: Expected a default case default-case
Line 285: Expected a default case default-case
Line 317: Expected a default case default-case
Line 510: Unexpected mix of '||' and '&&' no-mixed-operators
Line 510: Unexpected mix of '||' and '&&' no-mixed-operators
Line 511: Unexpected mix of '||' and '&&' no-mixed-operators
Line 511: Unexpected mix of '||' and '&&' no-mixed-operators
Line 512: Unexpected mix of '||' and '&&' no-mixed-operators
Line 512: Unexpected mix of '||' and '&&' no-mixed-operators
Line 513: Unexpected mix of '||' and '&&' no-mixed-operators
Line 513: Unexpected mix of '||' and '&&' no-mixed-operators
Line 514: Unexpected mix of '||' and '&&' no-mixed-operators
Line 514: Unexpected mix of '||' and '&&' no-mixed-operators
Line 515: Unexpected mix of '||' and '&&' no-mixed-operators
Line 515: Unexpected mix of '||' and '&&' no-mixed-operators
Line 516: Unexpected mix of '||' and '&&' no-mixed-operators
Line 516: Unexpected mix of '||' and '&&' no-mixed-operators
Line 570: Expected a default case default-case
Line 793: Expected a default case default-case
Line 842: Unexpected mix of '&&' and '||' no-mixed-operators
Line 843: Unexpected mix of '&&' and '||' no-mixed-operators
Line 843: Unexpected mix of '||' and '&&' no-mixed-operators
Line 843: Unexpected mix of '||' and '&&' no-mixed-operators
Line 844: Unexpected mix of '||' and '&&' no-mixed-operators
Line 844: Unexpected mix of '||' and '&&' no-mixed-operators
Line 845: Unexpected mix of '||' and '&&' no-mixed-operators
Line 845: Unexpected mix of '||' and '&&' no-mixed-operators
Line 846: Unexpected mix of '||' and '&&' no-mixed-operators
Line 846: Unexpected mix of '||' and '&&' no-mixed-operators
Line 847: Unexpected mix of '||' and '&&' no-mixed-operators
Line 847: Unexpected mix of '||' and '&&' no-mixed-operators
Line 848: Unexpected mix of '||' and '&&' no-mixed-operators
Line 848: Unexpected mix of '||' and '&&' no-mixed-operators

./src/Components/Additional/MentionLink.js
Line 84: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

./src/Components/ColumnMiddle/StickersPicker.js
Line 87: 'sticker_set_ids' is assigned a value but never used no-unused-vars
Line 98: 'sets' is assigned a value but never used no-unused-vars
Line 98: 'stickerSets' is assigned a value but never used no-unused-vars
Line 451: 'stickerSets' is assigned a value but never used no-unused-vars

./src/Components/Message/Markup/KeyboardButton.js
Line 87: Expected a default case default-case
Line 105: 'sender' is assigned a value but never used no-unused-vars
Line 105: 'via_bot_user_id' is assigned a value but never used no-unused-vars
Line 176: 'forward_text' is assigned a value but never used no-unused-vars
Line 194: Expected a default case default-case
Line 251: Expected a default case default-case

./src/Components/Tile/DialogStatus.js
Line 88: Expected a default case default-case

./src/Components/Message/Album/GroupedMessages.js
Line 89: 'firstSpanAdditionalSize' is assigned a value but never used no-unused-vars
Line 128: Expected a default case default-case
Line 400: Expected a default case default-case

./src/Utils/Chat.js
Line 8: 'React' is defined but never used no-unused-vars
Line 52: Expected a default case default-case
Line 75: Expected a default case default-case
Line 92: Expected a default case default-case
Line 123: Expected a default case default-case
Line 144: Expected a default case default-case
Line 170: Expected a default case default-case
Line 196: Expected a default case default-case
Line 238: Expected a default case default-case
Line 297: Unexpected mix of '&&' and '||' no-mixed-operators
Line 297: Unexpected mix of '&&' and '||' no-mixed-operators
Line 367: 'userId' is defined but never used no-unused-vars
Line 391: 'userId' is defined but never used no-unused-vars
Line 483: Expected a default case default-case
Line 504: Expected a default case default-case
Line 522: Expected a default case default-case
Line 533: Expected a default case default-case
Line 606: 'unread_mention_count' is assigned a value but never used no-unused-vars
Line 637: Expected a default case default-case
Line 694: Expected a default case default-case
Line 760: Expected a default case default-case
Line 793: Expected a default case default-case
Line 823: Expected a default case default-case
Line 849: Expected a default case default-case
Line 885: Expected a default case default-case
Line 904: Expected a default case default-case
Line 925: Expected a default case default-case
Line 946: Expected a default case default-case
Line 950: Expected a default case default-case
Line 976: Expected a default case default-case
Line 1012: Expected a default case default-case
Line 1034: Expected a default case default-case
Line 1056: Expected a default case default-case
Line 1100: Expected a default case default-case
Line 1134: Expected a default case default-case
Line 1156: Expected a default case default-case
Line 1176: Expected a default case default-case
Line 1337: Expected a default case default-case
Line 1467: Expected a default case default-case
Line 1477: Expected a default case default-case
Line 1513: Expected a default case default-case
Line 1548: Expected a default case default-case
Line 1569: Expected a default case default-case
Line 1606: Expected a default case default-case
Line 1632: Expected a default case default-case
Line 1642: Expected a default case default-case
Line 1678: Expected a default case default-case
Line 1714: Expected a default case default-case
Line 1724: Expected a default case default-case
Line 1760: Expected a default case default-case
Line 1832: Expected a default case default-case
Line 1842: Expected a default case default-case
Line 1878: Expected a default case default-case
Line 1911: Expected a default case default-case
Line 1938: Expected a default case default-case
Line 1963: Expected a default case default-case
Line 2002: Expected a default case default-case

./src/Stores/LocalizationStore.js
Line 8: 'React' is defined but never used no-unused-vars
Line 236: Expected a default case default-case
Line 238: Expected a default case default-case
Line 275: Expected a default case default-case
Line 312: Expected a default case default-case
Line 367: Expected a default case default-case
Line 383: Expected a default case default-case

./src/Components/Message/Media/FireworksControl.js
Line 8: 'PropTypes' is defined but never used no-unused-vars

./src/Components/InstantView/Blocks/Cover.js
Line 8: 'React' is defined but never used no-unused-vars

./src/Components/InstantView/RichText/RichText.js
Line 8: 'React' is defined but never used no-unused-vars

./src/Components/ColumnRight/SharedMedia/SharedAudios.js
Line 8: 'React' is defined but never used no-unused-vars

./src/Components/ColumnRight/SharedMedia/SharedDocuments.js
Line 8: 'React' is defined but never used no-unused-vars

./src/Components/InstantView/RichText/Plain.js
Line 8: 'React' is defined but never used no-unused-vars

./src/Utils/Punycode.js
Line 90: Expected '!==' and instead saw '!=' eqeqeq
Line 230: Expected '!==' and instead saw '!=' eqeqeq
Line 282: Expected '===' and instead saw '==' eqeqeq
Line 291: Expected '===' and instead saw '==' eqeqeq

./src/Utils/File.js
Line 92: 'getBigPhoto' is defined but never used no-unused-vars
Line 215: Expected a default case default-case
Line 1001: Expected a default case default-case
Line 1185: Expected a default case default-case
Line 1653: Expected a default case default-case
Line 1690: Expected a default case default-case
Line 1757: Expected a default case default-case
Line 1793: Expected a default case default-case
Line 1978: Expected a default case default-case
Line 2108: Expected a default case default-case
Line 2211: Expected a default case default-case
Line 2434: Expected a default case default-case

./src/Components/Message/Status.js
Line 93: 'chatId' is assigned a value but never used no-unused-vars
Line 93: 'messageId' is assigned a value but never used no-unused-vars

./src/Components/Tile/DialogBadge.js
Line 93: Expected a default case default-case

./src/Utils/Date.js
Line 96: Expected '!==' and instead saw '!=' eqeqeq

./src/Components/ColumnRight/SharedMedia/SharedMediaBase.js
Line 98: 'old_content' is assigned a value but never used no-unused-vars

./src/Stores/FilterStore.js
Line 9: 'isValidPoll' is defined but never used no-unused-vars
Line 31: Expected a default case default-case

./src/Components/ColumnLeft/SidebarPage.js
Line 9: 'number' is defined but never used no-unused-vars
Line 31: Expected a default case default-case

./src/Components/Player/Steaming/Utils/Token.js
Line 9: Unexpected mix of '&' and '|' no-mixed-operators
Line 9: Unexpected mix of '&' and '|' no-mixed-operators

./src/Components/Calls/TopBar.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 290: 'left' is assigned a value but never used no-unused-vars
Line 290: 'top' is assigned a value but never used no-unused-vars

./src/Components/Calls/GroupCallTopPanel.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 108: 'type' is assigned a value but never used no-unused-vars
Line 129: 'connected' is assigned a value but never used no-unused-vars
Line 206: 'status' is assigned a value but never used no-unused-vars
Line 209: 'chatId' is assigned a value but never used no-unused-vars
Line 209: 'stream' is assigned a value but never used no-unused-vars

./src/Components/ColumnLeft/Filters.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 124: 'isSmallWidth' is assigned a value but never used no-unused-vars

./src/Components/Calls/Button.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 493: 'a' is assigned a value but never used no-unused-vars
Line 703: 'buttonRadius' is assigned a value but never used no-unused-vars
Line 875: 'left' is assigned a value but never used no-unused-vars
Line 875: 'top' is assigned a value but never used no-unused-vars

./src/Components/Player/PipPlayer.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 96: Expected a default case default-case
Line 186: Do not use Number as a constructor no-new-wrappers
Line 817: 'pictureInPictureEnabled' is assigned a value but never used no-unused-vars

./src/Theme.js
Line 9: 'blue' is defined but never used no-unused-vars
Line 100: Unexpected string concatenation of literals no-useless-concat
Line 101: Unexpected string concatenation of literals no-useless-concat

./src/Components/ColumnLeft/Dialogs.js
Line 9: 'classNames' is defined but never used no-unused-vars
Line 19: 'UpdatePanel' is defined but never used no-unused-vars
Line 430: 'showArchive' is assigned a value but never used no-unused-vars
Line 431: 'archiveTitle' is assigned a value but never used no-unused-vars

./src/Components/Player/Playlist.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 112: Expected a default case default-case
Line 219: Expected a default case default-case

./src/Components/ColumnLeft/ThemePicker.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 26: 'blue' is defined but never used no-unused-vars
Line 37: 'primary' is assigned a value but never used no-unused-vars
Line 72: Expected a default case default-case
Line 93: Expected a default case default-case

./src/Components/Calls/GroupCallPanelButtons.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 71: 'connected' is assigned a value but never used no-unused-vars

./src/Components/InstantView/Blocks/Divider.js
Line 9: 'PropTypes' is defined but never used no-unused-vars
Line 10: 'RichText' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/FilesDropTarget.js
Line 9: 'FileStore' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/SelectChatPlaceholder.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/Tile/EmptyTile.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/ColumnLeft/Archive.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/RecordTimer.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/ColumnMiddle/InputBoxHints.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/Popup/StickerSetDialog.js
Line 9: 'PropTypes' is defined but never used no-unused-vars

./src/Components/Popup/ForwardDialog.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/Components/Popup/ForwardDialog.css)
Warning

(33:5) start value has mixed support, consider using flex-start instead

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
`

@nebucaz
Copy link

nebucaz commented May 18, 2021

Same here though I'd not classify the warnings as "error".

other findings:

  • The warnings are not printed in build/deployed version
  • There are two errors reported in the browser console when served from localhost:3000:
    Uncaught SyntaxError: Unexpected number d6e29502cb97a72c1880.worker.js:2 and Uncaught SyntaxError: Unexpected number tgsticker.js:2
  • The countries drop-down shows no entries
  • the qr-code link does not work

Environment

  • node = v12.22.1
  • npm = 6.14.12

Tested with

  • Firefox 88.0.1 (64-bit)
  • Chrome 90.0.4430.212 (Official Build) (x86_64)

@AnonymousWebHacker
Copy link
Author

@nebucaz have you tried again with good results? I don't know which version of node to use or of npm

@maxngrss
Copy link

same issue, any fix found?

@AnonymousWebHacker
Copy link
Author

same issue, any fix found?

nope, I gave up using telegram-react

@nebucaz
Copy link

nebucaz commented Nov 11, 2022

@nebucaz have you tried again with good results? I don't know which version of node to use or of npm

@AnonymousWebHacker never looked at it again

@omkarpatole1799
Copy link

Those are not errors they are only just the warning which says you have defined that thing but you haven't used it.
Simple way to remove those warning is to delete the things from code base or just comment it out.

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

No branches or pull requests

4 participants