Skip to content

Commit 80e2a08

Browse files
committed
🧼 format & lint: fix linter issues
1 parent ff01ff4 commit 80e2a08

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

‎biome.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"linter": {
1616
"enabled": true,
1717
"rules": {
18-
"recommended": true
18+
"recommended": true,
19+
"correctness": {
20+
"noUnusedVariables": "warn"
21+
}
1922
}
2023
},
2124
"javascript": {

‎src/config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const configSchema = Type.Object(
6767
/**
6868
* When enabled, this option ensures that only primitive types are generated as JSON types.
6969
* This ensures compatibility with tooling that only supports the serilization to JSON primitive types.
70-
*
70+
*
7171
* This can be false (off), true (will result in formatted string type) or "transformer" which will use Tybepox transformers
7272
* to output native JS Date types but transforms those to strings on processing
7373
*

‎src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ generatorHandler({
3333
try {
3434
await access(getConfig().output);
3535
await rm(getConfig().output, { recursive: true });
36-
} catch (error) {}
36+
} catch (_error) {}
3737

3838
await mkdir(getConfig().output, { recursive: true });
3939

0 commit comments

Comments
 (0)