Compare commits
1 Commits
44d2a6d390
...
5808b9056d
Author | SHA1 | Date | |
---|---|---|---|
5808b9056d |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -38,4 +38,4 @@ yarn-error.log*
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
# next-env.d.ts # needed for linting in CI
|
||||
next-env.d.ts
|
||||
|
@@ -21,7 +21,7 @@ export default [
|
||||
},
|
||||
|
||||
// 1. Next.js core rules (includes react, react-hooks, and next)
|
||||
...compat.extends('next/core-web-vitals', 'prettier'),
|
||||
...compat.extends('next/core-web-vitals', 'next/typescript', 'prettier'),
|
||||
|
||||
// 2. Your strict, type-aware TypeScript rules
|
||||
...tseslint.configs.strictTypeChecked,
|
||||
|
6
next-env.d.ts
vendored
6
next-env.d.ts
vendored
@@ -1,6 +0,0 @@
|
||||
/// <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.
|
Reference in New Issue
Block a user