Skip to content

Commit

Permalink
fix: upstream eslint-plugin-react issue causing next build and lint t…
Browse files Browse the repository at this point in the history
…o fail (vercel#779)
  • Loading branch information
jaredpalmer authored Feb 25, 2022
1 parent 996fd3b commit ee64718
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/basic/packages/config/eslint-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ module.exports = {
},
rules: {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
},
};
3 changes: 2 additions & 1 deletion examples/design-system/packages/eslint-preset-acme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ module.exports = {
extends: ["next", "prettier"],
settings: {
next: {
rootDir: ["./apps/*/", "./packages/*/"],
rootDir: ["apps/*/", "packages/*/"],
},
},
rules: {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
},
};
1 change: 1 addition & 0 deletions examples/with-pnpm/packages/config/eslint-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ module.exports = {
},
rules: {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
},
};
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ module.exports = {
},
rules: {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",
},
};

0 comments on commit ee64718

Please sign in to comment.