diff --git a/config/build-chartcuterie.ts b/config/build-chartcuterie.ts index 95ba09d47b3e..032f7317110a 100644 --- a/config/build-chartcuterie.ts +++ b/config/build-chartcuterie.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ /* eslint-disable import/no-nodejs-modules, no-console */ import childProcess from 'node:child_process'; diff --git a/eslint.config.ts b/eslint.config.ts index 4109ae5dadd6..cf67938140b1 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -9,7 +9,6 @@ * `npx eslint --inspect-config` */ -import e18e from '@e18e/eslint-plugin'; /** * Import Linting Strategy * @@ -25,6 +24,7 @@ import e18e from '@e18e/eslint-plugin'; * - Controls which internal modules can import from each other * - Examples: preventing sentry from importing getsentry, core isolation, test boundaries */ +import e18e from '@e18e/eslint-plugin'; import * as emotion from '@emotion/eslint-plugin'; import eslint from '@eslint/js'; // eslint-disable-next-line boundaries/dependencies @@ -665,7 +665,7 @@ export default typescript.config([ files: [ '*.config.*', '**/__mocks__/*', - 'static/app/stories/*-loader.ts', + 'static/app/stories/*Loader.ts', 'static/app/chartcuterie/config.tsx', 'tests/js/*-transform.*', 'tests/js/test-*/*', @@ -832,14 +832,30 @@ export default typescript.config([ extends: [unicorn.configs.unopinionated], rules: { 'unicorn/custom-error-definition': 'error', - 'unicorn/no-instanceof-array': 'error', - 'unicorn/no-useless-undefined': ['error', {checkArguments: false}], - - 'unicorn/filename-case': ['off', {case: 'camelCase'}], // TODO(ryan953): Fix violations and enable this rule + 'unicorn/filename-case': [ + 'error', + { + case: 'camelCase', + ignore: [ + 'jest-pegjs-transform\\.js', + 'jest-environment\\.js', + 'jest-environment-node\\.js', + '/__mocks__/', + // Shebang scripts can't use an inline disable comment (it must sit + // on line 1, where the shebang is) and are invoked by their + // kebab-case names from package.json/CI, so ignore them here. + 'analyze-styled\\.ts$', + 'type-coverage\\.ts$', + 'type-coverage-diff\\.ts$', + ], + }, + ], 'unicorn/no-array-push-push': 'error', + 'unicorn/no-instanceof-array': 'error', 'unicorn/no-single-promise-in-promise-methods': 'warn', // TODO(ryan953): Fix violations and enable this rule 'unicorn/no-static-only-class': 'off', // TODO(ryan953): Fix violations and enable this rule 'unicorn/no-this-assignment': 'off', // TODO(ryan953): Fix violations and enable this rule + 'unicorn/no-useless-undefined': ['error', {checkArguments: false}], 'unicorn/no-zero-fractions': 'error', 'unicorn/prefer-array-flat': 'off', // TODO(ryan953): Fix violations and enable this rule 'unicorn/prefer-default-parameters': 'warn', // TODO(ryan953): Fix violations and enable this rule diff --git a/jest.config.ts b/jest.config.ts index 6b297c8cb1d3..b7863bf7dbf2 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -290,7 +290,7 @@ const config: Config.InitialOptions = { }, passWithNoTests: JEST_TESTS !== undefined, setupFiles: [ - '/static/app/utils/silence-react-unsafe-warnings.ts', + '/static/app/utils/silenceReactUnsafeWarnings.ts', 'jest-canvas-mock', ], setupFilesAfterEnv: [ diff --git a/knip.config.ts b/knip.config.ts index 16a3a814c6fe..b4a7aeba76f7 100644 --- a/knip.config.ts +++ b/knip.config.ts @@ -6,7 +6,7 @@ const productionEntryPoints = [ // the main entry points - app, gsAdmin & gsApp 'static/app/index.tsx', // defined in rspack.config.ts pipelines - 'static/app/utils/statics-setup.tsx', + 'static/app/utils/setupStatics.tsx', 'static/app/serviceWorker/worker/worker.ts', // exports used by scripts 'static/app/components/seer/markdown/embeds/schemas.ts', diff --git a/rspack.config.ts b/rspack.config.ts index b35b437aa52c..a4acc8ac5368 100644 --- a/rspack.config.ts +++ b/rspack.config.ts @@ -272,10 +272,10 @@ const appConfig: Configuration = { * * The order here matters for `getsentry` */ - app: ['sentry/utils/statics-setup', 'sentry'], + app: ['sentry/utils/setupStatics', 'sentry'], // admin interface - gsAdmin: ['sentry/utils/statics-setup', path.join(staticPrefix, 'gsAdmin')], + gsAdmin: ['sentry/utils/setupStatics', path.join(staticPrefix, 'gsAdmin')], /** * Legacy CSS Webpack appConfig for Django-powered views. @@ -476,7 +476,7 @@ const appConfig: Configuration = { alias: { 'type-loader': path.resolve( import.meta.dirname, - 'static/app/stories/type-loader.ts' + 'static/app/stories/typeLoader.ts' ), }, }, diff --git a/scripts/build-js-loader.ts b/scripts/build-js-loader.ts index 64a83e7df3e9..973fe2bae9b3 100644 --- a/scripts/build-js-loader.ts +++ b/scripts/build-js-loader.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ 'use strict'; import fs from 'node:fs'; diff --git a/scripts/dev-ui-server.ts b/scripts/dev-ui-server.ts index a4952c4f77fe..6681ce062804 100644 --- a/scripts/dev-ui-server.ts +++ b/scripts/dev-ui-server.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {spawn} from 'node:child_process'; import * as net from 'node:net'; diff --git a/static/app/__mocks__/react-date-range.tsx b/static/app/__mocks__/react-date-range.tsx index f85e407899a6..7e1bc3a72525 100644 --- a/static/app/__mocks__/react-date-range.tsx +++ b/static/app/__mocks__/react-date-range.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {CalendarProps, DateRangeProps, Range, RangeKeyDict} from 'react-date-range'; import moment from 'moment-timezone'; diff --git a/static/app/__mocks__/react-lazyload.tsx b/static/app/__mocks__/react-lazyload.tsx index a5be44b10d53..8d360585cc90 100644 --- a/static/app/__mocks__/react-lazyload.tsx +++ b/static/app/__mocks__/react-lazyload.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ /** * Auto-mock of the react-lazyload library for jest * diff --git a/static/app/bootstrap/commonInitialization.tsx b/static/app/bootstrap/commonInitialization.tsx index 009595abd22d..96c5154a4c20 100644 --- a/static/app/bootstrap/commonInitialization.tsx +++ b/static/app/bootstrap/commonInitialization.tsx @@ -10,7 +10,7 @@ if (IS_ACCEPTANCE_TEST || NODE_ENV === 'test') { export function commonInitialization(config: Config) { if (NODE_ENV === 'development') { - import(/* webpackMode: "eager" */ 'sentry/utils/silence-react-unsafe-warnings'); + import(/* webpackMode: "eager" */ 'sentry/utils/silenceReactUnsafeWarnings'); } ConfigStore.loadInitialData(config); diff --git a/static/app/components/IssueStreamHeaderLabel.tsx b/static/app/components/IssueStreamHeaderLabel.tsx index e7d60a492973..50825adcc997 100644 --- a/static/app/components/IssueStreamHeaderLabel.tsx +++ b/static/app/components/IssueStreamHeaderLabel.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {css} from '@emotion/react'; import styled from '@emotion/styled'; diff --git a/static/app/components/core/form/FormSearch.tsx b/static/app/components/core/form/FormSearch.tsx index baad2336d206..6772a511bae8 100644 --- a/static/app/components/core/form/FormSearch.tsx +++ b/static/app/components/core/form/FormSearch.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ReactNode} from 'react'; interface FormSearchProps { diff --git a/static/app/components/core/patterns/number-formatting.mdx b/static/app/components/core/patterns/numberFormatting.mdx similarity index 100% rename from static/app/components/core/patterns/number-formatting.mdx rename to static/app/components/core/patterns/numberFormatting.mdx diff --git a/static/app/components/core/patterns/render-to-html.mdx b/static/app/components/core/patterns/renderToHtml.mdx similarity index 100% rename from static/app/components/core/patterns/render-to-html.mdx rename to static/app/components/core/patterns/renderToHtml.mdx diff --git a/static/app/components/core/principles/content-and-voice/content-and-voice.mdx b/static/app/components/core/principles/content-and-voice/contentAndVoice.mdx similarity index 100% rename from static/app/components/core/principles/content-and-voice/content-and-voice.mdx rename to static/app/components/core/principles/content-and-voice/contentAndVoice.mdx diff --git a/static/app/components/core/principles/layering-and-elevation/layering-and-elevation.mdx b/static/app/components/core/principles/layering-and-elevation/layeringAndElevation.mdx similarity index 100% rename from static/app/components/core/principles/layering-and-elevation/layering-and-elevation.mdx rename to static/app/components/core/principles/layering-and-elevation/layeringAndElevation.mdx diff --git a/static/app/components/deviceName.tsx b/static/app/components/deviceName.tsx index aea88fabe3b8..9f5e2663f818 100644 --- a/static/app/components/deviceName.tsx +++ b/static/app/components/deviceName.tsx @@ -1,6 +1,6 @@ import {useMemo} from 'react'; -import {iOSDeviceMapping} from 'sentry/constants/ios-device-list'; +import {iOSDeviceMapping} from 'sentry/constants/iosDeviceList'; export function deviceNameMapper(model: string | undefined): string | null { // If we have no model, render nothing diff --git a/static/app/components/events/featureFlags/cta/featureFlagCTAContent.tsx b/static/app/components/events/featureFlags/cta/featureFlagCTAContent.tsx index 43600a2397ad..81d5a7481ca1 100644 --- a/static/app/components/events/featureFlags/cta/featureFlagCTAContent.tsx +++ b/static/app/components/events/featureFlags/cta/featureFlagCTAContent.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useEffect} from 'react'; import styled from '@emotion/styled'; diff --git a/static/app/components/events/rrwebReplayer/baseRRWebReplayer.tsx b/static/app/components/events/rrwebReplayer/baseRRWebReplayer.tsx index be5e0a464b6d..16c0462d0d9c 100644 --- a/static/app/components/events/rrwebReplayer/baseRRWebReplayer.tsx +++ b/static/app/components/events/rrwebReplayer/baseRRWebReplayer.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useCallback, useEffect, useRef} from 'react'; import styled from '@emotion/styled'; import RRWebPlayer from '@sentry-internal/rrweb-player'; diff --git a/static/app/components/feedback/feedbackItem/replayInlineCTAPanel.tsx b/static/app/components/feedback/feedbackItem/replayInlineCTAPanel.tsx index 843341094c41..06969845b49d 100644 --- a/static/app/components/feedback/feedbackItem/replayInlineCTAPanel.tsx +++ b/static/app/components/feedback/feedbackItem/replayInlineCTAPanel.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import styled from '@emotion/styled'; import replaysInlineOnboarding from 'sentry-images/spot/replay-onboarding-backend.svg'; diff --git a/static/app/components/feedbackButton/useFeedbackSDKIntegration.tsx b/static/app/components/feedbackButton/useFeedbackSDKIntegration.tsx index e4414870d078..a55dfed15db9 100644 --- a/static/app/components/feedbackButton/useFeedbackSDKIntegration.tsx +++ b/static/app/components/feedbackButton/useFeedbackSDKIntegration.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useMemo} from 'react'; import type * as Sentry from '@sentry/react'; diff --git a/static/app/components/gameConsole/RequestSdkAccessButton.tsx b/static/app/components/gameConsole/RequestSdkAccessButton.tsx index 4cdcf5bea046..99fab3f15d96 100644 --- a/static/app/components/gameConsole/RequestSdkAccessButton.tsx +++ b/static/app/components/gameConsole/RequestSdkAccessButton.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Button, type ButtonProps} from '@sentry/scraps/button'; import {openPrivateGamingSdkAccessModal} from 'sentry/actionCreators/modal'; diff --git a/static/app/components/illustrations/NoProjectEmptyState.tsx b/static/app/components/illustrations/NoProjectEmptyState.tsx index a75ec600c0bd..8cb3a253107d 100644 --- a/static/app/components/illustrations/NoProjectEmptyState.tsx +++ b/static/app/components/illustrations/NoProjectEmptyState.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {css, keyframes} from '@emotion/react'; import styled from '@emotion/styled'; import type {Transition} from 'framer-motion'; diff --git a/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.spec.tsx b/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.spec.tsx index c568431e26e1..2b5664d494bd 100644 --- a/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.spec.tsx +++ b/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary'; import {FlamegraphWarnings} from 'sentry/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings'; diff --git a/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.tsx b/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.tsx index dc8fa25e3062..af3524034f3f 100644 --- a/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.tsx +++ b/static/app/components/profiling/flamegraph/flamegraphOverlays/FlamegraphWarnings.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import styled from '@emotion/styled'; import {Button} from '@sentry/scraps/button'; diff --git a/static/app/components/profiling/flamegraph/flamegraphUIFrames.tsx b/static/app/components/profiling/flamegraph/flamegraphUIFrames.tsx index 052ef084485b..192735f4a467 100644 --- a/static/app/components/profiling/flamegraph/flamegraphUIFrames.tsx +++ b/static/app/components/profiling/flamegraph/flamegraphUIFrames.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {CSSProperties} from 'react'; import {Fragment, useCallback, useEffect, useMemo, useState} from 'react'; import styled from '@emotion/styled'; diff --git a/static/app/components/profiling/flamegraph/flamegraphUIFramesTooltip.tsx b/static/app/components/profiling/flamegraph/flamegraphUIFramesTooltip.tsx index bd7c4d3f4dc6..d28346f907fa 100644 --- a/static/app/components/profiling/flamegraph/flamegraphUIFramesTooltip.tsx +++ b/static/app/components/profiling/flamegraph/flamegraphUIFramesTooltip.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useMemo} from 'react'; import type {vec2} from 'gl-matrix'; diff --git a/static/app/components/quietZoneQRCode.tsx b/static/app/components/quietZoneQRCode.tsx index f60d249336a8..49904cab3702 100644 --- a/static/app/components/quietZoneQRCode.tsx +++ b/static/app/components/quietZoneQRCode.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type React from 'react'; import styled from '@emotion/styled'; import {QRCodeCanvas} from 'qrcode.react'; diff --git a/static/app/components/tables/gridEditable/GridEditableEmptyData.tsx b/static/app/components/tables/gridEditable/GridEditableEmptyData.tsx index 740715c5d1b4..4be0fcdb9313 100644 --- a/static/app/components/tables/gridEditable/GridEditableEmptyData.tsx +++ b/static/app/components/tables/gridEditable/GridEditableEmptyData.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {EmptyStateWarning} from 'sentry/components/emptyStateWarning'; import {t} from 'sentry/locale'; diff --git a/static/app/components/tables/gridEditable/GridEditableError.tsx b/static/app/components/tables/gridEditable/GridEditableError.tsx index 1bd47d041bc7..e9afd372e0c2 100644 --- a/static/app/components/tables/gridEditable/GridEditableError.tsx +++ b/static/app/components/tables/gridEditable/GridEditableError.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {IconWarning} from 'sentry/icons'; import {GridBodyCellStatus, GridRow} from './styles'; diff --git a/static/app/components/tables/gridEditable/GridEditableLoading.tsx b/static/app/components/tables/gridEditable/GridEditableLoading.tsx index c1d25cb48947..b39f5ed88857 100644 --- a/static/app/components/tables/gridEditable/GridEditableLoading.tsx +++ b/static/app/components/tables/gridEditable/GridEditableLoading.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {LoadingIndicator} from 'sentry/components/loadingIndicator'; import {GridBodyCellStatus, GridRow} from './styles'; diff --git a/static/app/constants/ios-device-list.tsx b/static/app/constants/iosDeviceList.tsx similarity index 100% rename from static/app/constants/ios-device-list.tsx rename to static/app/constants/iosDeviceList.tsx diff --git a/static/app/serviceWorker/worker/client-config.ts b/static/app/serviceWorker/worker/clientConfig.ts similarity index 100% rename from static/app/serviceWorker/worker/client-config.ts rename to static/app/serviceWorker/worker/clientConfig.ts diff --git a/static/app/serviceWorker/worker/fetch.ts b/static/app/serviceWorker/worker/fetch.ts index 7b881cd6d7e1..39d65a1fe93c 100644 --- a/static/app/serviceWorker/worker/fetch.ts +++ b/static/app/serviceWorker/worker/fetch.ts @@ -1,6 +1,6 @@ import {controlsiloUrlPatterns} from 'sentry/data/controlsiloUrlPatterns'; -import {getClientConfigFromCache} from 'sentry/serviceWorker/worker/client-config'; -import {type ClientConfig} from 'sentry/serviceWorker/worker/client-config'; +import {getClientConfigFromCache} from 'sentry/serviceWorker/worker/clientConfig'; +import {type ClientConfig} from 'sentry/serviceWorker/worker/clientConfig'; import {getApiUrl} from 'sentry/utils/api/getApiUrl'; type ApiUrl = ReturnType; diff --git a/static/app/serviceWorker/worker/initializeSentry.ts b/static/app/serviceWorker/worker/initializeSentry.ts index 35f85838fcb2..d01abdf6b3ff 100644 --- a/static/app/serviceWorker/worker/initializeSentry.ts +++ b/static/app/serviceWorker/worker/initializeSentry.ts @@ -9,7 +9,7 @@ import { SPA_MODE_ALLOW_URLS, SPA_MODE_TRACE_PROPAGATION_TARGETS, } from 'sentry/constants/sdk'; -import type {ClientConfig} from 'sentry/serviceWorker/worker/client-config'; +import type {ClientConfig} from 'sentry/serviceWorker/worker/clientConfig'; let isInitialized = false; diff --git a/static/app/serviceWorker/worker/worker.ts b/static/app/serviceWorker/worker/worker.ts index 4154c65f5907..e3bf44f4a71e 100644 --- a/static/app/serviceWorker/worker/worker.ts +++ b/static/app/serviceWorker/worker/worker.ts @@ -1,7 +1,7 @@ import * as Sentry from '@sentry/browser'; import type {ResponseMessage} from 'sentry/serviceWorker/types'; -import {fetchClientConfig} from 'sentry/serviceWorker/worker/client-config'; +import {fetchClientConfig} from 'sentry/serviceWorker/worker/clientConfig'; import {DEBUG_LOGGING, log} from 'sentry/serviceWorker/worker/constants'; import {handleInboundEvent} from 'sentry/serviceWorker/worker/handleInboundEvent'; import {handleInboundRequest} from 'sentry/serviceWorker/worker/handleInboundRequest'; diff --git a/static/app/stores/IssueListCacheStore.tsx b/static/app/stores/IssueListCacheStore.tsx index 533e13497061..e847e3494bcd 100644 --- a/static/app/stores/IssueListCacheStore.tsx +++ b/static/app/stores/IssueListCacheStore.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import isEqual from 'lodash/isEqual'; import {createStore} from 'reflux'; diff --git a/static/app/stories/type-loader.ts b/static/app/stories/typeLoader.ts similarity index 100% rename from static/app/stories/type-loader.ts rename to static/app/stories/typeLoader.ts diff --git a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.spec.tsx b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.spec.tsx index b1c739c30782..d42a3af50707 100644 --- a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.spec.tsx +++ b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {VirtualizedTree} from 'sentry/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree'; import type {VirtualizedTreeNode} from 'sentry/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode'; diff --git a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.tsx b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.tsx index 774329b8501c..0110f476f68a 100644 --- a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.tsx +++ b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTree.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {TreeLike} from 'sentry/utils/profiling/hooks/useVirtualizedTree/useVirtualizedTree'; import {VirtualizedTreeNode} from './VirtualizedTreeNode'; diff --git a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.spec.tsx b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.spec.tsx index 025507297d21..6df5ad1426a5 100644 --- a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.spec.tsx +++ b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {VirtualizedTreeNode} from 'sentry/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode'; describe('VirtualizedTreeNode', () => { diff --git a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.tsx b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.tsx index 26b4fcef0ac3..e8b30eb0031e 100644 --- a/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.tsx +++ b/static/app/utils/profiling/hooks/useVirtualizedTree/VirtualizedTreeNode.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ export class VirtualizedTreeNode { node: T; parent: VirtualizedTreeNode | null; diff --git a/static/app/utils/profiling/renderers/UIFramesRenderer.tsx b/static/app/utils/profiling/renderers/UIFramesRenderer.tsx index 3ff93af98d4a..0500824ba1b8 100644 --- a/static/app/utils/profiling/renderers/UIFramesRenderer.tsx +++ b/static/app/utils/profiling/renderers/UIFramesRenderer.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {mat3, vec2} from 'gl-matrix'; import type { diff --git a/static/app/utils/profiling/renderers/UIFramesRenderer2D.tsx b/static/app/utils/profiling/renderers/UIFramesRenderer2D.tsx index ecc23d93d6bc..630589e69261 100644 --- a/static/app/utils/profiling/renderers/UIFramesRenderer2D.tsx +++ b/static/app/utils/profiling/renderers/UIFramesRenderer2D.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {mat3} from 'gl-matrix'; import {colorComponentsToRGBA} from 'sentry/utils/profiling/colors/utils'; diff --git a/static/app/utils/profiling/renderers/flamegraphRendererWebGL.spec.tsx b/static/app/utils/profiling/renderers/flamegraphRendererWebGL.spec.tsx index 8a2ddfd57fd7..aa8b7d4a41f5 100644 --- a/static/app/utils/profiling/renderers/flamegraphRendererWebGL.spec.tsx +++ b/static/app/utils/profiling/renderers/flamegraphRendererWebGL.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {vec2} from 'gl-matrix'; import {ThemeFixture} from 'sentry-fixture/theme'; diff --git a/static/app/utils/profiling/renderers/flamegraphRendererWebGL.tsx b/static/app/utils/profiling/renderers/flamegraphRendererWebGL.tsx index 2a55fbb3c4f5..01a60c18cff2 100644 --- a/static/app/utils/profiling/renderers/flamegraphRendererWebGL.tsx +++ b/static/app/utils/profiling/renderers/flamegraphRendererWebGL.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import * as Sentry from '@sentry/react'; import type {vec2} from 'gl-matrix'; import {mat3} from 'gl-matrix'; diff --git a/static/app/utils/profiling/renderers/uiFramesRendererWebGL.spec.tsx b/static/app/utils/profiling/renderers/uiFramesRendererWebGL.spec.tsx index 9fe4591a7672..e91563f92fc6 100644 --- a/static/app/utils/profiling/renderers/uiFramesRendererWebGL.spec.tsx +++ b/static/app/utils/profiling/renderers/uiFramesRendererWebGL.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {vec2} from 'gl-matrix'; import {ThemeFixture} from 'sentry-fixture/theme'; diff --git a/static/app/utils/profiling/renderers/uiFramesRendererWebGL.tsx b/static/app/utils/profiling/renderers/uiFramesRendererWebGL.tsx index 54a76f9069a2..3c4a2b6f9fd8 100644 --- a/static/app/utils/profiling/renderers/uiFramesRendererWebGL.tsx +++ b/static/app/utils/profiling/renderers/uiFramesRendererWebGL.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import * as Sentry from '@sentry/react'; import {mat3} from 'gl-matrix'; diff --git a/static/app/utils/replays/hydrateRRWebRecordingFrames.spec.tsx b/static/app/utils/replays/hydrateRRWebRecordingFrames.spec.tsx index 4078c300ef8c..01fd80f3a5c3 100644 --- a/static/app/utils/replays/hydrateRRWebRecordingFrames.spec.tsx +++ b/static/app/utils/replays/hydrateRRWebRecordingFrames.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {ReplayRecordFixture} from 'sentry-fixture/replayRecord'; import {recordingEndFrame} from 'sentry/utils/replays/hydrateRRWebRecordingFrames'; diff --git a/static/app/utils/replays/hydrateRRWebRecordingFrames.tsx b/static/app/utils/replays/hydrateRRWebRecordingFrames.tsx index e8f1aa772f39..713048ee6a00 100644 --- a/static/app/utils/replays/hydrateRRWebRecordingFrames.tsx +++ b/static/app/utils/replays/hydrateRRWebRecordingFrames.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {RecordingFrame} from 'sentry/utils/replays/types'; import {EventType} from 'sentry/utils/replays/types'; import type {HydratedReplayRecord} from 'sentry/views/explore/replays/types'; diff --git a/static/app/utils/statics-setup.tsx b/static/app/utils/setupStatics.tsx similarity index 100% rename from static/app/utils/statics-setup.tsx rename to static/app/utils/setupStatics.tsx diff --git a/static/app/utils/silence-react-unsafe-warnings.ts b/static/app/utils/silenceReactUnsafeWarnings.ts similarity index 100% rename from static/app/utils/silence-react-unsafe-warnings.ts rename to static/app/utils/silenceReactUnsafeWarnings.ts diff --git a/static/app/utils/string/containsCRLF.ts b/static/app/utils/string/containsCRLF.ts index 0a4e7a03a0dd..7093835de337 100644 --- a/static/app/utils/string/containsCRLF.ts +++ b/static/app/utils/string/containsCRLF.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ const CRLF_REGEXP = /[\r\n]/; export function containsCRLF(value: string) { diff --git a/static/app/utils/string/isUUID.spec.tsx b/static/app/utils/string/isUUID.spec.tsx index 6c5f2760b482..83cea047b3fa 100644 --- a/static/app/utils/string/isUUID.spec.tsx +++ b/static/app/utils/string/isUUID.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {isUUID} from 'sentry/utils/string/isUUID'; describe('isUUID', () => { diff --git a/static/app/utils/string/isUUID.tsx b/static/app/utils/string/isUUID.tsx index acebd96810ab..65a7abb0e0b2 100644 --- a/static/app/utils/string/isUUID.tsx +++ b/static/app/utils/string/isUUID.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ export function isUUID(uuid: string): boolean { const uuidRegex = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i; return uuidRegex.test(uuid); diff --git a/static/app/utils/string/looksLikeAJSONArray.spec.tsx b/static/app/utils/string/looksLikeAJSONArray.spec.tsx index aeb8eb0f297d..be6178a21917 100644 --- a/static/app/utils/string/looksLikeAJSONArray.spec.tsx +++ b/static/app/utils/string/looksLikeAJSONArray.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {looksLikeAJSONArray} from './looksLikeAJSONArray'; describe('looksLikeAJSONArray', () => { diff --git a/static/app/utils/string/looksLikeAJSONArray.tsx b/static/app/utils/string/looksLikeAJSONArray.tsx index 1edc98a1a360..2190ca00b6d7 100644 --- a/static/app/utils/string/looksLikeAJSONArray.tsx +++ b/static/app/utils/string/looksLikeAJSONArray.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ /** * Check if a string value looks like it could be a JSON-encoded array. This is useful for situations where we used JSON strings to store array values because diff --git a/static/app/utils/string/looksLikeAJSONObject.spec.tsx b/static/app/utils/string/looksLikeAJSONObject.spec.tsx index b19f8ad5e4e8..63271582b932 100644 --- a/static/app/utils/string/looksLikeAJSONObject.spec.tsx +++ b/static/app/utils/string/looksLikeAJSONObject.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {looksLikeAJSONObject} from './looksLikeAJSONObject'; describe('looksLikeAJSONObject', () => { diff --git a/static/app/utils/string/looksLikeAJSONObject.tsx b/static/app/utils/string/looksLikeAJSONObject.tsx index 733826eda080..8f74605eb844 100644 --- a/static/app/utils/string/looksLikeAJSONObject.tsx +++ b/static/app/utils/string/looksLikeAJSONObject.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ /** * Check if a string value looks like it could be a JSON-encoded object. This is useful for situations where we used JSON strings to store object values because diff --git a/static/app/utils/url/safeURL.spec.tsx b/static/app/utils/url/safeURL.spec.tsx index 9d81a3187e00..c8d4f3b40c47 100644 --- a/static/app/utils/url/safeURL.spec.tsx +++ b/static/app/utils/url/safeURL.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {safeURL} from './safeURL'; describe('safeURL', () => { diff --git a/static/app/utils/url/safeURL.tsx b/static/app/utils/url/safeURL.tsx index 20c047f1ff80..10ba608765d1 100644 --- a/static/app/utils/url/safeURL.tsx +++ b/static/app/utils/url/safeURL.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ /** * Does not throw error on invalid input and returns the parsed URL object * if the input is a valid URL, otherwise returns undefined. diff --git a/static/app/utils/url/stripURLOrigin.spec.tsx b/static/app/utils/url/stripURLOrigin.spec.tsx index bf04b1b450ff..fc615890e410 100644 --- a/static/app/utils/url/stripURLOrigin.spec.tsx +++ b/static/app/utils/url/stripURLOrigin.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {stripURLOrigin} from 'sentry/utils/url/stripURLOrigin'; describe('stripURLOrigin', () => { diff --git a/static/app/utils/url/stripURLOrigin.tsx b/static/app/utils/url/stripURLOrigin.tsx index 2a9c71e036fd..4f7d20e5230a 100644 --- a/static/app/utils/url/stripURLOrigin.tsx +++ b/static/app/utils/url/stripURLOrigin.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {safeURL} from 'sentry/utils/url/safeURL'; /** diff --git a/static/app/utils/useRAF.tsx b/static/app/utils/useRAF.tsx index 40254237cbbd..424f8b64de9c 100644 --- a/static/app/utils/useRAF.tsx +++ b/static/app/utils/useRAF.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useEffect} from 'react'; export function useRAF(callback: () => unknown, opts?: {enabled: boolean}) { diff --git a/static/app/views/alerts/rules/APIUsageWarningBanner.tsx b/static/app/views/alerts/rules/APIUsageWarningBanner.tsx index 00fcf429cbe7..96bc29a652da 100644 --- a/static/app/views/alerts/rules/APIUsageWarningBanner.tsx +++ b/static/app/views/alerts/rules/APIUsageWarningBanner.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Alert} from '@sentry/scraps/alert'; import {ExternalLink} from '@sentry/scraps/link'; diff --git a/static/app/views/app/asyncSDKIntegrationProvider.tsx b/static/app/views/app/asyncSDKIntegrationProvider.tsx index 7485eed8a577..c598f248b3a5 100644 --- a/static/app/views/app/asyncSDKIntegrationProvider.tsx +++ b/static/app/views/app/asyncSDKIntegrationProvider.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {createContext, useContext, useState} from 'react'; import type {addIntegration} from '@sentry/react'; diff --git a/static/app/views/dashboards/widgetCard/dashboardsMEPContext.tsx b/static/app/views/dashboards/widgetCard/dashboardsMEPContext.tsx index 305080f42a49..947345c2b76e 100644 --- a/static/app/views/dashboards/widgetCard/dashboardsMEPContext.tsx +++ b/static/app/views/dashboards/widgetCard/dashboardsMEPContext.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ReactNode} from 'react'; import {createContext, useContext, useState} from 'react'; diff --git a/static/app/views/dashboards/widgetCard/widgetLLMContext.spec.tsx b/static/app/views/dashboards/widgetCard/widgetLLMContext.spec.tsx index ff935b42cb60..9cd8c84f8943 100644 --- a/static/app/views/dashboards/widgetCard/widgetLLMContext.spec.tsx +++ b/static/app/views/dashboards/widgetCard/widgetLLMContext.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {WidgetFixture} from 'sentry-fixture/widget'; import {DisplayType} from 'sentry/views/dashboards/types'; diff --git a/static/app/views/dashboards/widgetCard/widgetLLMContext.tsx b/static/app/views/dashboards/widgetCard/widgetLLMContext.tsx index bfc2ccc1e3f5..c39a48ce0c73 100644 --- a/static/app/views/dashboards/widgetCard/widgetLLMContext.tsx +++ b/static/app/views/dashboards/widgetCard/widgetLLMContext.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {OP_LABELS} from 'sentry/components/searchQueryBuilder/tokens/filter/utils'; import type {Widget} from 'sentry/views/dashboards/types'; import {DisplayType} from 'sentry/views/dashboards/types'; diff --git a/static/app/views/dashboards/widgets/tableWidget/fixtures/sampleHTTPRequestTableData.ts b/static/app/views/dashboards/widgets/tableWidget/fixtures/sampleHTTPRequestTableData.ts index 563f7f6949c7..3842cfc15d13 100644 --- a/static/app/views/dashboards/widgets/tableWidget/fixtures/sampleHTTPRequestTableData.ts +++ b/static/app/views/dashboards/widgets/tableWidget/fixtures/sampleHTTPRequestTableData.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {TabularData} from 'sentry/views/dashboards/widgets/common/types'; export const sampleHTTPRequestTableData: TabularData = { diff --git a/static/app/views/detectors/new-setting.spec.tsx b/static/app/views/detectors/detectorNewSettings.spec.tsx similarity index 99% rename from static/app/views/detectors/new-setting.spec.tsx rename to static/app/views/detectors/detectorNewSettings.spec.tsx index 9b772cff5303..4292d020a5bb 100644 --- a/static/app/views/detectors/new-setting.spec.tsx +++ b/static/app/views/detectors/detectorNewSettings.spec.tsx @@ -21,7 +21,7 @@ import {OrganizationStore} from 'sentry/stores/organizationStore'; import {ProjectsStore} from 'sentry/stores/projectsStore'; import {getDatasetConfig} from 'sentry/views/detectors/datasetConfig/getDatasetConfig'; import {DetectorDataset} from 'sentry/views/detectors/datasetConfig/types'; -import DetectorNewSettings from 'sentry/views/detectors/new-settings'; +import DetectorNewSettings from 'sentry/views/detectors/detectorNewSettings'; describe('DetectorEdit', () => { const organization = OrganizationFixture({ diff --git a/static/app/views/detectors/new-settings.tsx b/static/app/views/detectors/detectorNewSettings.tsx similarity index 100% rename from static/app/views/detectors/new-settings.tsx rename to static/app/views/detectors/detectorNewSettings.tsx diff --git a/static/app/views/detectors/routes.tsx b/static/app/views/detectors/routes.tsx index 6c9bdb09939c..abc862fc0c89 100644 --- a/static/app/views/detectors/routes.tsx +++ b/static/app/views/detectors/routes.tsx @@ -17,7 +17,7 @@ export const detectorRoutes: SentryRouteObject = { }, { path: 'settings/', - component: make(() => import('sentry/views/detectors/new-settings')), + component: make(() => import('sentry/views/detectors/detectorNewSettings')), }, ], }, diff --git a/static/app/views/explore/logs/pinning/PinnedLogs.spec.tsx b/static/app/views/explore/logs/pinning/PinnedLogs.spec.tsx index 4f1cc89ff4d1..c869583fd41a 100644 --- a/static/app/views/explore/logs/pinning/PinnedLogs.spec.tsx +++ b/static/app/views/explore/logs/pinning/PinnedLogs.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {LogFixture} from 'sentry-fixture/log'; import {OrganizationFixture} from 'sentry-fixture/organization'; diff --git a/static/app/views/explore/logs/pinning/PinnedLogs.tsx b/static/app/views/explore/logs/pinning/PinnedLogs.tsx index fa27cbfa25d5..95e141a12285 100644 --- a/static/app/views/explore/logs/pinning/PinnedLogs.tsx +++ b/static/app/views/explore/logs/pinning/PinnedLogs.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useCallback, useMemo, useState} from 'react'; import styled from '@emotion/styled'; diff --git a/static/app/views/explore/metrics/hooks/useHasMetricUnitsUI.tsx b/static/app/views/explore/metrics/hooks/useHasMetricUnitsUI.tsx index 5f5a2cafdbd6..9cdbd1c537ee 100644 --- a/static/app/views/explore/metrics/hooks/useHasMetricUnitsUI.tsx +++ b/static/app/views/explore/metrics/hooks/useHasMetricUnitsUI.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useOrganization} from 'sentry/utils/useOrganization'; export function useHasMetricUnitsUI() { diff --git a/static/app/views/explore/releases/list/releaseHealthCTA.tsx b/static/app/views/explore/releases/list/releaseHealthCTA.tsx index fefd94e28f5e..7e987204e6bd 100644 --- a/static/app/views/explore/releases/list/releaseHealthCTA.tsx +++ b/static/app/views/explore/releases/list/releaseHealthCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import styled from '@emotion/styled'; import {Alert} from '@sentry/scraps/alert'; diff --git a/static/app/views/explore/replays/detail/browserOSIcons.tsx b/static/app/views/explore/replays/detail/browserOSIcons.tsx index e41e5ce0505b..557f5e0c65b9 100644 --- a/static/app/views/explore/replays/detail/browserOSIcons.tsx +++ b/static/app/views/explore/replays/detail/browserOSIcons.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import styled from '@emotion/styled'; import {PlatformIcon} from 'platformicons'; diff --git a/static/app/views/explore/replays/list/setupReplaysCTA.spec.tsx b/static/app/views/explore/replays/list/setupReplaysCTA.spec.tsx index 9bfc7e52feb8..580b53024e8b 100644 --- a/static/app/views/explore/replays/list/setupReplaysCTA.spec.tsx +++ b/static/app/views/explore/replays/list/setupReplaysCTA.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {render, screen, userEvent} from 'sentry-test/reactTestingLibrary'; import {SetupReplaysCTA} from 'sentry/views/explore/replays/list/replayOnboardingPanel'; diff --git a/static/app/views/insights/common/utils/hasEAPAlerts.tsx b/static/app/views/insights/common/utils/hasEAPAlerts.tsx index 71d54cd517d1..ef32591587f5 100644 --- a/static/app/views/insights/common/utils/hasEAPAlerts.tsx +++ b/static/app/views/insights/common/utils/hasEAPAlerts.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {Organization} from 'sentry/types/organization'; export function hasEAPAlerts(organization: Organization): boolean { diff --git a/static/app/views/insights/common/utils/useModuleURL.tsx b/static/app/views/insights/common/utils/useModuleURL.tsx index 5a25af485655..6d4871a52ad4 100644 --- a/static/app/views/insights/common/utils/useModuleURL.tsx +++ b/static/app/views/insights/common/utils/useModuleURL.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {normalizeUrl} from 'sentry/utils/url/normalizeUrl'; import {useOrganization} from 'sentry/utils/useOrganization'; import {BASE_URL as AGENT_MODELS_BASE_URL} from 'sentry/views/insights/agentModels/settings'; diff --git a/static/app/views/insights/database/queries/useOutdatedSDKProjects.tsx b/static/app/views/insights/database/queries/useOutdatedSDKProjects.tsx index 8d87ff523b4f..db871b1b2504 100644 --- a/static/app/views/insights/database/queries/useOutdatedSDKProjects.tsx +++ b/static/app/views/insights/database/queries/useOutdatedSDKProjects.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import uniqBy from 'lodash/uniqBy'; import {ProjectsStore} from 'sentry/stores/projectsStore'; diff --git a/static/app/views/insights/database/utils/formatMongoDBQuery.spec.tsx b/static/app/views/insights/database/utils/formatMongoDBQuery.spec.tsx index db34e81d3579..49827eac0cee 100644 --- a/static/app/views/insights/database/utils/formatMongoDBQuery.spec.tsx +++ b/static/app/views/insights/database/utils/formatMongoDBQuery.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import {render, screen} from 'sentry-test/reactTestingLibrary'; diff --git a/static/app/views/insights/database/utils/formatMongoDBQuery.tsx b/static/app/views/insights/database/utils/formatMongoDBQuery.tsx index f9d2611ff7af..fe10ab57911e 100644 --- a/static/app/views/insights/database/utils/formatMongoDBQuery.tsx +++ b/static/app/views/insights/database/utils/formatMongoDBQuery.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ReactElement} from 'react'; import * as Sentry from '@sentry/react'; import {jsonrepair} from 'jsonrepair'; diff --git a/static/app/views/insights/pages/agents/hooks/useAITrace.tsx b/static/app/views/insights/pages/agents/hooks/useAITrace.tsx index 549ae6f15a8b..b2ef9839ce6e 100644 --- a/static/app/views/insights/pages/agents/hooks/useAITrace.tsx +++ b/static/app/views/insights/pages/agents/hooks/useAITrace.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useEffect, useState} from 'react'; import {useApi} from 'sentry/utils/useApi'; diff --git a/static/app/views/insights/pages/agents/utils/formatLLMCosts.tsx b/static/app/views/insights/pages/agents/utils/formatLLMCosts.tsx index de917f45cc5d..1241647c331f 100644 --- a/static/app/views/insights/pages/agents/utils/formatLLMCosts.tsx +++ b/static/app/views/insights/pages/agents/utils/formatLLMCosts.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {formatDollars} from 'sentry/utils/formatters'; export function formatLLMCosts(cost: string | number | null) { diff --git a/static/app/views/insights/pages/mcp/hooks/useShowMCPOnboarding.tsx b/static/app/views/insights/pages/mcp/hooks/useShowMCPOnboarding.tsx index 4a894fc0daab..73b40323728d 100644 --- a/static/app/views/insights/pages/mcp/hooks/useShowMCPOnboarding.tsx +++ b/static/app/views/insights/pages/mcp/hooks/useShowMCPOnboarding.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {usePageFilters} from 'sentry/components/pageFilters/usePageFilters'; import {getSelectedProjectList} from 'sentry/utils/project/useSelectedProjectsHaveField'; import {useProjects} from 'sentry/utils/useProjects'; diff --git a/static/app/views/insights/pages/platform/shared/table/DurationCell.tsx b/static/app/views/insights/pages/platform/shared/table/DurationCell.tsx index 21437d7bac9d..fbd07eebc079 100644 --- a/static/app/views/insights/pages/platform/shared/table/DurationCell.tsx +++ b/static/app/views/insights/pages/platform/shared/table/DurationCell.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Duration} from 'sentry/components/duration'; import {TextAlignRight} from 'sentry/views/insights/common/components/textAlign'; import type {CellThreshold} from 'sentry/views/insights/pages/platform/shared/table/ThresholdCell'; diff --git a/static/app/views/insights/pages/platform/shared/table/ErrorRateCell.tsx b/static/app/views/insights/pages/platform/shared/table/ErrorRateCell.tsx index 012c448fbbcc..cc6ab51651fb 100644 --- a/static/app/views/insights/pages/platform/shared/table/ErrorRateCell.tsx +++ b/static/app/views/insights/pages/platform/shared/table/ErrorRateCell.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useTheme} from '@emotion/react'; import type {LocationDescriptor} from 'history'; diff --git a/static/app/views/insights/pages/platform/shared/table/NumberCell.tsx b/static/app/views/insights/pages/platform/shared/table/NumberCell.tsx index 4edba9568e5d..01585f236da8 100644 --- a/static/app/views/insights/pages/platform/shared/table/NumberCell.tsx +++ b/static/app/views/insights/pages/platform/shared/table/NumberCell.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Count} from 'sentry/components/count'; import {TextAlignRight} from 'sentry/views/insights/common/components/textAlign'; diff --git a/static/app/views/insights/pages/platform/shared/table/ThresholdCell.tsx b/static/app/views/insights/pages/platform/shared/table/ThresholdCell.tsx index 384c5595c7ce..7a62293bb33b 100644 --- a/static/app/views/insights/pages/platform/shared/table/ThresholdCell.tsx +++ b/static/app/views/insights/pages/platform/shared/table/ThresholdCell.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useTheme} from '@emotion/react'; const getCellColor = ( diff --git a/static/app/views/issueDetails/groupFeatureFlags/flagDrawerCTA.tsx b/static/app/views/issueDetails/groupFeatureFlags/flagDrawerCTA.tsx index b1d285de9577..1ad46abd42e3 100644 --- a/static/app/views/issueDetails/groupFeatureFlags/flagDrawerCTA.tsx +++ b/static/app/views/issueDetails/groupFeatureFlags/flagDrawerCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useDrawerContentContext} from '@sentry/scraps/drawer'; import { diff --git a/static/app/views/onboarding/useHasNewWelcomeUI.ts b/static/app/views/onboarding/useHasNewWelcomeUI.ts index 8d92560b2e9d..c45bbe0247e2 100644 --- a/static/app/views/onboarding/useHasNewWelcomeUI.ts +++ b/static/app/views/onboarding/useHasNewWelcomeUI.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useOrganization} from 'sentry/utils/useOrganization'; export function useHasNewWelcomeUI() { diff --git a/static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections/aiIOAlert.tsx b/static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections/aiIOAlert.tsx index a60f7fc35721..fa39697cb365 100644 --- a/static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections/aiIOAlert.tsx +++ b/static/app/views/performance/newTraceDetails/traceDrawer/details/span/eapSections/aiIOAlert.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import {css} from '@emotion/react'; import styled from '@emotion/styled'; diff --git a/static/app/views/performance/newTraceDetails/traceRow/traceEAPSpanRow.tsx b/static/app/views/performance/newTraceDetails/traceRow/traceEAPSpanRow.tsx index abab97629202..d6f7412786a8 100644 --- a/static/app/views/performance/newTraceDetails/traceRow/traceEAPSpanRow.tsx +++ b/static/app/views/performance/newTraceDetails/traceRow/traceEAPSpanRow.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import {PlatformIcon} from 'platformicons'; diff --git a/static/app/views/performance/newTraceDetails/useIsEAPTraceEnabled.tsx b/static/app/views/performance/newTraceDetails/useIsEAPTraceEnabled.tsx index d2c8271416c9..57632c691970 100644 --- a/static/app/views/performance/newTraceDetails/useIsEAPTraceEnabled.tsx +++ b/static/app/views/performance/newTraceDetails/useIsEAPTraceEnabled.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useOrganization} from 'sentry/utils/useOrganization'; export function useIsEAPTraceEnabled() { diff --git a/static/app/views/seerExplorer/contexts/registerLLMContext.tsx b/static/app/views/seerExplorer/contexts/registerLLMContext.tsx index 2cf005bb1a6b..de684d243d15 100644 --- a/static/app/views/seerExplorer/contexts/registerLLMContext.tsx +++ b/static/app/views/seerExplorer/contexts/registerLLMContext.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ComponentType} from 'react'; import {useContext, useEffect, useId} from 'react'; diff --git a/static/app/views/settings/organizationIntegrations/SplitInstallationIdModal.tsx b/static/app/views/settings/organizationIntegrations/SplitInstallationIdModal.tsx index 57c23767924d..327cb5cab421 100644 --- a/static/app/views/settings/organizationIntegrations/SplitInstallationIdModal.tsx +++ b/static/app/views/settings/organizationIntegrations/SplitInstallationIdModal.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useCallback, useEffect, useRef} from 'react'; import styled from '@emotion/styled'; diff --git a/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationButton.tsx b/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationButton.tsx index 23584c4bb51f..a3ef5cb112ad 100644 --- a/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationButton.tsx +++ b/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationButton.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useState} from 'react'; import styled from '@emotion/styled'; diff --git a/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationModal.tsx b/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationModal.tsx index d84fda70e0f9..7aefa1b02edd 100644 --- a/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationModal.tsx +++ b/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationModal.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useMutation} from '@tanstack/react-query'; import {z} from 'zod'; diff --git a/static/app/views/settings/project/tempest/CredentialRow.tsx b/static/app/views/settings/project/tempest/CredentialRow.tsx index 0c57d8f7f230..02aebde86d19 100644 --- a/static/app/views/settings/project/tempest/CredentialRow.tsx +++ b/static/app/views/settings/project/tempest/CredentialRow.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import {Tag} from '@sentry/scraps/badge'; diff --git a/static/app/views/settings/project/tempest/DevKitSettings.tsx b/static/app/views/settings/project/tempest/DevKitSettings.tsx index f6af9a7260b8..3ff305e6331f 100644 --- a/static/app/views/settings/project/tempest/DevKitSettings.tsx +++ b/static/app/views/settings/project/tempest/DevKitSettings.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useState} from 'react'; import styled from '@emotion/styled'; import {useQuery} from '@tanstack/react-query'; diff --git a/static/app/views/settings/project/tempest/EmptyState.tsx b/static/app/views/settings/project/tempest/EmptyState.tsx index 315b4bf49285..31d59a370fc5 100644 --- a/static/app/views/settings/project/tempest/EmptyState.tsx +++ b/static/app/views/settings/project/tempest/EmptyState.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import styled from '@emotion/styled'; import waitingForEventImg from 'sentry-images/spot/waiting-for-event.svg'; diff --git a/static/app/views/settings/project/tempest/PlayStationSettings.tsx b/static/app/views/settings/project/tempest/PlayStationSettings.tsx index 4544ddbea44f..c3317d8c1fd0 100644 --- a/static/app/views/settings/project/tempest/PlayStationSettings.tsx +++ b/static/app/views/settings/project/tempest/PlayStationSettings.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useEffect, useMemo} from 'react'; import styled from '@emotion/styled'; import {useMutation} from '@tanstack/react-query'; diff --git a/static/app/views/settings/project/tempest/allowListIPAddresses.tsx b/static/app/views/settings/project/tempest/allowListIPAddresses.tsx index 7f6be2bfe5eb..af4d3c5115bc 100644 --- a/static/app/views/settings/project/tempest/allowListIPAddresses.tsx +++ b/static/app/views/settings/project/tempest/allowListIPAddresses.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {OnboardingCodeSnippet} from 'sentry/components/onboarding/gettingStartedDoc/onboardingCodeSnippet'; import {t} from 'sentry/locale'; import {getApiUrl} from 'sentry/utils/api/getApiUrl'; diff --git a/static/eslint/eslintPluginScraps/src/ast/extractor/css-prop.ts b/static/eslint/eslintPluginScraps/src/ast/extractor/cssProp.ts similarity index 98% rename from static/eslint/eslintPluginScraps/src/ast/extractor/css-prop.ts rename to static/eslint/eslintPluginScraps/src/ast/extractor/cssProp.ts index 4158ea8e60d5..21fc5709578b 100644 --- a/static/eslint/eslintPluginScraps/src/ast/extractor/css-prop.ts +++ b/static/eslint/eslintPluginScraps/src/ast/extractor/cssProp.ts @@ -13,7 +13,7 @@ import type {TSESTree} from '@typescript-eslint/utils'; import {normalizePropertyName} from '../utils/normalizePropertyName'; import type {ExtractorContext, StyleDeclaration} from './types'; -import {decomposeValue} from './value-decomposer'; +import {decomposeValue} from './valueDecomposer'; /** * Creates the css prop extractor with ESLint visitors. diff --git a/static/eslint/eslintPluginScraps/src/ast/extractor/index.ts b/static/eslint/eslintPluginScraps/src/ast/extractor/index.ts index 402461d966d0..b993799c5c44 100644 --- a/static/eslint/eslintPluginScraps/src/ast/extractor/index.ts +++ b/static/eslint/eslintPluginScraps/src/ast/extractor/index.ts @@ -2,9 +2,9 @@ import {TSESLint, TSESTree} from '@typescript-eslint/utils'; import {createThemeTracker} from '../tracker/theme'; -import {createCssPropExtractor} from './css-prop'; -import {createStylePropExtractor} from './style-prop'; +import {createCssPropExtractor} from './cssProp'; import {createStyledExtractor} from './styled'; +import {createStylePropExtractor} from './styleProp'; import type {ExtractorContext, StyleCollector, StyleDeclaration} from './types'; /** diff --git a/static/eslint/eslintPluginScraps/src/ast/extractor/style-prop.ts b/static/eslint/eslintPluginScraps/src/ast/extractor/styleProp.ts similarity index 97% rename from static/eslint/eslintPluginScraps/src/ast/extractor/style-prop.ts rename to static/eslint/eslintPluginScraps/src/ast/extractor/styleProp.ts index 6a14590d22d2..29806b3aa44c 100644 --- a/static/eslint/eslintPluginScraps/src/ast/extractor/style-prop.ts +++ b/static/eslint/eslintPluginScraps/src/ast/extractor/styleProp.ts @@ -12,7 +12,7 @@ import type {TSESLint, TSESTree} from '@typescript-eslint/utils'; import {normalizePropertyName} from '../utils/normalizePropertyName'; import type {ExtractorContext, StyleDeclaration} from './types'; -import {decomposeValue} from './value-decomposer'; +import {decomposeValue} from './valueDecomposer'; /** * Creates the style prop extractor with ESLint visitors. diff --git a/static/eslint/eslintPluginScraps/src/ast/extractor/styled.ts b/static/eslint/eslintPluginScraps/src/ast/extractor/styled.ts index 2f6bc7ede818..4b7bca61eee9 100644 --- a/static/eslint/eslintPluginScraps/src/ast/extractor/styled.ts +++ b/static/eslint/eslintPluginScraps/src/ast/extractor/styled.ts @@ -16,7 +16,7 @@ import {normalizePropertyName} from '../utils/normalizePropertyName'; import {getStyledCallInfo} from '../utils/styled'; import type {ExtractorContext, StyleDeclaration} from './types'; -import {decomposeValue} from './value-decomposer'; +import {decomposeValue} from './valueDecomposer'; /** * Creates the styled/css extractor with ESLint visitors. diff --git a/static/eslint/eslintPluginScraps/src/ast/extractor/value-decomposer.ts b/static/eslint/eslintPluginScraps/src/ast/extractor/valueDecomposer.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/ast/extractor/value-decomposer.ts rename to static/eslint/eslintPluginScraps/src/ast/extractor/valueDecomposer.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/index.ts b/static/eslint/eslintPluginScraps/src/rules/index.ts index cba2dc7a9e9a..c732786d7c22 100644 --- a/static/eslint/eslintPluginScraps/src/rules/index.ts +++ b/static/eslint/eslintPluginScraps/src/rules/index.ts @@ -1,10 +1,10 @@ -import {noCoreImport} from './no-core-import'; -import {noDoubleDollarInterpolation} from './no-double-dollar-interpolation'; -import {noTokenImport} from './no-token-import'; -import {preferInfoText} from './prefer-info-text'; -import {preferStackForColumnFlex} from './prefer-stack-for-column-flex'; -import {restrictJsxSlotChildren} from './restrict-jsx-slot-children'; -import {useSemanticToken} from './use-semantic-token'; +import {noCoreImport} from './noCoreImport'; +import {noDoubleDollarInterpolation} from './noDoubleDollarInterpolation'; +import {noTokenImport} from './noTokenImport'; +import {preferInfoText} from './preferInfoText'; +import {preferStackForColumnFlex} from './preferStackForColumnFlex'; +import {restrictJsxSlotChildren} from './restrictJsxSlotChildren'; +import {useSemanticToken} from './useSemanticToken'; export const rules = { 'no-core-import': noCoreImport, diff --git a/static/eslint/eslintPluginScraps/src/rules/no-core-import.spec.ts b/static/eslint/eslintPluginScraps/src/rules/noCoreImport.spec.ts similarity index 96% rename from static/eslint/eslintPluginScraps/src/rules/no-core-import.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/noCoreImport.spec.ts index 1b91387a19ae..dcb91b035615 100644 --- a/static/eslint/eslintPluginScraps/src/rules/no-core-import.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/noCoreImport.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noCoreImport} from './no-core-import'; +import {noCoreImport} from './noCoreImport'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginScraps/src/rules/no-core-import.ts b/static/eslint/eslintPluginScraps/src/rules/noCoreImport.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/no-core-import.ts rename to static/eslint/eslintPluginScraps/src/rules/noCoreImport.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/no-double-dollar-interpolation.spec.ts b/static/eslint/eslintPluginScraps/src/rules/noDoubleDollarInterpolation.spec.ts similarity index 95% rename from static/eslint/eslintPluginScraps/src/rules/no-double-dollar-interpolation.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/noDoubleDollarInterpolation.spec.ts index 08e9f79be0f1..6807af29cc72 100644 --- a/static/eslint/eslintPluginScraps/src/rules/no-double-dollar-interpolation.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/noDoubleDollarInterpolation.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noDoubleDollarInterpolation} from './no-double-dollar-interpolation'; +import {noDoubleDollarInterpolation} from './noDoubleDollarInterpolation'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginScraps/src/rules/no-double-dollar-interpolation.ts b/static/eslint/eslintPluginScraps/src/rules/noDoubleDollarInterpolation.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/no-double-dollar-interpolation.ts rename to static/eslint/eslintPluginScraps/src/rules/noDoubleDollarInterpolation.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/no-token-import.spec.ts b/static/eslint/eslintPluginScraps/src/rules/noTokenImport.spec.ts similarity index 93% rename from static/eslint/eslintPluginScraps/src/rules/no-token-import.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/noTokenImport.spec.ts index db1988344a4e..fac236a8fcb8 100644 --- a/static/eslint/eslintPluginScraps/src/rules/no-token-import.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/noTokenImport.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noTokenImport} from './no-token-import'; +import {noTokenImport} from './noTokenImport'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginScraps/src/rules/no-token-import.ts b/static/eslint/eslintPluginScraps/src/rules/noTokenImport.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/no-token-import.ts rename to static/eslint/eslintPluginScraps/src/rules/noTokenImport.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/prefer-info-text.spec.ts b/static/eslint/eslintPluginScraps/src/rules/preferInfoText.spec.ts similarity index 99% rename from static/eslint/eslintPluginScraps/src/rules/prefer-info-text.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/preferInfoText.spec.ts index 22252b90b9ee..8f02cdccf0df 100644 --- a/static/eslint/eslintPluginScraps/src/rules/prefer-info-text.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/preferInfoText.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {preferInfoText} from './prefer-info-text'; +import {preferInfoText} from './preferInfoText'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginScraps/src/rules/prefer-info-text.ts b/static/eslint/eslintPluginScraps/src/rules/preferInfoText.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/prefer-info-text.ts rename to static/eslint/eslintPluginScraps/src/rules/preferInfoText.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/prefer-stack-for-column-flex.spec.ts b/static/eslint/eslintPluginScraps/src/rules/preferStackForColumnFlex.spec.ts similarity index 97% rename from static/eslint/eslintPluginScraps/src/rules/prefer-stack-for-column-flex.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/preferStackForColumnFlex.spec.ts index 00c59472043b..1f84d1332253 100644 --- a/static/eslint/eslintPluginScraps/src/rules/prefer-stack-for-column-flex.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/preferStackForColumnFlex.spec.ts @@ -1,6 +1,6 @@ import {RuleTester, type InvalidTestCase} from '@typescript-eslint/rule-tester'; -import {preferStackForColumnFlex} from './prefer-stack-for-column-flex'; +import {preferStackForColumnFlex} from './preferStackForColumnFlex'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginScraps/src/rules/prefer-stack-for-column-flex.ts b/static/eslint/eslintPluginScraps/src/rules/preferStackForColumnFlex.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/prefer-stack-for-column-flex.ts rename to static/eslint/eslintPluginScraps/src/rules/preferStackForColumnFlex.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/restrict-jsx-slot-children.spec.ts b/static/eslint/eslintPluginScraps/src/rules/restrictJsxSlotChildren.spec.ts similarity index 99% rename from static/eslint/eslintPluginScraps/src/rules/restrict-jsx-slot-children.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/restrictJsxSlotChildren.spec.ts index d3ca8fb45cdf..694dd5bf0be0 100644 --- a/static/eslint/eslintPluginScraps/src/rules/restrict-jsx-slot-children.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/restrictJsxSlotChildren.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {restrictJsxSlotChildren, type Options} from './restrict-jsx-slot-children'; +import {restrictJsxSlotChildren, type Options} from './restrictJsxSlotChildren'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginScraps/src/rules/restrict-jsx-slot-children.ts b/static/eslint/eslintPluginScraps/src/rules/restrictJsxSlotChildren.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/restrict-jsx-slot-children.ts rename to static/eslint/eslintPluginScraps/src/rules/restrictJsxSlotChildren.ts diff --git a/static/eslint/eslintPluginScraps/src/rules/use-semantic-token.spec.ts b/static/eslint/eslintPluginScraps/src/rules/useSemanticToken.spec.ts similarity index 99% rename from static/eslint/eslintPluginScraps/src/rules/use-semantic-token.spec.ts rename to static/eslint/eslintPluginScraps/src/rules/useSemanticToken.spec.ts index 16c7b258a784..89d6f4152805 100644 --- a/static/eslint/eslintPluginScraps/src/rules/use-semantic-token.spec.ts +++ b/static/eslint/eslintPluginScraps/src/rules/useSemanticToken.spec.ts @@ -1,6 +1,6 @@ import {RuleTester, type InvalidTestCase} from '@typescript-eslint/rule-tester'; -import {useSemanticToken, type Options} from './use-semantic-token'; +import {useSemanticToken, type Options} from './useSemanticToken'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginScraps/src/rules/use-semantic-token.ts b/static/eslint/eslintPluginScraps/src/rules/useSemanticToken.ts similarity index 100% rename from static/eslint/eslintPluginScraps/src/rules/use-semantic-token.ts rename to static/eslint/eslintPluginScraps/src/rules/useSemanticToken.ts diff --git a/static/eslint/eslintPluginSentry/index.ts b/static/eslint/eslintPluginSentry/index.ts index fe43d09d0fec..ed3094458c7c 100644 --- a/static/eslint/eslintPluginSentry/index.ts +++ b/static/eslint/eslintPluginSentry/index.ts @@ -1,16 +1,16 @@ -import {noCallingComponentsAsFunctions} from './no-calling-components-as-functions'; -import {noDefaultExports} from './no-default-exports'; -import {noDigitsInTn} from './no-digits-in-tn'; -import {noDynamicTranslations} from './no-dynamic-translations'; -import {noFlagComments} from './no-flag-comments'; -import {noQueryDataTypeParameters} from './no-query-data-type-parameters'; -import {noRawCssInStyled} from './no-raw-css-in-styled'; -import {noStaticTranslations} from './no-static-translations'; -import {noStyledShortcut} from './no-styled-shortcut'; -import {noUnnecessaryTypeAnnotation} from './no-unnecessary-type-annotation'; -import {noUnnecessaryTypeNarrowing} from './no-unnecessary-type-narrowing'; -import {noUnnecessaryUseCallback} from './no-unnecessary-use-callback'; -import {noUselessCssInterpolationSemicolon} from './no-useless-css-interpolation-semicolon'; +import {noCallingComponentsAsFunctions} from './noCallingComponentsAsFunctions'; +import {noDefaultExports} from './noDefaultExports'; +import {noDigitsInTn} from './noDigitsInTn'; +import {noDynamicTranslations} from './noDynamicTranslations'; +import {noFlagComments} from './noFlagComments'; +import {noQueryDataTypeParameters} from './noQueryDataTypeParameters'; +import {noRawCssInStyled} from './noRawCssInStyled'; +import {noStaticTranslations} from './noStaticTranslations'; +import {noStyledShortcut} from './noStyledShortcut'; +import {noUnnecessaryTypeAnnotation} from './noUnnecessaryTypeAnnotation'; +import {noUnnecessaryTypeNarrowing} from './noUnnecessaryTypeNarrowing'; +import {noUnnecessaryUseCallback} from './noUnnecessaryUseCallback'; +import {noUselessCssInterpolationSemicolon} from './noUselessCssInterpolationSemicolon'; export const rules = { 'no-calling-components-as-functions': noCallingComponentsAsFunctions, diff --git a/static/eslint/eslintPluginSentry/no-calling-components-as-functions.spec.ts b/static/eslint/eslintPluginSentry/noCallingComponentsAsFunctions.spec.ts similarity index 98% rename from static/eslint/eslintPluginSentry/no-calling-components-as-functions.spec.ts rename to static/eslint/eslintPluginSentry/noCallingComponentsAsFunctions.spec.ts index 2732afd8d310..298897557d51 100644 --- a/static/eslint/eslintPluginSentry/no-calling-components-as-functions.spec.ts +++ b/static/eslint/eslintPluginSentry/noCallingComponentsAsFunctions.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noCallingComponentsAsFunctions} from './no-calling-components-as-functions'; +import {noCallingComponentsAsFunctions} from './noCallingComponentsAsFunctions'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginSentry/no-calling-components-as-functions.ts b/static/eslint/eslintPluginSentry/noCallingComponentsAsFunctions.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-calling-components-as-functions.ts rename to static/eslint/eslintPluginSentry/noCallingComponentsAsFunctions.ts diff --git a/static/eslint/eslintPluginSentry/no-default-exports.spec.ts b/static/eslint/eslintPluginSentry/noDefaultExports.spec.ts similarity index 99% rename from static/eslint/eslintPluginSentry/no-default-exports.spec.ts rename to static/eslint/eslintPluginSentry/noDefaultExports.spec.ts index ce1491714ad5..6f91cee0ba3e 100644 --- a/static/eslint/eslintPluginSentry/no-default-exports.spec.ts +++ b/static/eslint/eslintPluginSentry/noDefaultExports.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noDefaultExports} from './no-default-exports'; +import {noDefaultExports} from './noDefaultExports'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginSentry/no-default-exports.ts b/static/eslint/eslintPluginSentry/noDefaultExports.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-default-exports.ts rename to static/eslint/eslintPluginSentry/noDefaultExports.ts diff --git a/static/eslint/eslintPluginSentry/no-digits-in-tn.spec.ts b/static/eslint/eslintPluginSentry/noDigitsInTn.spec.ts similarity index 93% rename from static/eslint/eslintPluginSentry/no-digits-in-tn.spec.ts rename to static/eslint/eslintPluginSentry/noDigitsInTn.spec.ts index 6cfff5869112..3dc67ba7e43c 100644 --- a/static/eslint/eslintPluginSentry/no-digits-in-tn.spec.ts +++ b/static/eslint/eslintPluginSentry/noDigitsInTn.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noDigitsInTn} from './no-digits-in-tn'; +import {noDigitsInTn} from './noDigitsInTn'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-digits-in-tn.ts b/static/eslint/eslintPluginSentry/noDigitsInTn.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-digits-in-tn.ts rename to static/eslint/eslintPluginSentry/noDigitsInTn.ts diff --git a/static/eslint/eslintPluginSentry/no-dynamic-translations.spec.ts b/static/eslint/eslintPluginSentry/noDynamicTranslations.spec.ts similarity index 89% rename from static/eslint/eslintPluginSentry/no-dynamic-translations.spec.ts rename to static/eslint/eslintPluginSentry/noDynamicTranslations.spec.ts index c7aa5dab1c7c..955c0a08ba55 100644 --- a/static/eslint/eslintPluginSentry/no-dynamic-translations.spec.ts +++ b/static/eslint/eslintPluginSentry/noDynamicTranslations.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noDynamicTranslations} from './no-dynamic-translations'; +import {noDynamicTranslations} from './noDynamicTranslations'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-dynamic-translations.ts b/static/eslint/eslintPluginSentry/noDynamicTranslations.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-dynamic-translations.ts rename to static/eslint/eslintPluginSentry/noDynamicTranslations.ts diff --git a/static/eslint/eslintPluginSentry/no-flag-comments.spec.ts b/static/eslint/eslintPluginSentry/noFlagComments.spec.ts similarity index 97% rename from static/eslint/eslintPluginSentry/no-flag-comments.spec.ts rename to static/eslint/eslintPluginSentry/noFlagComments.spec.ts index 8968e5ccd184..05fc2c7969e0 100644 --- a/static/eslint/eslintPluginSentry/no-flag-comments.spec.ts +++ b/static/eslint/eslintPluginSentry/noFlagComments.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noFlagComments} from './no-flag-comments'; +import {noFlagComments} from './noFlagComments'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-flag-comments.ts b/static/eslint/eslintPluginSentry/noFlagComments.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-flag-comments.ts rename to static/eslint/eslintPluginSentry/noFlagComments.ts diff --git a/static/eslint/eslintPluginSentry/no-query-data-type-parameters.spec.ts b/static/eslint/eslintPluginSentry/noQueryDataTypeParameters.spec.ts similarity index 93% rename from static/eslint/eslintPluginSentry/no-query-data-type-parameters.spec.ts rename to static/eslint/eslintPluginSentry/noQueryDataTypeParameters.spec.ts index b777db11b542..898efc85df70 100644 --- a/static/eslint/eslintPluginSentry/no-query-data-type-parameters.spec.ts +++ b/static/eslint/eslintPluginSentry/noQueryDataTypeParameters.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noQueryDataTypeParameters} from './no-query-data-type-parameters'; +import {noQueryDataTypeParameters} from './noQueryDataTypeParameters'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-query-data-type-parameters.ts b/static/eslint/eslintPluginSentry/noQueryDataTypeParameters.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-query-data-type-parameters.ts rename to static/eslint/eslintPluginSentry/noQueryDataTypeParameters.ts diff --git a/static/eslint/eslintPluginSentry/no-raw-css-in-styled.spec.ts b/static/eslint/eslintPluginSentry/noRawCssInStyled.spec.ts similarity index 97% rename from static/eslint/eslintPluginSentry/no-raw-css-in-styled.spec.ts rename to static/eslint/eslintPluginSentry/noRawCssInStyled.spec.ts index e2c8031bc87c..6950e9362f44 100644 --- a/static/eslint/eslintPluginSentry/no-raw-css-in-styled.spec.ts +++ b/static/eslint/eslintPluginSentry/noRawCssInStyled.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noRawCssInStyled} from './no-raw-css-in-styled'; +import {noRawCssInStyled} from './noRawCssInStyled'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-raw-css-in-styled.ts b/static/eslint/eslintPluginSentry/noRawCssInStyled.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-raw-css-in-styled.ts rename to static/eslint/eslintPluginSentry/noRawCssInStyled.ts diff --git a/static/eslint/eslintPluginSentry/no-static-translations.ts b/static/eslint/eslintPluginSentry/noStaticTranslations.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-static-translations.ts rename to static/eslint/eslintPluginSentry/noStaticTranslations.ts diff --git a/static/eslint/eslintPluginSentry/no-styled-shortcut.spec.ts b/static/eslint/eslintPluginSentry/noStyledShortcut.spec.ts similarity index 87% rename from static/eslint/eslintPluginSentry/no-styled-shortcut.spec.ts rename to static/eslint/eslintPluginSentry/noStyledShortcut.spec.ts index 1bc2c116d17e..ee0b2d5ef38d 100644 --- a/static/eslint/eslintPluginSentry/no-styled-shortcut.spec.ts +++ b/static/eslint/eslintPluginSentry/noStyledShortcut.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noStyledShortcut} from './no-styled-shortcut'; +import {noStyledShortcut} from './noStyledShortcut'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-styled-shortcut.ts b/static/eslint/eslintPluginSentry/noStyledShortcut.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-styled-shortcut.ts rename to static/eslint/eslintPluginSentry/noStyledShortcut.ts diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-type-annotation.spec.ts b/static/eslint/eslintPluginSentry/noUnnecessaryTypeAnnotation.spec.ts similarity index 98% rename from static/eslint/eslintPluginSentry/no-unnecessary-type-annotation.spec.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryTypeAnnotation.spec.ts index 23a163c659d0..25514f199cca 100644 --- a/static/eslint/eslintPluginSentry/no-unnecessary-type-annotation.spec.ts +++ b/static/eslint/eslintPluginSentry/noUnnecessaryTypeAnnotation.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noUnnecessaryTypeAnnotation} from './no-unnecessary-type-annotation'; +import {noUnnecessaryTypeAnnotation} from './noUnnecessaryTypeAnnotation'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-type-annotation.ts b/static/eslint/eslintPluginSentry/noUnnecessaryTypeAnnotation.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-unnecessary-type-annotation.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryTypeAnnotation.ts diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-type-narrowing.spec.ts b/static/eslint/eslintPluginSentry/noUnnecessaryTypeNarrowing.spec.ts similarity index 99% rename from static/eslint/eslintPluginSentry/no-unnecessary-type-narrowing.spec.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryTypeNarrowing.spec.ts index 5c106cb32f67..274b582c9475 100644 --- a/static/eslint/eslintPluginSentry/no-unnecessary-type-narrowing.spec.ts +++ b/static/eslint/eslintPluginSentry/noUnnecessaryTypeNarrowing.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noUnnecessaryTypeNarrowing} from './no-unnecessary-type-narrowing'; +import {noUnnecessaryTypeNarrowing} from './noUnnecessaryTypeNarrowing'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-type-narrowing.ts b/static/eslint/eslintPluginSentry/noUnnecessaryTypeNarrowing.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-unnecessary-type-narrowing.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryTypeNarrowing.ts diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-use-callback.spec.ts b/static/eslint/eslintPluginSentry/noUnnecessaryUseCallback.spec.ts similarity index 99% rename from static/eslint/eslintPluginSentry/no-unnecessary-use-callback.spec.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryUseCallback.spec.ts index ea9a3edf2a24..25365eab9c6b 100644 --- a/static/eslint/eslintPluginSentry/no-unnecessary-use-callback.spec.ts +++ b/static/eslint/eslintPluginSentry/noUnnecessaryUseCallback.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noUnnecessaryUseCallback} from './no-unnecessary-use-callback'; +import {noUnnecessaryUseCallback} from './noUnnecessaryUseCallback'; const ruleTester = new RuleTester({ languageOptions: { diff --git a/static/eslint/eslintPluginSentry/no-unnecessary-use-callback.ts b/static/eslint/eslintPluginSentry/noUnnecessaryUseCallback.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-unnecessary-use-callback.ts rename to static/eslint/eslintPluginSentry/noUnnecessaryUseCallback.ts diff --git a/static/eslint/eslintPluginSentry/no-useless-css-interpolation-semicolon.spec.ts b/static/eslint/eslintPluginSentry/noUselessCssInterpolationSemicolon.spec.ts similarity index 96% rename from static/eslint/eslintPluginSentry/no-useless-css-interpolation-semicolon.spec.ts rename to static/eslint/eslintPluginSentry/noUselessCssInterpolationSemicolon.spec.ts index 84a75bafce03..d7982f7dd589 100644 --- a/static/eslint/eslintPluginSentry/no-useless-css-interpolation-semicolon.spec.ts +++ b/static/eslint/eslintPluginSentry/noUselessCssInterpolationSemicolon.spec.ts @@ -1,6 +1,6 @@ import {RuleTester} from '@typescript-eslint/rule-tester'; -import {noUselessCssInterpolationSemicolon} from './no-useless-css-interpolation-semicolon'; +import {noUselessCssInterpolationSemicolon} from './noUselessCssInterpolationSemicolon'; const ruleTester = new RuleTester(); diff --git a/static/eslint/eslintPluginSentry/no-useless-css-interpolation-semicolon.ts b/static/eslint/eslintPluginSentry/noUselessCssInterpolationSemicolon.ts similarity index 100% rename from static/eslint/eslintPluginSentry/no-useless-css-interpolation-semicolon.ts rename to static/eslint/eslintPluginSentry/noUselessCssInterpolationSemicolon.ts diff --git a/static/gsAdmin/components/changeARRAction.spec.tsx b/static/gsAdmin/components/changeARRAction.spec.tsx index 92561b791f09..cbf330c8041b 100644 --- a/static/gsAdmin/components/changeARRAction.spec.tsx +++ b/static/gsAdmin/components/changeARRAction.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import { render, renderGlobalModal, diff --git a/static/gsAdmin/components/changeARRAction.tsx b/static/gsAdmin/components/changeARRAction.tsx index 10da4c927149..4a66b9b6346a 100644 --- a/static/gsAdmin/components/changeARRAction.tsx +++ b/static/gsAdmin/components/changeARRAction.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Component, Fragment} from 'react'; import {Button, ButtonBar} from '@sentry/scraps/button'; diff --git a/static/gsAdmin/views/privateAPIs.tsx b/static/gsAdmin/views/privateAPIs.tsx index d956e242812c..5a23563c6ada 100644 --- a/static/gsAdmin/views/privateAPIs.tsx +++ b/static/gsAdmin/views/privateAPIs.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment, useState} from 'react'; import {Button} from '@sentry/scraps/button'; diff --git a/static/gsApp/__mocks__/@amplitude/analytics-browser.tsx b/static/gsApp/__mocks__/@amplitude/analytics-browser.tsx index a5696ea3dbf8..d7575914f19b 100644 --- a/static/gsApp/__mocks__/@amplitude/analytics-browser.tsx +++ b/static/gsApp/__mocks__/@amplitude/analytics-browser.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ const identifyInstance: any = { set: jest.fn(() => identifyInstance), }; diff --git a/static/gsApp/components/addEventsCTA.tsx b/static/gsApp/components/addEventsCTA.tsx index 66f6fa7afbe9..ce2044378c49 100644 --- a/static/gsApp/components/addEventsCTA.tsx +++ b/static/gsApp/components/addEventsCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useState} from 'react'; import { diff --git a/static/gsApp/components/ai/AiSetupDataConsent.tsx b/static/gsApp/components/ai/AiSetupDataConsent.tsx index ff3e03847f29..31f3649cc50b 100644 --- a/static/gsApp/components/ai/AiSetupDataConsent.tsx +++ b/static/gsApp/components/ai/AiSetupDataConsent.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Fragment} from 'react'; import styled from '@emotion/styled'; diff --git a/static/gsApp/components/crons/cronsBannerUpgradeCTA.tsx b/static/gsApp/components/crons/cronsBannerUpgradeCTA.tsx index f4d3f8e34022..1ef25bd2992f 100644 --- a/static/gsApp/components/crons/cronsBannerUpgradeCTA.tsx +++ b/static/gsApp/components/crons/cronsBannerUpgradeCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Button, LinkButton} from '@sentry/scraps/button'; import {useModal} from '@sentry/scraps/modal'; diff --git a/static/gsApp/components/productUnavailableCTA.spec.tsx b/static/gsApp/components/productUnavailableCTA.spec.tsx index 3c335a6e8c70..be6d2f6b34f6 100644 --- a/static/gsApp/components/productUnavailableCTA.spec.tsx +++ b/static/gsApp/components/productUnavailableCTA.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {OrganizationFixture} from 'sentry-fixture/organization'; import {SubscriptionFixture} from 'getsentry-test/fixtures/subscription'; diff --git a/static/gsApp/components/productUnavailableCTA.tsx b/static/gsApp/components/productUnavailableCTA.tsx index 3f7e60f43b84..9899a3ca83e1 100644 --- a/static/gsApp/components/productUnavailableCTA.tsx +++ b/static/gsApp/components/productUnavailableCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useEffect, useMemo, useState} from 'react'; import styled from '@emotion/styled'; diff --git a/static/gsApp/components/replayOnboardingCTA.tsx b/static/gsApp/components/replayOnboardingCTA.tsx index 42efa0127e44..e5219cd6860c 100644 --- a/static/gsApp/components/replayOnboardingCTA.tsx +++ b/static/gsApp/components/replayOnboardingCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ReactNode} from 'react'; import {Fragment, useEffect, useState} from 'react'; import styled from '@emotion/styled'; diff --git a/static/gsApp/hooks/useAM2ProfilingUpsellModal.tsx b/static/gsApp/hooks/useAM2ProfilingUpsellModal.tsx index 5339a36a4638..35a2c500b939 100644 --- a/static/gsApp/hooks/useAM2ProfilingUpsellModal.tsx +++ b/static/gsApp/hooks/useAM2ProfilingUpsellModal.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useCallback} from 'react'; import {useOrganization} from 'sentry/utils/useOrganization'; diff --git a/static/gsApp/hooks/useAM2UpsellModal.tsx b/static/gsApp/hooks/useAM2UpsellModal.tsx index 69944906c604..267801e377ac 100644 --- a/static/gsApp/hooks/useAM2UpsellModal.tsx +++ b/static/gsApp/hooks/useAM2UpsellModal.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {useCallback} from 'react'; import {useOrganization} from 'sentry/utils/useOrganization'; diff --git a/static/gsApp/overrides/firstPartyIntegrationAdditionalCTA.tsx b/static/gsApp/overrides/firstPartyIntegrationAdditionalCTA.tsx index 84054939db0b..7c902206513e 100644 --- a/static/gsApp/overrides/firstPartyIntegrationAdditionalCTA.tsx +++ b/static/gsApp/overrides/firstPartyIntegrationAdditionalCTA.tsx @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import {Flex} from '@sentry/scraps/layout'; import type {Integration} from 'sentry/types/integrations'; diff --git a/static/gsApp/utils/ISO3166codes.ts b/static/gsApp/utils/ISO3166codes.ts index 5fb6cd13d617..612c64d71886 100644 --- a/static/gsApp/utils/ISO3166codes.ts +++ b/static/gsApp/utils/ISO3166codes.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ type CountryCode = { code: string; 'country-code': string; diff --git a/tests/js/fixtures/sourceMapsDebugIDBundles.ts b/tests/js/fixtures/sourceMapsDebugIDBundles.ts index 90e367397434..1c17473e689a 100644 --- a/tests/js/fixtures/sourceMapsDebugIDBundles.ts +++ b/tests/js/fixtures/sourceMapsDebugIDBundles.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {DebugIdBundle} from 'sentry/types/sourceMaps'; export function SourceMapsDebugIDBundlesFixture( diff --git a/tests/js/fixtures/sourceMapsDebugIDBundlesArtifacts.ts b/tests/js/fixtures/sourceMapsDebugIDBundlesArtifacts.ts index 490839586529..428ab96a5845 100644 --- a/tests/js/fixtures/sourceMapsDebugIDBundlesArtifacts.ts +++ b/tests/js/fixtures/sourceMapsDebugIDBundlesArtifacts.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {DebugIdBundleArtifact} from 'sentry/types/sourceMaps'; export function SourceMapsDebugIDBundlesArtifactsFixture( diff --git a/tests/js/sentry-test/sentry-jest-environment.d.ts b/tests/js/sentry-test/sentry-jest-environment.d.ts index 9a8fd6540cf7..ca416190a0e2 100644 --- a/tests/js/sentry-test/sentry-jest-environment.d.ts +++ b/tests/js/sentry-test/sentry-jest-environment.d.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ declare module '@sentry/jest-environment/jsdom' { import type {JestEnvironment} from '@jest/environment'; diff --git a/tests/js/sentry-test/snapshots/snapshot-framework.ts b/tests/js/sentry-test/snapshots/snapshot-framework.ts index e895ba186fed..c02b2910ec2c 100644 --- a/tests/js/sentry-test/snapshots/snapshot-framework.ts +++ b/tests/js/sentry-test/snapshots/snapshot-framework.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ import type {ReactElement} from 'react'; import {Tooltip as mockTooltip} from 'sentry-test/snapshots/mocks/tooltip'; diff --git a/tests/js/sentry-test/snapshots/snapshot-image-metadata.ts b/tests/js/sentry-test/snapshots/snapshot-image-metadata.ts index b90ab5b35326..87a43c29cf46 100644 --- a/tests/js/sentry-test/snapshots/snapshot-image-metadata.ts +++ b/tests/js/sentry-test/snapshots/snapshot-image-metadata.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ // Keep in sync with src/sentry/preprod/snapshots/manifest.py export interface SnapshotImageMetadata { display_name: string; diff --git a/tests/js/sentry-test/snapshots/snapshot-setup.ts b/tests/js/sentry-test/snapshots/snapshot-setup.ts index 3e3e2c6c7cba..a6fc55eed101 100644 --- a/tests/js/sentry-test/snapshots/snapshot-setup.ts +++ b/tests/js/sentry-test/snapshots/snapshot-setup.ts @@ -1,3 +1,4 @@ +/* eslint-disable unicorn/filename-case */ // Window/localStorage shims for SSR — must run before any component imports. // // IMPORTANT: Do NOT define globalThis.document here. Emotion's SSR style