fix: exclude deployment history from builds and source checks
Some checks failed
Test and deploy / Verify production build (push) Failing after 6m40s
Some checks failed
Test and deploy / Verify production build (push) Failing after 6m40s
This commit is contained in:
@@ -9,6 +9,13 @@ test-results
|
||||
playwright-report
|
||||
.playwright-cli
|
||||
|
||||
# Deployment history and runtime configuration are not application source.
|
||||
releases
|
||||
current
|
||||
.deploy.lock
|
||||
runtime.env
|
||||
release.env
|
||||
|
||||
.env
|
||||
.env.*
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ import nextTypeScript from 'eslint-config-next/typescript';
|
||||
export default defineConfig([
|
||||
...nextVitals,
|
||||
...nextTypeScript,
|
||||
globalIgnores(['.next/**', 'node_modules/**', 'next-env.d.ts']),
|
||||
globalIgnores(['.next/**', 'node_modules/**', 'next-env.d.ts', 'releases/**', 'current/**']),
|
||||
]);
|
||||
|
||||
4
next-env.d.ts
vendored
4
next-env.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
import "./.next/dev/types/routes.d.ts";
|
||||
import "./.next/dev/types/root-params.d.ts";
|
||||
import "./.next/types/routes.d.ts";
|
||||
import "./.next/types/root-params.d.ts";
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
".next/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"node_modules",
|
||||
"releases",
|
||||
"current"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user