Compare commits
3 Commits
5808b9056d
...
44d2a6d390
Author | SHA1 | Date | |
---|---|---|---|
44d2a6d390 | |||
d38e1d0169 | |||
a55978e602 |
2
.gitignore
vendored
2
.gitignore
vendored
@@ -38,4 +38,4 @@ yarn-error.log*
|
|||||||
|
|
||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
# next-env.d.ts # needed for linting in CI
|
||||||
|
@@ -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
6
next-env.d.ts
vendored
Normal 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.
|
Reference in New Issue
Block a user