@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/xy/index.mjs CHANGED
@@ -987,11 +987,15 @@ var lint = /* @__PURE__ */ __name(({ pkg, verbose, incremental, fix: fix2 } = {}
987
987
  var lintAllPackages = /* @__PURE__ */ __name(({ fix: fix2 = false } = {}) => {
988
988
  console.log(chalk13.gray(`${fix2 ? "Fix" : "Lint"} [All-Packages]`));
989
989
  const start = Date.now();
990
+ const fixOptions = fix2 ? [
991
+ "--fix"
992
+ ] : [];
990
993
  const result = runSteps(`${fix2 ? "Fix" : "Lint"} [All-Packages]`, [
991
994
  [
992
995
  "yarn",
993
996
  [
994
- "eslint"
997
+ "eslint",
998
+ ...fixOptions
995
999
  ]
996
1000
  ]
997
1001
  ]);