diff --git a/biome.json b/biome.json index 588613819..73f39e3c0 100644 --- a/biome.json +++ b/biome.json @@ -1,7 +1,10 @@ { "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", "files": { - "ignore": ["docs/_site"] + "ignore": [ + "docs/_site", + "examples/**/dist" + ] }, "formatter": { "enabled": true, diff --git a/examples/custom-receiver/tsconfig.json b/examples/custom-receiver/tsconfig.json index 80e839c68..1e3120461 100644 --- a/examples/custom-receiver/tsconfig.json +++ b/examples/custom-receiver/tsconfig.json @@ -14,7 +14,5 @@ "target": "es6", "outDir": "dist" }, - "include": [ - "src/**/*" - ] + "include": ["src/**/*"] } diff --git a/examples/getting-started-typescript/src/utils/env.ts b/examples/getting-started-typescript/src/utils/env.ts index ed0f69d75..56a77a528 100644 --- a/examples/getting-started-typescript/src/utils/env.ts +++ b/examples/getting-started-typescript/src/utils/env.ts @@ -1,5 +1,5 @@ // for details see https://github.com/motdotla/dotenv/blob/master/examples/typescript/ -import { resolve } from 'path'; +import { resolve } from 'node:path'; import { config } from 'dotenv'; const pathToConfig = '../../.env'; diff --git a/examples/getting-started-typescript/tsconfig.eslint.json b/examples/getting-started-typescript/tsconfig.eslint.json deleted file mode 100644 index d19325c71..000000000 --- a/examples/getting-started-typescript/tsconfig.eslint.json +++ /dev/null @@ -1,13 +0,0 @@ -// This config is only used to allow ESLint to use a different include / exclude setting than the actual build -{ - // extend the build config to share compilerOptions - "extends": "./tsconfig.json", - "compilerOptions": { - // Setting "noEmit" prevents misuses of this config such as using it to produce a build - "noEmit": true - }, - "include": [ - // Since extending a config overwrites the entire value for "include", those value are copied here - "src/**/*", - ] -}