Skip to content

Commit a2747e4

Browse files
author
Filip Maj
committed
lint for examples dir
1 parent 9785d58 commit a2747e4

File tree

4 files changed

+6
-18
lines changed

4 files changed

+6
-18
lines changed

biome.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
33
"files": {
4-
"ignore": ["docs/_site"]
4+
"ignore": [
5+
"docs/_site",
6+
"examples/**/dist"
7+
]
58
},
69
"formatter": {
710
"enabled": true,

examples/custom-receiver/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@
1414
"target": "es6",
1515
"outDir": "dist"
1616
},
17-
"include": [
18-
"src/**/*"
19-
]
17+
"include": ["src/**/*"]
2018
}

examples/getting-started-typescript/src/utils/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// for details see https://github.com/motdotla/dotenv/blob/master/examples/typescript/
2-
import { resolve } from 'path';
2+
import { resolve } from 'node:path';
33
import { config } from 'dotenv';
44

55
const pathToConfig = '../../.env';

examples/getting-started-typescript/tsconfig.eslint.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)