diff --git a/.eslintrc.cjs b/.eslintrc.cjs index d6c95379..172ad0d1 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,18 +1,11 @@ module.exports = { root: true, env: { browser: true, es2020: true }, - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:react-hooks/recommended', - ], + extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'], ignorePatterns: ['dist', '.eslintrc.cjs'], parser: '@typescript-eslint/parser', plugins: ['react-refresh'], rules: { - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], + 'react-refresh/only-export-components': ['warn', { allowConstantExport: true }], }, -} +}; diff --git a/packages/core/src/integrations/sentry/components/PlatformIcon.tsx b/packages/core/src/integrations/sentry/components/PlatformIcon.tsx index f44c4f66..aa37f0c9 100644 --- a/packages/core/src/integrations/sentry/components/PlatformIcon.tsx +++ b/packages/core/src/integrations/sentry/components/PlatformIcon.tsx @@ -1,8 +1,8 @@ import { ReactComponent as DefaultIcon } from 'platformicons/svg/default.svg'; import { ReactComponent as JavaScriptIcon } from 'platformicons/svg/javascript.svg'; import { ReactComponent as NodeIcon } from 'platformicons/svg/nodejs.svg'; -import { ReactComponent as PythonIcon } from 'platformicons/svg/python.svg'; import { ReactComponent as PhpIcon } from 'platformicons/svg/php.svg'; +import { ReactComponent as PythonIcon } from 'platformicons/svg/python.svg'; import { ComponentPropsWithoutRef } from 'react'; diff --git a/packages/core/src/integrations/sentry/data/sentryEventsContext.tsx b/packages/core/src/integrations/sentry/data/sentryEventsContext.tsx index b9be9003..00fce5c1 100644 --- a/packages/core/src/integrations/sentry/data/sentryEventsContext.tsx +++ b/packages/core/src/integrations/sentry/data/sentryEventsContext.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from 'react'; import React, { useEffect, useReducer } from 'react'; -import sentryDataCache from './sentryDataCache'; import { SentryEvent } from '../types'; +import sentryDataCache from './sentryDataCache'; export const SentryEventsContext = React.createContext([]);