Skip to content

Commit 0c698f3

Browse files
authored
Merge pull request #39 from contentstack/fix/DX-4269
fix: Updated next to v16
2 parents 6a44958 + f46f756 commit 0c698f3

6 files changed

Lines changed: 749 additions & 1503 deletions

File tree

.eslintrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
5+
const eslintConfig = defineConfig([
6+
...nextVitals,
7+
...nextTs,
8+
{
9+
rules: {
10+
"@typescript-eslint/no-explicit-any": "off",
11+
},
12+
},
13+
globalIgnores([
14+
".next/**",
15+
"out/**",
16+
"build/**",
17+
"next-env.d.ts",
18+
]),
19+
]);
20+
21+
export default eslintConfig;

next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
images: {
4+
minimumCacheTTL: 60,
45
// Configure allowed hostnames for Next.js Image Optimization
56
remotePatterns: [
67
...(process.env.NEXT_PUBLIC_CONTENTSTACK_IMAGE_HOSTNAME

0 commit comments

Comments
 (0)