Skip to content

Commit c03ab0b

Browse files
committed
修复next.js eslint插件报名的错误
1 parent 9c1c273 commit c03ab0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/specification/code/nextjs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 8
44

55
# Next.js 规范
66

7-
[`eslint-plugin-next`](https://nextjs.org/docs/app/api-reference/config/eslint) 是针对 Next.js 框架的官方推荐规则集。它会检查 Next.js 项目中的常见错误和最佳实践,例如确保 `next/image` 组件的正确使用,或者 `Link` 组件的 `href` 属性格式正确等,有助于编写符合 Next.js 规范的代码。
7+
[`@next/eslint-plugin-next`](https://nextjs.org/docs/app/api-reference/config/eslint) 是针对 Next.js 框架的官方推荐规则集。它会检查 Next.js 项目中的常见错误和最佳实践,例如确保 `next/image` 组件的正确使用,或者 `Link` 组件的 `href` 属性格式正确等,有助于编写符合 Next.js 规范的代码。
88

99
```js
1010
// .eslintrc.js

0 commit comments

Comments
 (0)