Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions oxfmt.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// wbfy:start oxfmt-base
import config from '@willbooster/oxfmt-config';
// wbfy:end oxfmt-base

// wbfy:start oxfmt-export
export default config;
// wbfy:end oxfmt-export
4 changes: 2 additions & 2 deletions oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// wbfy:start oxlint-base
import config from '@willbooster/oxlint-config';
import oxlintResolvedConfig from '@willbooster/oxlint-config';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The variable name oxlintResolvedConfig is unnecessarily verbose. Per the repository style guide, simplify code to eliminate redundancy. config is sufficient and consistent with other configuration files in the repository.

Suggested change
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import config from '@willbooster/oxlint-config';
References
  1. Simplify code as much as possible to eliminate redundancy. (link)

// wbfy:end oxlint-base

// wbfy:start oxlint-export
export default config;
export default oxlintResolvedConfig;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The variable name oxlintResolvedConfig is unnecessarily verbose. Per the repository style guide, simplify code to eliminate redundancy. config is sufficient and consistent with other configuration files in the repository.

Suggested change
export default oxlintResolvedConfig;
export default config;
References
  1. Simplify code as much as possible to eliminate redundancy. (link)

// wbfy:end oxlint-export
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@typescript/native-preview": "7.0.0-dev.20260421.2",
"@willbooster/oxfmt-config": "1.2.2",
"@willbooster/oxlint-config": "1.4.6",
"@willbooster/wb": "13.12.10",
"@willbooster/wb": "13.12.13",
"build-ts": "17.1.10",
"conventional-changelog-conventionalcommits": "9.3.1",
"jsdom": "29.0.2",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3904,7 +3904,7 @@ __metadata:
"@typescript/native-preview": "npm:7.0.0-dev.20260421.2"
"@willbooster/oxfmt-config": "npm:1.2.2"
"@willbooster/oxlint-config": "npm:1.4.6"
"@willbooster/wb": "npm:13.12.10"
"@willbooster/wb": "npm:13.12.13"
build-ts: "npm:17.1.10"
conventional-changelog-conventionalcommits: "npm:9.3.1"
jsdom: "npm:29.0.2"
Expand Down Expand Up @@ -3952,9 +3952,9 @@ __metadata:
languageName: node
linkType: hard

"@willbooster/wb@npm:13.12.10":
version: 13.12.10
resolution: "@willbooster/wb@npm:13.12.10"
"@willbooster/wb@npm:13.12.13":
version: 13.12.13
resolution: "@willbooster/wb@npm:13.12.13"
dependencies:
chalk: "npm:5.6.2"
dotenv: "npm:17.4.2"
Expand All @@ -3966,7 +3966,7 @@ __metadata:
yargs: "npm:18.0.0"
bin:
wb: bin/index.js
checksum: 10c0/4eb226efe18f1e12938e63d46a02b45b81ccd94259fd2637e6c003d4941ee2cb2b19144299236dc9f7086e802b09b4fd355803a700f7d9fa9938474ada3d9849
checksum: 10c0/3819f93a041ded16ad95f7d655c60bd540cccb1e0d1b1f87240c37f10993e8225251a0cf69e0f553a2baaa0e62a06bfcc29f72e568af13fe8c9fff9acae24ded
languageName: node
linkType: hard

Expand Down
Loading