Skip to content

Commit 08a9495

Browse files
committed
format
1 parent 62635db commit 08a9495

File tree

3 files changed

+11
-24
lines changed

3 files changed

+11
-24
lines changed

dev-packages/e2e-tests/test-applications/nextjs-16/app/global-error.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
"use client";
1+
'use client';
22

3-
import * as Sentry from "@sentry/nextjs";
4-
import NextError from "next/error";
5-
import { useEffect } from "react";
3+
import * as Sentry from '@sentry/nextjs';
4+
import NextError from 'next/error';
5+
import { useEffect } from 'react';
66

77
export default function GlobalError({ error }: { error: Error & { digest?: string } }) {
88
useEffect(() => {
@@ -20,4 +20,4 @@ export default function GlobalError({ error }: { error: Error & { digest?: strin
2020
</body>
2121
</html>
2222
);
23-
}
23+
}

dev-packages/e2e-tests/test-applications/nextjs-16/eslint.config.mjs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
1+
import { dirname } from 'path';
2+
import { fileURLToPath } from 'url';
3+
import { FlatCompat } from '@eslint/eslintrc';
44

55
const __filename = fileURLToPath(import.meta.url);
66
const __dirname = dirname(__filename);
@@ -10,15 +10,9 @@ const compat = new FlatCompat({
1010
});
1111

1212
const eslintConfig = [
13-
...compat.extends("next/core-web-vitals", "next/typescript"),
13+
...compat.extends('next/core-web-vitals', 'next/typescript'),
1414
{
15-
ignores: [
16-
"node_modules/**",
17-
".next/**",
18-
"out/**",
19-
"build/**",
20-
"next-env.d.ts",
21-
],
15+
ignores: ['node_modules/**', '.next/**', 'out/**', 'build/**', 'next-env.d.ts'],
2216
},
2317
];
2418

dev-packages/e2e-tests/test-applications/nextjs-16/tsconfig.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@
2222
"@/*": ["./*"]
2323
}
2424
},
25-
"include": [
26-
"next-env.d.ts",
27-
"**/*.ts",
28-
"**/*.tsx",
29-
".next/types/**/*.ts",
30-
".next/dev/types/**/*.ts",
31-
"**/*.mts"
32-
],
25+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts", "**/*.mts"],
3326
"exclude": ["node_modules"]
3427
}

0 commit comments

Comments
 (0)