Skip to content

Commit 1b14ff5

Browse files
committed
style: always expand JSON
1 parent 1f68e4c commit 1b14ff5

File tree

4 files changed

+35
-8
lines changed

4 files changed

+35
-8
lines changed

biome.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
},
66
"formatter": {
77
"indentStyle": "space",
8-
"ignore": ["tests-corpus"]
8+
"ignore": [
9+
"tests-corpus"
10+
]
911
},
1012
"linter": {
1113
"rules": {
@@ -43,13 +45,19 @@
4345
"selector": {
4446
"kind": "typeAlias"
4547
},
46-
"formats": ["PascalCase", "camelCase"]
48+
"formats": [
49+
"PascalCase",
50+
"camelCase"
51+
]
4752
},
4853
{
4954
"selector": {
5055
"kind": "objectLiteralProperty"
5156
},
52-
"formats": ["camelCase", "PascalCase"]
57+
"formats": [
58+
"camelCase",
59+
"PascalCase"
60+
]
5361
}
5462
]
5563
}
@@ -66,6 +74,11 @@
6674
"semicolons": "asNeeded"
6775
}
6876
},
77+
"json": {
78+
"formatter": {
79+
"lineWidth": 1
80+
}
81+
},
6982
"vcs": {
7083
"enabled": true,
7184
"clientKind": "git",

src/tsconfig-test.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
{
22
"extends": "../tsconfig-base.json",
33
"compilerOptions": {
4-
"types": ["node"],
4+
"types": [
5+
"node"
6+
],
57
"outDir": "../dist"
68
},
7-
"include": ["./bin/cli.ts", "./**/*.test.ts"],
8-
"references": [{ "path": "." }]
9+
"include": [
10+
"./bin/cli.ts",
11+
"./**/*.test.ts"
12+
],
13+
"references": [
14+
{
15+
"path": "."
16+
}
17+
]
918
}

src/tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
"noEmit": false,
99
"outDir": "../dist"
1010
},
11-
"exclude": ["./bin/cli.ts", "./**/*.test.ts"]
11+
"exclude": [
12+
"./bin/cli.ts",
13+
"./**/*.test.ts"
14+
]
1215
}

tsconfig-base.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"compilerOptions": {
4-
"lib": ["ES2022"],
4+
"lib": [
5+
"ES2022"
6+
],
57
"module": "Node16",
68
"target": "ES2022",
79

0 commit comments

Comments
 (0)