Skip to content

Commit 2e114e4

Browse files
authored
Fix linting between lint-check and lint-staged (vercel#74503)
1 parent d70595e commit 2e114e4

File tree

17 files changed

+33
-30
lines changed

17 files changed

+33
-30
lines changed

.eslintignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ test/e2e/app-dir/server-source-maps/fixtures/default/internal-pkg/sourcemapped.j
4949
test/e2e/app-dir/server-source-maps/fixtures/default/external-pkg/sourcemapped.js
5050
test/e2e/async-modules/amp-validator-wasm.js
5151
test/development/next-lint-eslint-formatter-compact/**/*.js
52+
test/e2e/app-dir/app-external/app/mixed/import/mixed-mod.mjs
5253

5354
# turbopack crates
5455
turbopack/crates/*/tests/**
55-
turbopack/crates/*/js/src/compiled
56+
turbopack/crates/*/js/src/compiled

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
"parser": "eslint-mdx",
233233
"rules": {
234234
"react/jsx-no-undef": "off",
235-
"react/self-closing-comp": "error"
235+
"react/self-closing-comp": "off"
236236
}
237237
}
238238
],

docs/01-app/04-api-reference/02-components/form.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Form>
2+
title: Form
33
description: Learn how to use the `<Form>` component to handle form submissions and search params updates with client-side navigation.
44
---
55

docs/01-app/04-api-reference/02-components/image.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Image>
2+
title: Image
33
description: Optimize Images in your Next.js Application using the built-in `next/image` Component.
44
---
55

docs/01-app/04-api-reference/02-components/link.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Link>
2+
title: Link
33
description: Enable fast client-side navigation with the built-in `next/link` component.
44
---
55

docs/01-app/04-api-reference/02-components/script.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Script>
2+
title: Script
33
description: Optimize third-party scripts in your Next.js application using the built-in `next/script` Component.
44
---
55

docs/02-pages/03-api-reference/01-components/form.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Form>
2+
title: Form
33
description: Learn how to use the `<Form>` component to handle form submissions and search params updates with client-side navigation.
44
source: app/api-reference/components/form
55
---

docs/02-pages/03-api-reference/01-components/head.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Head>
2+
title: Head
33
description: Add custom elements to the `head` of your page with the built-in Head component.
44
---
55

docs/02-pages/03-api-reference/01-components/image-legacy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Image> (Legacy)
2+
title: Image (Legacy)
33
description: Backwards compatible Image Optimization with the Legacy Image component.
44
---
55

docs/02-pages/03-api-reference/01-components/image.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <Image>
2+
title: Image
33
description: Optimize Images in your Next.js Application using the built-in `next/image` Component.
44
source: app/api-reference/components/image
55
---

0 commit comments

Comments
 (0)