Skip to content

Commit b694ec3

Browse files
committed
Exclude integration tests from eslint/prettier
1 parent 3ad9fec commit b694ec3

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

packages/nextjs/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
ecmaVersion: 2018,
1010
},
1111
extends: ['@sentry-internal/sdk'],
12-
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'examples/**', 'scripts/**'],
12+
ignorePatterns: ['build/**', 'dist/**', 'esm/**', 'examples/**', 'scripts/**', 'test/integration/**'],
1313
overrides: [
1414
{
1515
files: ['*.ts', '*.tsx', '*.d.ts'],

packages/nextjs/.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test/integration

packages/nextjs/src/performance/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable @typescript-eslint/no-explicit-any */
2+
13
import { Primitive, Transaction, TransactionContext } from '@sentry/types';
24
import { fill, getGlobalObject, stripUrlQueryAndFragment } from '@sentry/utils';
35
import { default as Router } from 'next/router';

0 commit comments

Comments
 (0)