Skip to content

Commit fdac9ae

Browse files
committed
Fix linting
1 parent 85408dc commit fdac9ae

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

packages/integration-tests-next/.eslintrc.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
module.exports = {
33
root: true,
44
extends: ["@sentry-internal/eslint-config/base"],
5-
ignorePatterns: [".eslintrc.js", "fixtures/*/out", "fixtures/*/src"],
5+
ignorePatterns: [
6+
".eslintrc.js",
7+
"fixtures/*/out",
8+
"fixtures/*/src",
9+
// We ignore Vite fixtures for now because there are a couple of version mismatches.
10+
"fixtures/vite*/**/*",
11+
],
612
parserOptions: {
713
tsconfigRootDir: __dirname,
814
project: ["./tsconfig.json"],

packages/integration-tests-next/tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "@sentry-internal/sentry-bundler-plugin-tsconfig/base-config.json",
44
"include": ["./**/*"],
5+
// We exclude the Vite files for now.
6+
// Because the Vite plugin 'references" a different `vite` package when devDeps are loaded, it doesn't
7+
// match all the tested Vite versions. This isn't an issue when the plugin is used with end-users Vite versions.
8+
"exclude": ["./fixtures/vite*/**/*"],
59
"compilerOptions": {
610
"types": ["node"],
711
"module": "es2020",

0 commit comments

Comments
 (0)