Skip to content

Commit

Permalink
adding ignore no-unescape rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhi Qin committed Nov 28, 2023
1 parent 34faaa2 commit e54772a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": "next/core-web-vitals"
"extends": "next/core-web-vitals",
"rules": { "react/no-unescaped-entities": 0 }
}
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ const nextConfig = {
unoptimized: true,
},
basePath: '/portfolio',
eslint: {
// Warning: Dangerously allow production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
}

module.exports = nextConfig

0 comments on commit e54772a

Please sign in to comment.