Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .oxlintrc.base.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@
"plugins": ["typescript", "import", "jsdoc", "vitest"],
"rules": {
"no-unused-vars": [
"warn",
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", "caughtErrorsIgnorePattern": "^_" }
],

Expand DownExpand Up@@ -55,7 +55,7 @@
"typescript/prefer-optional-chain": ["error"],
"typescript/no-redundant-type-constituents": "off",
"typescript/restrict-template-expressions": "off",
"typescript/await-thenable": "warn",
"typescript/await-thenable": "error",
"typescript/no-base-to-string": "off"
}
},
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
import { afterAll, describe, expect } from 'vitest';
import { afterAll, describe } from 'vitest';
import { cleanupChildProcesses, createEsmAndCjsTests } from '../../../utils/runner';

describe('tracer.startActiveSpan errors', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/tanstackstart-react/src/vite/routePatterns.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -20,7 +20,7 @@ export function makeRoutePatternPlugin(): Plugin {
resolvedRoot = config.root || process.cwd();
},

transform(code, id) {
transform(code, _id) {
// this is set in the `wrapFetchWithSentry` where the paths are getting replaced by their parametrized counterparts
// so this extraction should only happen once during the build (for the `wrapFetchWithSentry` file)
if (!code.includes('__SENTRY_ROUTE_PATTERNS__')) {
Expand Down
Loading