Skip to content

Commit

Permalink
Update biome.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Nov 16, 2023
1 parent d03abf5 commit b8faa65
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
10 changes: 3 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"formatter": {
"indentStyle": "space",
"indentSize": 2,
"ignore": [
"/node_modules"
]
"indentWidth": 2,
"ignore": ["/node_modules"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"ignore": [
"/node_modules"
]
"ignore": ["/node_modules"]
}
}
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"prettier": "^3.0.3"
},
"devDependencies": {
"@biomejs/biome": "^1.2.2"
"@biomejs/biome": "latest"
}
}
7 changes: 4 additions & 3 deletions script/add-competition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ const competitionInfo: CompetitionInfo = {
roundsByEvent,
};

const outputDataFolder = await COMPETITON_SOURCE_DATA_FOLDER.getRelative(
competitionID,
).ensureFolderExists();
const outputDataFolder =
await COMPETITON_SOURCE_DATA_FOLDER.getRelative(
competitionID,
).ensureFolderExists();
const outputFilePath = outputDataFolder.getRelative("competition-info.json");

const roundResultFolder = await outputDataFolder
Expand Down

0 comments on commit b8faa65

Please sign in to comment.