Skip to content

Commit 8dd90ae

Browse files
authored
build: Actually use import eslint rules (#16134)
We had a bunch of import/export related eslint rules, but did not actually apply them to anything 🤦 this PR changes this, and also applies all the rules to all the files. The vast majority of the changes is just auto-fixes, but there are a few small manual things that were needed - these are in separate commits, it's probably easier to look at them separately! It also updates prettier to apply to dev-packages.
1 parent 2b43383 commit 8dd90ae

File tree

1,206 files changed

+1656
-2489
lines changed

Some content is hidden

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

1,206 files changed

+1656
-2489
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
parserOptions: {
1212
ecmaVersion: 2018,
1313
},
14-
extends: ['@sentry-internal/sdk/src/base'],
14+
extends: ['@sentry-internal/sdk'],
1515
ignorePatterns: [
1616
'coverage/**',
1717
'build/**',

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
packages/browser/test/loader.js
22
packages/replay-worker/examples/worker.min.js
3+
dev-packages/browser-integration-tests/fixtures

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/addBreadcrumb/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from '@playwright/test';
2-
32
import { sentryTest } from '../../../../utils/fixtures';
43
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
54

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/captureException/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { expect } from '@playwright/test';
22
import { SDK_VERSION } from '@sentry/browser';
3-
43
import { sentryTest } from '../../../../utils/fixtures';
54
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
65

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/customOnErrorHandler/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from '@playwright/test';
2-
32
import { sentryTest } from '../../../../utils/fixtures';
43
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
54

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/errorHandler/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from '@playwright/test';
2-
32
import { sentryTest } from '../../../../utils/fixtures';
43
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
54

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/errorHandlerLater/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from '@playwright/test';
2-
32
import { sentryTest } from '../../../../utils/fixtures';
43
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
54

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/pageloadTransaction/test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { expect } from '@playwright/test';
2-
32
import { sentryTest } from '../../../../utils/fixtures';
43
import {
54
envelopeRequestParser,
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-

0 commit comments

Comments
 (0)