Skip to content

Commit 2e249d0

Browse files
committed
feat: add info why barrel files need eslint disable
1 parent df47728 commit 2e249d0

File tree

35 files changed

+70
-0
lines changed

35 files changed

+70
-0
lines changed

packages/angular/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
export type { ErrorHandlerOptions } from './errorhandler';
35

packages/astro/src/index.client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
export * from '@sentry/browser';
35

packages/astro/src/index.types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24

35
// We export everything from both the client part of the SDK and from the server part.

packages/ember/addon/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
import { assert } from '@ember/debug';
35
import type Route from '@ember/routing/route';

packages/gatsby/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
export * from '@sentry/react';
35

packages/nestjs/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
export * from '@sentry/node';
35

packages/nextjs/src/client/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
import type { Client, EventProcessor, Integration } from '@sentry/core';
35
import { addEventProcessor, applySdkMetadata, consoleSandbox, getGlobalScope, GLOBAL_OBJ } from '@sentry/core';

packages/nextjs/src/edge/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
import { context } from '@opentelemetry/api';
35
import {

packages/nextjs/src/index.types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2+
// import/export got a false positive, and affects most of our index barrel files
3+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
24
/* eslint-disable import/export */
35

46
// We export everything from both the client part of the SDK and from the server part. Some of the exports collide,

packages/nextjs/src/server/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// import/export got a false positive, and affects most of our index barrel files
2+
// can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703
13
/* eslint-disable import/export */
24
import { context } from '@opentelemetry/api';
35
import {

0 commit comments

Comments
 (0)