Skip to content

Commit 27f6ae1

Browse files
authored
build: enable biome organizeImports feature (#9693)
1 parent 462ea44 commit 27f6ae1

File tree

403 files changed

+580
-580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+580
-580
lines changed

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"useIgnoreFile": true
77
},
88
"organizeImports": {
9-
"enabled": false
9+
"enabled": true
1010
},
1111
"linter": {
1212
"enabled": false

packages/angular-ivy/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { VERSION } from '@angular/core';
22
import type { BrowserOptions } from '@sentry/browser';
3-
import { defaultIntegrations, init as browserInit, SDK_VERSION, setContext } from '@sentry/browser';
3+
import { SDK_VERSION, defaultIntegrations, init as browserInit, setContext } from '@sentry/browser';
44
import type { SdkMetadata } from '@sentry/types';
55
import { logger } from '@sentry/utils';
66

packages/angular/src/sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { VERSION } from '@angular/core';
22
import type { BrowserOptions } from '@sentry/browser';
3-
import { defaultIntegrations, init as browserInit, SDK_VERSION, setContext } from '@sentry/browser';
3+
import { SDK_VERSION, defaultIntegrations, init as browserInit, setContext } from '@sentry/browser';
44
import type { SdkMetadata } from '@sentry/types';
55
import { logger } from '@sentry/utils';
66

packages/angular/src/tracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { ActivatedRouteSnapshot, Event, RouterState } from '@angular/router
77
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
88
import { NavigationCancel, NavigationError, Router } from '@angular/router';
99
import { NavigationEnd, NavigationStart, ResolveEnd } from '@angular/router';
10-
import { getCurrentHub, WINDOW } from '@sentry/browser';
10+
import { WINDOW, getCurrentHub } from '@sentry/browser';
1111
import type { Span, Transaction, TransactionContext } from '@sentry/types';
1212
import { logger, stripUrlQueryAndFragment, timestampInSeconds } from '@sentry/utils';
1313
import type { Observable } from 'rxjs';

packages/angular/test/errorhandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { HttpErrorResponse } from '@angular/common/http';
22
import * as SentryBrowser from '@sentry/browser';
33
import type { Client, Event } from '@sentry/types';
44

5-
import { createErrorHandler, SentryErrorHandler } from '../src/errorhandler';
5+
import { SentryErrorHandler, createErrorHandler } from '../src/errorhandler';
66

77
const captureExceptionSpy = jest.spyOn(SentryBrowser, 'captureException');
88

packages/angular/test/ivy-synced.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as fs from 'fs';
2-
import * as glob from 'glob';
32
import * as path from 'path';
3+
import * as glob from 'glob';
44

55
describe('@sentry/angular-ivy', () => {
66
/*

packages/angular/test/tracing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
22
import type { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot } from '@angular/router';
33
import type { Hub } from '@sentry/types';
44

5-
import { instrumentAngularRouting, TraceClassDecorator, TraceDirective, TraceMethodDecorator } from '../src';
5+
import { TraceClassDecorator, TraceDirective, TraceMethodDecorator, instrumentAngularRouting } from '../src';
66
import { getParameterizedRouteFromSnapshot } from '../src/tracing';
77
import { AppComponent, TestEnv } from './utils/index';
88

packages/angular/test/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Router } from '@angular/router';
77
import { RouterTestingModule } from '@angular/router/testing';
88
import type { Transaction } from '@sentry/types';
99

10-
import { instrumentAngularRouting, TraceService } from '../../src';
10+
import { TraceService, instrumentAngularRouting } from '../../src';
1111

1212
@Component({
1313
template: '<router-outlet></router-outlet>',

packages/astro/scripts/syncIntegration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-console */
22

3-
import * as fse from 'fs-extra';
43
import * as path from 'path';
4+
import * as fse from 'fs-extra';
55

66
const buildDir = path.resolve('build');
77
const srcIntegrationDir = path.resolve(path.join('src', 'integration'));

packages/astro/src/integration/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import * as fs from 'fs';
2+
import * as path from 'path';
13
/* eslint-disable no-console */
24
import { sentryVitePlugin } from '@sentry/vite-plugin';
35
import type { AstroConfig, AstroIntegration } from 'astro';
4-
import * as fs from 'fs';
5-
import * as path from 'path';
66

77
import { buildClientSnippet, buildSdkInitFileImportSnippet, buildServerSnippet } from './snippets';
88
import type { SentryOptions } from './types';

0 commit comments

Comments
 (0)