Skip to content

Commit

Permalink
chore: add million lint
Browse files Browse the repository at this point in the history
Signed-off-by: Urban Vidovič <[email protected]>
  • Loading branch information
pseudobun committed Jun 20, 2024
1 parent bca38e2 commit 48632d2
Show file tree
Hide file tree
Showing 3 changed files with 681 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/portfolio/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/** @type {import('next').NextConfig} */
import MillionCompiler from '@million/lint';
const nextConfig = {
trailingSlash: true,
reactStrictMode: true,
Expand Down Expand Up @@ -26,4 +27,6 @@ const nextConfig = {
},
};

export default nextConfig;
export default MillionCompiler.next({
rsc: true,
})(nextConfig);
1 change: 1 addition & 0 deletions packages/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@headlessui/react": "^2.0.4",
"@heroicons/react": "^2.1.3",
"@million/lint": "1.0.0-rc.26",
"@nextui-org/react": "^2.4.1",
"@supabase/supabase-js": "^2.43.4",
"@svgr/webpack": "^8.1.0",
Expand Down
Loading

0 comments on commit 48632d2

Please sign in to comment.