Skip to content
Open
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
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ npmPreapprovedPackages:
- one-way-git-sync
- next
- '@next/*'
- '@types/*'
- '@typescript/*'
- '@oxfmt/*'
- '@oxlint/*'
Expand Down
4 changes: 3 additions & 1 deletion oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

const oxlintResolvedConfig = oxlintBaseConfig;
Comment on lines +2 to +4
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

This assignment is redundant. You can simplify the code by importing the configuration directly with the desired name, adhering to the rule of eliminating redundancy.

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

// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"@tsconfig/node-lts": "24.0.0",
"@tsconfig/node-ts": "23.6.4",
"@types/node": "25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"@willbooster/wb": "13.12.15",
"conventional-changelog-conventionalcommits": "9.3.1",
"lefthook": "2.1.6",
"oxfmt": "0.48.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/shared-lib-blitz-next/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-blitz-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"@tsconfig/node-lts": "24.0.0",
"@tsconfig/node-ts": "23.6.4",
"@types/node": "25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"@willbooster/wb": "13.12.15",
"blitz": "3.0.2",
"build-ts": "17.1.10",
"build-ts": "17.1.12",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/shared-lib-next/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"@tsconfig/node-lts": "24.0.0",
"@tsconfig/node-ts": "23.6.4",
"@types/node": "25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"build-ts": "17.1.10",
"@willbooster/wb": "13.12.15",
"build-ts": "17.1.12",
"next": "16.2.6",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
Expand Down
6 changes: 5 additions & 1 deletion packages/shared-lib-node/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
"@tsconfig/node-ts": "23.6.4",
"@types/bun": "1.3.13",
"@types/node": "25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"build-ts": "17.1.10",
"@willbooster/wb": "13.12.15",
"build-ts": "17.1.12",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/shared-lib-react/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"@types/node": "25.6.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"@willbooster/wb": "13.12.15",
"babel-loader": "10.1.1",
"build-ts": "17.1.10",
"build-ts": "17.1.12",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/shared-lib/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/shared-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"@tsconfig/node-lts": "24.0.0",
"@tsconfig/node-ts": "23.6.4",
"@types/node": "25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"build-ts": "17.1.10",
"@willbooster/wb": "13.12.15",
"build-ts": "17.1.12",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/wb/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
4 changes: 2 additions & 2 deletions packages/wb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
"@types/kill-port": "2.0.3",
"@types/node": "25.6.0",
"@types/yargs": "17.0.35",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@typescript/native-preview": "7.0.0-dev.20260421.2",
"@willbooster/oxfmt-config": "1.2.2",
"@willbooster/oxlint-config": "1.4.6",
"at-decorators": "7.1.0",
"build-ts": "17.1.10",
"build-ts": "17.1.12",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
Expand Down
6 changes: 5 additions & 1 deletion packages/wbfy/oxlint.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// wbfy:start oxlint-base
import oxlintResolvedConfig from '@willbooster/oxlint-config';
import oxlintBaseConfig from '@willbooster/oxlint-config';

// Oxlint only supports type-aware options in the root config, while it
// still auto-discovers package-local config files in monorepos.
const { options: _rootOnlyOptions, ...oxlintResolvedConfig } = oxlintBaseConfig;
// wbfy:end oxlint-base

// wbfy:start oxlint-export
Expand Down
6 changes: 3 additions & 3 deletions packages/wbfy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"@types/node": "25.6.0",
"@types/semver": "7.7.1",
"@types/yargs": "17.0.35",
"@typescript/native-preview": "7.0.0-dev.20260503.1",
"@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.13",
"@willbooster/wb": "13.12.15",
"@yarnpkg/core": "4.6.0",
"build-ts": "17.1.10",
"build-ts": "17.1.12",
"lefthook": "2.1.6",
"oxfmt": "0.48.0",
"oxlint": "1.63.0",
Expand Down
Loading
Loading