Skip to content

Commit

Permalink
chore: upgrade to nextjs 14
Browse files Browse the repository at this point in the history
  • Loading branch information
cseas committed Dec 22, 2024
1 parent 36e5e20 commit a065e9e
Show file tree
Hide file tree
Showing 7 changed files with 6,695 additions and 1,462 deletions.
32 changes: 32 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@next/next/recommended",
],
ignorePatterns: ["out", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["import", "unicorn"],
rules: {
/**
* Requires a third-party hosting service to serve images.
* @see https://nextjs.org/docs/pages/building-your-application/deploying/static-exports#image-optimization
* @see https://nextjs.org/docs/messages/no-img-element#possible-ways-to-fix-it
* */
"@next/next/no-img-element": "off",

// "import/order": [
// "error",
// {
// groups: [["builtin", "external"], "internal", ["parent", "sibling"], "type"],
// pathGroups: [{ group: "builtin", pattern: "react", position: "before" }],
// pathGroupsExcludedImportTypes: ["builtin"],
// distinctGroup: false,
// "newlines-between": "always",
// alphabetize: { order: "asc", caseInsensitive: false },
// },
// ],
},
};
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
4 changes: 0 additions & 4 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ export default {
return config;
},

experimental: {
appDir: true,
},

// Todo: This is temporary until the below issue is resolved
// https://github.com/vercel/next.js/issues/46267
typescript: { ignoreBuildErrors: true },
Expand Down
Loading

0 comments on commit a065e9e

Please sign in to comment.