Skip to content

Commit

Permalink
style: always expand JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Aug 25, 2024
1 parent 4be041b commit 8c9853f
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
19 changes: 16 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
},
"formatter": {
"indentStyle": "space",
"ignore": ["tests-corpus"]
"ignore": [
"tests-corpus"
]
},
"linter": {
"rules": {
Expand Down Expand Up @@ -42,13 +44,19 @@
"selector": {
"kind": "typeAlias"
},
"formats": ["PascalCase", "camelCase"]
"formats": [
"PascalCase",
"camelCase"
]
},
{
"selector": {
"kind": "objectLiteralProperty"
},
"formats": ["camelCase", "PascalCase"]
"formats": [
"camelCase",
"PascalCase"
]
}
]
}
Expand All @@ -62,6 +70,11 @@
"semicolons": "asNeeded"
}
},
"json": {
"formatter": {
"lineWidth": 1
}
},
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
15 changes: 12 additions & 3 deletions src/tsconfig-test.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"extends": "../tsconfig-base.json",
"compilerOptions": {
"types": ["node"],
"types": [
"node"
],
"outDir": "../dist"
},
"include": ["./bin/cli.ts", "./**/*.test.ts"],
"references": [{ "path": "." }]
"include": [
"./bin/cli.ts",
"./**/*.test.ts"
],
"references": [
{
"path": "."
}
]
}
5 changes: 4 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
"noEmit": false,
"outDir": "../dist"
},
"exclude": ["./bin/cli.ts", "./**/*.test.ts"]
"exclude": [
"./bin/cli.ts",
"./**/*.test.ts"
]
}
4 changes: 3 additions & 1 deletion tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"lib": ["ES2022"],
"lib": [
"ES2022"
],
"module": "Node16",
"target": "ES2022",

Expand Down

0 comments on commit 8c9853f

Please sign in to comment.