Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting between lint-check and lint-staged #74503

Merged
merged 3 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ test/e2e/app-dir/server-source-maps/fixtures/default/internal-pkg/sourcemapped.j
test/e2e/app-dir/server-source-maps/fixtures/default/external-pkg/sourcemapped.js
test/e2e/async-modules/amp-validator-wasm.js
test/development/next-lint-eslint-formatter-compact/**/*.js
test/e2e/app-dir/app-external/app/mixed/import/mixed-mod.mjs

# turbopack crates
turbopack/crates/*/tests/**
turbopack/crates/*/js/src/compiled
turbopack/crates/*/js/src/compiled
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
"parser": "eslint-mdx",
"rules": {
"react/jsx-no-undef": "off",
"react/self-closing-comp": "error"
"react/self-closing-comp": "off"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you intended to change this but its probably fine

}
}
],
Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/04-api-reference/02-components/form.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: <Form>
title: `<Form>`
description: Learn how to use the `<Form>` component to handle form submissions and search params updates with client-side navigation.
---

Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/04-api-reference/02-components/image.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: <Image>
title: `<Image>`
description: Optimize Images in your Next.js Application using the built-in `next/image` Component.
---

Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/04-api-reference/02-components/link.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: <Link>
title: `<Link>`
description: Enable fast client-side navigation with the built-in `next/link` component.
---

Expand Down
2 changes: 1 addition & 1 deletion docs/01-app/04-api-reference/02-components/script.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: <Script>
title: `<Script>`
description: Optimize third-party scripts in your Next.js application using the built-in `next/script` Component.
---

Expand Down
Loading
Loading