diff --git a/app/soapbox/actions/compose.ts b/app/soapbox/actions/compose.ts index 65d437a36..3010ae3fd 100644 --- a/app/soapbox/actions/compose.ts +++ b/app/soapbox/actions/compose.ts @@ -10,7 +10,7 @@ import { tagHistory } from 'soapbox/settings'; import { isLoggedIn } from 'soapbox/utils/auth'; import { getFeatures, parseVersion } from 'soapbox/utils/features'; import { formatBytes, getVideoDuration } from 'soapbox/utils/media'; -import resizeImage from 'soapbox/utils/resize_image'; +import resizeImage from 'soapbox/utils/resize-image'; import { showAlert, showAlertForError } from './alerts'; import { useEmoji } from './emojis'; diff --git a/app/soapbox/actions/mrf.ts b/app/soapbox/actions/mrf.ts index e2cef5938..1b9cbad93 100644 --- a/app/soapbox/actions/mrf.ts +++ b/app/soapbox/actions/mrf.ts @@ -1,11 +1,11 @@ import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable'; -import ConfigDB from 'soapbox/utils/config_db'; +import ConfigDB from 'soapbox/utils/config-db'; import { fetchConfig, updateConfig } from './admin'; import type { AppDispatch, RootState } from 'soapbox/store'; -import type { Policy } from 'soapbox/utils/config_db'; +import type { Policy } from 'soapbox/utils/config-db'; const simplePolicyMerge = (simplePolicy: Policy, host: string, restrictions: ImmutableMap) => { return simplePolicy.map((hosts, key) => { diff --git a/app/soapbox/components/account.tsx b/app/soapbox/components/account.tsx index 3137b25a3..006584e8d 100644 --- a/app/soapbox/components/account.tsx +++ b/app/soapbox/components/account.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { Link, useHistory } from 'react-router-dom'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import VerificationBadge from 'soapbox/components/verification-badge'; import ActionButton from 'soapbox/features/ui/components/action-button'; import { useAppSelector, useOnScreen } from 'soapbox/hooks'; diff --git a/app/soapbox/components/display-name.tsx b/app/soapbox/components/display-name.tsx index ccc6f6ed4..8fd2bfa53 100644 --- a/app/soapbox/components/display-name.tsx +++ b/app/soapbox/components/display-name.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import { useSoapboxConfig } from 'soapbox/hooks'; import { getAcct } from '../utils/accounts'; diff --git a/app/soapbox/components/emoji-button-wrapper.tsx b/app/soapbox/components/emoji-button-wrapper.tsx index d85d22627..9a71c9e1a 100644 --- a/app/soapbox/components/emoji-button-wrapper.tsx +++ b/app/soapbox/components/emoji-button-wrapper.tsx @@ -8,7 +8,7 @@ import { openModal } from 'soapbox/actions/modals'; import EmojiSelector from 'soapbox/components/ui/emoji-selector/emoji-selector'; import { useAppSelector, useOwnAccount, useSoapboxConfig } from 'soapbox/hooks'; import { isUserTouching } from 'soapbox/is_mobile'; -import { getReactForStatus } from 'soapbox/utils/emoji_reacts'; +import { getReactForStatus } from 'soapbox/utils/emoji-reacts'; interface IEmojiButtonWrapper { statusId: string, diff --git a/app/soapbox/components/helmet.tsx b/app/soapbox/components/helmet.tsx index cd13dd30a..ba4a82fd3 100644 --- a/app/soapbox/components/helmet.tsx +++ b/app/soapbox/components/helmet.tsx @@ -3,7 +3,7 @@ import { Helmet as ReactHelmet } from 'react-helmet'; import { useAppSelector, useSettings } from 'soapbox/hooks'; import { RootState } from 'soapbox/store'; -import FaviconService from 'soapbox/utils/favicon_service'; +import FaviconService from 'soapbox/utils/favicon-service'; FaviconService.initFaviconService(); diff --git a/app/soapbox/components/hover_ref_wrapper.tsx b/app/soapbox/components/hover-ref-wrapper.tsx similarity index 100% rename from app/soapbox/components/hover_ref_wrapper.tsx rename to app/soapbox/components/hover-ref-wrapper.tsx diff --git a/app/soapbox/components/icon_with_counter.tsx b/app/soapbox/components/icon-with-counter.tsx similarity index 100% rename from app/soapbox/components/icon_with_counter.tsx rename to app/soapbox/components/icon-with-counter.tsx diff --git a/app/soapbox/components/media-gallery.tsx b/app/soapbox/components/media-gallery.tsx index e978e448e..4215356d5 100644 --- a/app/soapbox/components/media-gallery.tsx +++ b/app/soapbox/components/media-gallery.tsx @@ -10,7 +10,7 @@ import { Attachment } from 'soapbox/types/entities'; import { truncateFilename } from 'soapbox/utils/media'; import { isIOS } from '../is_mobile'; -import { isPanoramic, isPortrait, isNonConformingRatio, minimumAspectRatio, maximumAspectRatio } from '../utils/media_aspect_ratio'; +import { isPanoramic, isPortrait, isNonConformingRatio, minimumAspectRatio, maximumAspectRatio } from '../utils/media-aspect-ratio'; import type { Property } from 'csstype'; import type { List as ImmutableList } from 'immutable'; diff --git a/app/soapbox/components/profile-hover-card.tsx b/app/soapbox/components/profile-hover-card.tsx index 5baabeb86..1fce4feb3 100644 --- a/app/soapbox/components/profile-hover-card.tsx +++ b/app/soapbox/components/profile-hover-card.tsx @@ -17,7 +17,7 @@ import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; import { makeGetAccount } from 'soapbox/selectors'; import { isLocal } from 'soapbox/utils/accounts'; -import { showProfileHoverCard } from './hover_ref_wrapper'; +import { showProfileHoverCard } from './hover-ref-wrapper'; import { Card, CardBody, HStack, Icon, Stack, Text } from './ui'; import type { AppDispatch } from 'soapbox/store'; diff --git a/app/soapbox/components/progress_circle.tsx b/app/soapbox/components/progress-circle.tsx similarity index 100% rename from app/soapbox/components/progress_circle.tsx rename to app/soapbox/components/progress-circle.tsx diff --git a/app/soapbox/components/radio_button.tsx b/app/soapbox/components/radio-button.tsx similarity index 100% rename from app/soapbox/components/radio_button.tsx rename to app/soapbox/components/radio-button.tsx diff --git a/app/soapbox/components/status-action-bar.tsx b/app/soapbox/components/status-action-bar.tsx index b4f5c187b..011fc63a8 100644 --- a/app/soapbox/components/status-action-bar.tsx +++ b/app/soapbox/components/status-action-bar.tsx @@ -19,7 +19,7 @@ import StatusActionButton from 'soapbox/components/status-action-button'; import DropdownMenuContainer from 'soapbox/containers/dropdown-menu-container'; import { useAppDispatch, useAppSelector, useFeatures, useOwnAccount, useSettings, useSoapboxConfig } from 'soapbox/hooks'; import { isLocal } from 'soapbox/utils/accounts'; -import { getReactForStatus, reduceEmoji } from 'soapbox/utils/emoji_reacts'; +import { getReactForStatus, reduceEmoji } from 'soapbox/utils/emoji-reacts'; import type { Menu } from 'soapbox/components/dropdown-menu'; import type { Account, Status } from 'soapbox/types/entities'; diff --git a/app/soapbox/components/status-content.tsx b/app/soapbox/components/status-content.tsx index b3592c62d..a495a9f82 100644 --- a/app/soapbox/components/status-content.tsx +++ b/app/soapbox/components/status-content.tsx @@ -6,7 +6,7 @@ import { useHistory } from 'react-router-dom'; import Icon from 'soapbox/components/icon'; import { useSoapboxConfig } from 'soapbox/hooks'; import { addGreentext } from 'soapbox/utils/greentext'; -import { onlyEmoji as isOnlyEmoji } from 'soapbox/utils/rich_content'; +import { onlyEmoji as isOnlyEmoji } from 'soapbox/utils/rich-content'; import { isRtl } from '../rtl'; diff --git a/app/soapbox/components/status-reply-mentions.tsx b/app/soapbox/components/status-reply-mentions.tsx index 4d65abd11..887c41a8e 100644 --- a/app/soapbox/components/status-reply-mentions.tsx +++ b/app/soapbox/components/status-reply-mentions.tsx @@ -3,8 +3,8 @@ import { FormattedList, FormattedMessage } from 'react-intl'; import { Link } from 'react-router-dom'; import { openModal } from 'soapbox/actions/modals'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import HoverStatusWrapper from 'soapbox/components/hover-status-wrapper'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; import { useAppDispatch } from 'soapbox/hooks'; import type { Account, Status } from 'soapbox/types/entities'; diff --git a/app/soapbox/components/thumb-navigation-link.tsx b/app/soapbox/components/thumb-navigation-link.tsx index 58a55e7e6..069849507 100644 --- a/app/soapbox/components/thumb-navigation-link.tsx +++ b/app/soapbox/components/thumb-navigation-link.tsx @@ -2,7 +2,7 @@ import classNames from 'clsx'; import React from 'react'; import { NavLink, useLocation } from 'react-router-dom'; -import IconWithCounter from 'soapbox/components/icon_with_counter'; +import IconWithCounter from 'soapbox/components/icon-with-counter'; import { Icon, Text } from 'soapbox/components/ui'; interface IThumbNavigationLink { diff --git a/app/soapbox/features/admin/components/report.tsx b/app/soapbox/features/admin/components/report.tsx index fe28ab21c..3304a17a9 100644 --- a/app/soapbox/features/admin/components/report.tsx +++ b/app/soapbox/features/admin/components/report.tsx @@ -6,7 +6,7 @@ import { closeReports } from 'soapbox/actions/admin'; import { deactivateUserModal, deleteUserModal } from 'soapbox/actions/moderation'; import snackbar from 'soapbox/actions/snackbar'; import Avatar from 'soapbox/components/avatar'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import { Button, HStack } from 'soapbox/components/ui'; import DropdownMenu from 'soapbox/containers/dropdown-menu-container'; import Accordion from 'soapbox/features/ui/components/accordion'; diff --git a/app/soapbox/features/chats/components/chat-message-list.tsx b/app/soapbox/features/chats/components/chat-message-list.tsx index 330fd9f9a..90c27e4a6 100644 --- a/app/soapbox/features/chats/components/chat-message-list.tsx +++ b/app/soapbox/features/chats/components/chat-message-list.tsx @@ -19,7 +19,7 @@ import emojify from 'soapbox/features/emoji/emoji'; import Bundle from 'soapbox/features/ui/components/bundle'; import { MediaGallery } from 'soapbox/features/ui/util/async-components'; import { useAppSelector, useAppDispatch, useRefEventHandler } from 'soapbox/hooks'; -import { onlyEmoji } from 'soapbox/utils/rich_content'; +import { onlyEmoji } from 'soapbox/utils/rich-content'; import type { Menu } from 'soapbox/components/dropdown-menu'; import type { ChatMessage as ChatMessageEntity } from 'soapbox/types/entities'; diff --git a/app/soapbox/features/chats/components/chat-window.tsx b/app/soapbox/features/chats/components/chat-window.tsx index 13ba3ed39..3bcb83165 100644 --- a/app/soapbox/features/chats/components/chat-window.tsx +++ b/app/soapbox/features/chats/components/chat-window.tsx @@ -6,7 +6,7 @@ import { toggleChat, } from 'soapbox/actions/chats'; import Avatar from 'soapbox/components/avatar'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import IconButton from 'soapbox/components/icon-button'; import { HStack, Counter } from 'soapbox/components/ui'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; diff --git a/app/soapbox/features/compose/components/visual-character-counter.tsx b/app/soapbox/features/compose/components/visual-character-counter.tsx index bba7053e8..8bf37af29 100644 --- a/app/soapbox/features/compose/components/visual-character-counter.tsx +++ b/app/soapbox/features/compose/components/visual-character-counter.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { length } from 'stringz'; -import ProgressCircle from 'soapbox/components/progress_circle'; +import ProgressCircle from 'soapbox/components/progress-circle'; const messages = defineMessages({ title: { id: 'compose.character_counter.title', defaultMessage: 'Used {chars} out of {maxChars} characters' }, diff --git a/app/soapbox/features/directory/index.tsx b/app/soapbox/features/directory/index.tsx index 68eafb4ba..ff06e6659 100644 --- a/app/soapbox/features/directory/index.tsx +++ b/app/soapbox/features/directory/index.tsx @@ -6,7 +6,7 @@ import { useLocation } from 'react-router-dom'; import { fetchDirectory, expandDirectory } from 'soapbox/actions/directory'; import LoadMore from 'soapbox/components/load-more'; -import RadioButton from 'soapbox/components/radio_button'; +import RadioButton from 'soapbox/components/radio-button'; import Column from 'soapbox/features/ui/components/column'; import { useAppSelector } from 'soapbox/hooks'; import { getFeatures } from 'soapbox/utils/features'; diff --git a/app/soapbox/features/edit-profile/index.tsx b/app/soapbox/features/edit-profile/index.tsx index de7d6ee2d..1967e9138 100644 --- a/app/soapbox/features/edit-profile/index.tsx +++ b/app/soapbox/features/edit-profile/index.tsx @@ -21,7 +21,7 @@ import { import Streamfield, { StreamfieldComponent } from 'soapbox/components/ui/streamfield/streamfield'; import { useAppSelector, useAppDispatch, useOwnAccount, useFeatures } from 'soapbox/hooks'; import { normalizeAccount } from 'soapbox/normalizers'; -import resizeImage from 'soapbox/utils/resize_image'; +import resizeImage from 'soapbox/utils/resize-image'; import ProfilePreview from './components/profile-preview'; diff --git a/app/soapbox/features/onboarding/steps/avatar-selection-step.tsx b/app/soapbox/features/onboarding/steps/avatar-selection-step.tsx index 8f95b496f..753ef4d7f 100644 --- a/app/soapbox/features/onboarding/steps/avatar-selection-step.tsx +++ b/app/soapbox/features/onboarding/steps/avatar-selection-step.tsx @@ -7,7 +7,7 @@ import { patchMe } from 'soapbox/actions/me'; import snackbar from 'soapbox/actions/snackbar'; import { Avatar, Button, Card, CardBody, Icon, Spinner, Stack, Text } from 'soapbox/components/ui'; import { useOwnAccount } from 'soapbox/hooks'; -import resizeImage from 'soapbox/utils/resize_image'; +import resizeImage from 'soapbox/utils/resize-image'; import type { AxiosError } from 'axios'; diff --git a/app/soapbox/features/onboarding/steps/cover-photo-selection-step.tsx b/app/soapbox/features/onboarding/steps/cover-photo-selection-step.tsx index 4d1ae3f12..520fbc1b9 100644 --- a/app/soapbox/features/onboarding/steps/cover-photo-selection-step.tsx +++ b/app/soapbox/features/onboarding/steps/cover-photo-selection-step.tsx @@ -8,7 +8,7 @@ import snackbar from 'soapbox/actions/snackbar'; import StillImage from 'soapbox/components/still-image'; import { Avatar, Button, Card, CardBody, Icon, Spinner, Stack, Text } from 'soapbox/components/ui'; import { useOwnAccount } from 'soapbox/hooks'; -import resizeImage from 'soapbox/utils/resize_image'; +import resizeImage from 'soapbox/utils/resize-image'; import type { AxiosError } from 'axios'; diff --git a/app/soapbox/features/status/components/status-interaction-bar.tsx b/app/soapbox/features/status/components/status-interaction-bar.tsx index 79d4f82bd..a0abcf98e 100644 --- a/app/soapbox/features/status/components/status-interaction-bar.tsx +++ b/app/soapbox/features/status/components/status-interaction-bar.tsx @@ -7,7 +7,7 @@ import { useDispatch } from 'react-redux'; import { openModal } from 'soapbox/actions/modals'; import { HStack, IconButton, Text, Emoji } from 'soapbox/components/ui'; import { useAppSelector, useSoapboxConfig, useFeatures } from 'soapbox/hooks'; -import { reduceEmoji } from 'soapbox/utils/emoji_reacts'; +import { reduceEmoji } from 'soapbox/utils/emoji-reacts'; import type { Status } from 'soapbox/types/entities'; diff --git a/app/soapbox/features/ui/components/profile_familiar_followers.tsx b/app/soapbox/features/ui/components/profile_familiar_followers.tsx index dcb3b3d87..2d395a2a6 100644 --- a/app/soapbox/features/ui/components/profile_familiar_followers.tsx +++ b/app/soapbox/features/ui/components/profile_familiar_followers.tsx @@ -6,7 +6,7 @@ import { Link } from 'react-router-dom'; import { fetchAccountFamiliarFollowers } from 'soapbox/actions/familiar_followers'; import { openModal } from 'soapbox/actions/modals'; -import HoverRefWrapper from 'soapbox/components/hover_ref_wrapper'; +import HoverRefWrapper from 'soapbox/components/hover-ref-wrapper'; import { Text } from 'soapbox/components/ui'; import VerificationBadge from 'soapbox/components/verification-badge'; import { useAppSelector, useFeatures } from 'soapbox/hooks'; diff --git a/app/soapbox/features/video/index.tsx b/app/soapbox/features/video/index.tsx index 871e80774..f418714bd 100644 --- a/app/soapbox/features/video/index.tsx +++ b/app/soapbox/features/video/index.tsx @@ -7,7 +7,7 @@ import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import Blurhash from 'soapbox/components/blurhash'; import Icon from 'soapbox/components/icon'; import { useSettings } from 'soapbox/hooks'; -import { isPanoramic, isPortrait, minimumAspectRatio, maximumAspectRatio } from 'soapbox/utils/media_aspect_ratio'; +import { isPanoramic, isPortrait, minimumAspectRatio, maximumAspectRatio } from 'soapbox/utils/media-aspect-ratio'; import { isFullscreen, requestFullscreen, exitFullscreen } from '../ui/util/fullscreen'; diff --git a/app/soapbox/reducers/admin.ts b/app/soapbox/reducers/admin.ts index b51368f46..19a803f16 100644 --- a/app/soapbox/reducers/admin.ts +++ b/app/soapbox/reducers/admin.ts @@ -25,7 +25,7 @@ import { normalizeId } from 'soapbox/utils/normalizers'; import type { AnyAction } from 'redux'; import type { APIEntity } from 'soapbox/types/entities'; -import type { Config } from 'soapbox/utils/config_db'; +import type { Config } from 'soapbox/utils/config-db'; const ReducerRecord = ImmutableRecord({ reports: ImmutableMap(), diff --git a/app/soapbox/reducers/instance.ts b/app/soapbox/reducers/instance.ts index bf3c47463..1c15891e9 100644 --- a/app/soapbox/reducers/instance.ts +++ b/app/soapbox/reducers/instance.ts @@ -4,7 +4,7 @@ import { ADMIN_CONFIG_UPDATE_REQUEST, ADMIN_CONFIG_UPDATE_SUCCESS } from 'soapbo import { PLEROMA_PRELOAD_IMPORT } from 'soapbox/actions/preload'; import { normalizeInstance } from 'soapbox/normalizers/instance'; import KVStore from 'soapbox/storage/kv-store'; -import { ConfigDB } from 'soapbox/utils/config_db'; +import { ConfigDB } from 'soapbox/utils/config-db'; import { rememberInstance, diff --git a/app/soapbox/reducers/soapbox.js b/app/soapbox/reducers/soapbox.js index 0cd8ed9b4..b959a5596 100644 --- a/app/soapbox/reducers/soapbox.js +++ b/app/soapbox/reducers/soapbox.js @@ -2,7 +2,7 @@ import { Map as ImmutableMap, fromJS } from 'immutable'; import { PLEROMA_PRELOAD_IMPORT } from 'soapbox/actions/preload'; import KVStore from 'soapbox/storage/kv-store'; -import { ConfigDB } from 'soapbox/utils/config_db'; +import { ConfigDB } from 'soapbox/utils/config-db'; import { ADMIN_CONFIG_UPDATE_SUCCESS } from '../actions/admin'; import { diff --git a/app/soapbox/reducers/statuses.ts b/app/soapbox/reducers/statuses.ts index 088191edd..e63cd48c3 100644 --- a/app/soapbox/reducers/statuses.ts +++ b/app/soapbox/reducers/statuses.ts @@ -3,7 +3,7 @@ import { Map as ImmutableMap, List as ImmutableList, fromJS } from 'immutable'; import emojify from 'soapbox/features/emoji/emoji'; import { normalizeStatus } from 'soapbox/normalizers'; -import { simulateEmojiReact, simulateUnEmojiReact } from 'soapbox/utils/emoji_reacts'; +import { simulateEmojiReact, simulateUnEmojiReact } from 'soapbox/utils/emoji-reacts'; import { stripCompatibilityFeatures, unescapeHTML } from 'soapbox/utils/html'; import { makeEmojiMap, normalizeId } from 'soapbox/utils/normalizers'; diff --git a/app/soapbox/selectors/index.ts b/app/soapbox/selectors/index.ts index 84165fc98..047faefa6 100644 --- a/app/soapbox/selectors/index.ts +++ b/app/soapbox/selectors/index.ts @@ -9,7 +9,7 @@ import { createSelector } from 'reselect'; import { getSettings } from 'soapbox/actions/settings'; import { getDomain } from 'soapbox/utils/accounts'; import { validId } from 'soapbox/utils/auth'; -import ConfigDB from 'soapbox/utils/config_db'; +import ConfigDB from 'soapbox/utils/config-db'; import { shouldFilter } from 'soapbox/utils/timelines'; import type { ReducerChat } from 'soapbox/reducers/chats'; diff --git a/app/soapbox/utils/__tests__/config_db.test.ts b/app/soapbox/utils/__tests__/config-db.test.ts similarity index 90% rename from app/soapbox/utils/__tests__/config_db.test.ts rename to app/soapbox/utils/__tests__/config-db.test.ts index a83757eb3..8f398ee9a 100644 --- a/app/soapbox/utils/__tests__/config_db.test.ts +++ b/app/soapbox/utils/__tests__/config-db.test.ts @@ -2,7 +2,7 @@ import { List as ImmutableList, fromJS } from 'immutable'; import config_db from 'soapbox/__fixtures__/config_db.json'; -import { ConfigDB } from '../config_db'; +import { ConfigDB } from '../config-db'; test('find', () => { const configs = fromJS(config_db).get('configs'); diff --git a/app/soapbox/utils/__tests__/emoji_reacts.test.ts b/app/soapbox/utils/__tests__/emoji-reacts.test.ts similarity index 99% rename from app/soapbox/utils/__tests__/emoji_reacts.test.ts rename to app/soapbox/utils/__tests__/emoji-reacts.test.ts index 14832210c..97f8e34db 100644 --- a/app/soapbox/utils/__tests__/emoji_reacts.test.ts +++ b/app/soapbox/utils/__tests__/emoji-reacts.test.ts @@ -11,7 +11,7 @@ import { getReactForStatus, simulateEmojiReact, simulateUnEmojiReact, -} from '../emoji_reacts'; +} from '../emoji-reacts'; const ALLOWED_EMOJI = ImmutableList([ '👍', diff --git a/app/soapbox/utils/config_db.ts b/app/soapbox/utils/config-db.ts similarity index 100% rename from app/soapbox/utils/config_db.ts rename to app/soapbox/utils/config-db.ts diff --git a/app/soapbox/utils/emoji_reacts.ts b/app/soapbox/utils/emoji-reacts.ts similarity index 100% rename from app/soapbox/utils/emoji_reacts.ts rename to app/soapbox/utils/emoji-reacts.ts diff --git a/app/soapbox/utils/favicon_service.ts b/app/soapbox/utils/favicon-service.ts similarity index 100% rename from app/soapbox/utils/favicon_service.ts rename to app/soapbox/utils/favicon-service.ts diff --git a/app/soapbox/utils/greentext.ts b/app/soapbox/utils/greentext.ts index eab93b22a..70c5e05d8 100644 --- a/app/soapbox/utils/greentext.ts +++ b/app/soapbox/utils/greentext.ts @@ -1,4 +1,4 @@ -import { processHtml } from './tiny_post_html_processor'; +import { processHtml } from './tiny-post-html-processor'; export const addGreentext = (html: string): string => { // Copied from Pleroma FE diff --git a/app/soapbox/utils/media_aspect_ratio.ts b/app/soapbox/utils/media-aspect-ratio.ts similarity index 100% rename from app/soapbox/utils/media_aspect_ratio.ts rename to app/soapbox/utils/media-aspect-ratio.ts diff --git a/app/soapbox/utils/resize_image.ts b/app/soapbox/utils/resize-image.ts similarity index 100% rename from app/soapbox/utils/resize_image.ts rename to app/soapbox/utils/resize-image.ts diff --git a/app/soapbox/utils/rich_content.ts b/app/soapbox/utils/rich-content.ts similarity index 100% rename from app/soapbox/utils/rich_content.ts rename to app/soapbox/utils/rich-content.ts diff --git a/app/soapbox/utils/soapbox_prop_types.ts b/app/soapbox/utils/soapbox-prop-types.ts similarity index 100% rename from app/soapbox/utils/soapbox_prop_types.ts rename to app/soapbox/utils/soapbox-prop-types.ts diff --git a/app/soapbox/utils/tiny_post_html_processor.ts b/app/soapbox/utils/tiny-post-html-processor.ts similarity index 100% rename from app/soapbox/utils/tiny_post_html_processor.ts rename to app/soapbox/utils/tiny-post-html-processor.ts