@xylabs/ts-scripts-yarn3 6.3.4 → 6.3.5

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.
package/dist/index.mjs CHANGED
@@ -1098,11 +1098,15 @@ var lint = /* @__PURE__ */ __name(({ pkg, verbose, incremental, fix: fix2 } = {}
1098
1098
  var lintAllPackages = /* @__PURE__ */ __name(({ fix: fix2 = false } = {}) => {
1099
1099
  console.log(chalk15.gray(`${fix2 ? "Fix" : "Lint"} [All-Packages]`));
1100
1100
  const start = Date.now();
1101
+ const fixOptions = fix2 ? [
1102
+ "--fix"
1103
+ ] : [];
1101
1104
  const result = runSteps(`${fix2 ? "Fix" : "Lint"} [All-Packages]`, [
1102
1105
  [
1103
1106
  "yarn",
1104
1107
  [
1105
- "eslint"
1108
+ "eslint",
1109
+ ...fixOptions
1106
1110
  ]
1107
1111
  ]
1108
1112
  ]);