@so1ve/eslint-config 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1521,7 +1521,7 @@ function so1ve(options = {}, ...userConfigs) {
1521
1521
  const composer = new FlatConfigComposer().append(...configs, ...userConfigs).renamePlugins(defaultPluginRenaming);
1522
1522
  return composer;
1523
1523
  }
1524
- const resolveSubOptions = (options, key) => typeof options[key] === "boolean" ? {} : options[key] || {};
1524
+ const resolveSubOptions = (options, key) => typeof options[key] === "boolean" ? {} : options[key] ?? {};
1525
1525
  function getOverrides(options, key) {
1526
1526
  const sub = resolveSubOptions(options, key);
1527
1527
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -69,8 +69,8 @@
69
69
  "typescript-eslint": "^8.34.0",
70
70
  "vue-eslint-parser": "^10.1.3",
71
71
  "yaml-eslint-parser": "^1.3.0",
72
- "@so1ve/eslint-plugin": "3.2.0",
73
- "@so1ve/eslint-plugin-sort-imports": "3.2.0"
72
+ "@so1ve/eslint-plugin": "3.3.0",
73
+ "@so1ve/eslint-plugin-sort-imports": "3.3.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@typescript-eslint/utils": "^8.34.0"
@@ -80,7 +80,7 @@
80
80
  "prettier": "^3.0.0"
81
81
  },
82
82
  "scripts": {
83
- "build": "tsdown",
83
+ "build": "tsdown && nr typegen",
84
84
  "typegen": "tsx ./scripts/typegen.ts",
85
85
  "watch": "tsdown --watch"
86
86
  }