Skip to content

Commit

Permalink
Fix next/babel error
Browse files Browse the repository at this point in the history
  • Loading branch information
TMH-SE committed Mar 17, 2023
1 parent a28b84d commit 7418520
Show file tree
Hide file tree
Showing 3 changed files with 391 additions and 89 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ module.exports = {
rules: {
"@next/next/no-html-link-for-pages": "off",
},
parserOptions: {
babelOptions: {
presets: [require.resolve('next/babel')],
},
},
};
5 changes: 3 additions & 2 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"eslint": "^7.23.0",
"eslint-config-next": "13.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "7.31.8",
"eslint-config-turbo": "latest"
"eslint-config-turbo": "latest",
"eslint-plugin-react": "7.31.8"
},
"devDependencies": {
"next": "^13.1.1",
"typescript": "^4.7.4"
},
"publishConfig": {
Expand Down
Loading

0 comments on commit 7418520

Please sign in to comment.