Skip to content

Commit

Permalink
ci(lint): add next.js config
Browse files Browse the repository at this point in the history
this will print an error until next.js 11.1.1 is released, per vercel/next.js#28148
  • Loading branch information
msrcodes committed Aug 22, 2021
1 parent bbfa928 commit fbcfce1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,3 @@
module.exports = {
extends: ['./node_modules/gts/', 'plugin:@next/next/recommended'],
};
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -8,6 +8,7 @@
"license": "UNLICENSED",
"private": false,
"devDependencies": {
"@next/eslint-plugin-next": "^11.1.0",
"@types/node": "^14.11.2",
"@types/react": "^17.0.19",
"eslint": "^7.32.0",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Expand Up @@ -116,6 +116,13 @@
resolved "https://registry.yarnpkg.com/@next/env/-/env-11.1.0.tgz#cae83d8e0a65aa9f2af3368f8269ffd9d911746a"
integrity sha512-zPJkMFRenSf7BLlVee8987G0qQXAhxy7k+Lb/5hLAGkPVHAHm+oFFeL+2ipbI2KTEFlazdmGY0M+AlLQn7pWaw==

"@next/eslint-plugin-next@^11.1.0":
version "11.1.0"
resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-11.1.0.tgz#bee19a333e3d2d81d381b9c2fdf2df713f5774e8"
integrity sha512-HjLhyshV+ANzTDCFLN1UZMQIyYwZkCdhydfIcOQQVCrqLSd0hCi+AYIGqWfDPhXmP7aeOuKQsmhRmdennQV2qw==
dependencies:
glob "7.1.7"

"@next/polyfill-module@11.1.0":
version "11.1.0"
resolved "https://registry.yarnpkg.com/@next/polyfill-module/-/polyfill-module-11.1.0.tgz#ee6b9117a1f9bb137479dfa51d5a9e38e066a62f"
Expand Down Expand Up @@ -1499,7 +1506,7 @@ glob-to-regexp@^0.4.1:
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e"
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==

glob@^7.1.3:
glob@7.1.7, glob@^7.1.3:
version "7.1.7"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
Expand Down

0 comments on commit fbcfce1

Please sign in to comment.