From ed458c3fe993314052473a36f53bce615084e015 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Wed, 22 Nov 2023 12:20:31 -0800 Subject: [PATCH] Format --- .eslintrc.cjs | 13 +++---------- .../integrations/sentry/components/PlatformIcon.tsx | 2 +- .../sentry/data/sentryEventsContext.tsx | 2 +- 3 files changed, 5 insertions(+), 12 deletions(-) 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([]);