Skip to content

Commit

Permalink
feat: Support Next.js 11 (#36)
Browse files Browse the repository at this point in the history
* feat: Upgrade to latest Next.js version

* Disable ESLint integration

* Proper ESLint integration
  • Loading branch information
amannn committed Jun 16, 2021
1 parent 7d1ae31 commit fc59871
Show file tree
Hide file tree
Showing 4 changed files with 533 additions and 1,487 deletions.
2 changes: 1 addition & 1 deletion packages/example/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require('eslint-config-molindo/setupPlugins');

module.exports = {
extends: ['molindo/typescript', 'molindo/react'],
extends: ['molindo/typescript', 'molindo/react', 'plugin:@next/next/recommended'],
rules: {
'react/react-in-jsx-scope': 'off',
'jsx-a11y/anchor-is-valid': 'off',
Expand Down
5 changes: 3 additions & 2 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
},
"dependencies": {
"date-fns": "^2.16.1",
"next": "^10.2.0",
"next": "^11.0.0",
"next-intl": "^1.3.11",
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"eslint": "7.4.0",
"eslint-config-molindo": "5.0.1"
"eslint-config-molindo": "5.0.1",
"eslint-config-next": "^11.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/next-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"use-intl": "^1.3.11"
},
"peerDependencies": {
"next": "^10.0.0",
"next": "^10.0.0 || ^11.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
Expand All @@ -36,7 +36,7 @@
"@types/react": "^16.9.56",
"eslint": "7.4.0",
"eslint-config-molindo": "5.0.1",
"next": "^10.0.2",
"next": "^11.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"tsdx": "^0.14.1",
Expand Down

0 comments on commit fc59871

Please sign in to comment.