3 Commits

Author SHA1 Message Date
44d2a6d390 chore(deps): update dependency @types/node to v22
All checks were successful
Lint / Lint (push) Successful in 25s
Lint / Lint (pull_request) Successful in 21s
2025-08-29 10:02:11 +02:00
d38e1d0169 fix eslint
All checks were successful
Lint / Lint (push) Successful in 24s
2025-08-29 10:01:18 +02:00
a55978e602 commit next-env.d.ts for working lint in CI
Some checks failed
Lint / Lint (push) Has been cancelled
2025-08-29 10:00:13 +02:00
5 changed files with 14 additions and 8 deletions

2
.gitignore vendored
View File

@@ -38,4 +38,4 @@ yarn-error.log*
# typescript # typescript
*.tsbuildinfo *.tsbuildinfo
next-env.d.ts # next-env.d.ts # needed for linting in CI

View File

@@ -21,7 +21,7 @@ export default [
}, },
// 1. Next.js core rules (includes react, react-hooks, and next) // 1. Next.js core rules (includes react, react-hooks, and next)
...compat.extends('next/core-web-vitals', 'next/typescript', 'prettier'), ...compat.extends('next/core-web-vitals', 'prettier'),
// 2. Your strict, type-aware TypeScript rules // 2. Your strict, type-aware TypeScript rules
...tseslint.configs.strictTypeChecked, ...tseslint.configs.strictTypeChecked,

6
next-env.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -20,7 +20,7 @@
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "3.3.1", "@eslint/eslintrc": "3.3.1",
"@tailwindcss/postcss": "4.1.12", "@tailwindcss/postcss": "4.1.12",
"@types/node": "20.19.11", "@types/node": "22.18.0",
"@types/react": "19.1.11", "@types/react": "19.1.11",
"@types/react-dom": "19.1.7", "@types/react-dom": "19.1.7",
"eslint": "9.34.0", "eslint": "9.34.0",

10
pnpm-lock.yaml generated
View File

@@ -41,8 +41,8 @@ importers:
specifier: 4.1.12 specifier: 4.1.12
version: 4.1.12 version: 4.1.12
'@types/node': '@types/node':
specifier: 20.19.11 specifier: 22.18.0
version: 20.19.11 version: 22.18.0
'@types/react': '@types/react':
specifier: 19.1.11 specifier: 19.1.11
version: 19.1.11 version: 19.1.11
@@ -474,8 +474,8 @@ packages:
'@types/json5@0.0.29': '@types/json5@0.0.29':
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
'@types/node@20.19.11': '@types/node@22.18.0':
resolution: {integrity: sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==} resolution: {integrity: sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==}
'@types/react-dom@19.1.7': '@types/react-dom@19.1.7':
resolution: {integrity: sha512-i5ZzwYpqjmrKenzkoLM2Ibzt6mAsM7pxB6BCIouEVVmgiqaMj1TjaK7hnA36hbW5aZv20kx7Lw6hWzPWg0Rurw==} resolution: {integrity: sha512-i5ZzwYpqjmrKenzkoLM2Ibzt6mAsM7pxB6BCIouEVVmgiqaMj1TjaK7hnA36hbW5aZv20kx7Lw6hWzPWg0Rurw==}
@@ -2311,7 +2311,7 @@ snapshots:
'@types/json5@0.0.29': {} '@types/json5@0.0.29': {}
'@types/node@20.19.11': '@types/node@22.18.0':
dependencies: dependencies:
undici-types: 6.21.0 undici-types: 6.21.0