@xylabs/ts-scripts-yarn3 5.1.4 → 5.1.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
@@ -1055,7 +1055,7 @@ var lint = /* @__PURE__ */ __name(async ({ pkg, verbose, incremental, fix: fix2
1055
1055
  return pkg ? await lintPackage({
1056
1056
  pkg,
1057
1057
  fix: fix2
1058
- }) : lintAll({
1058
+ }) : lintAllPackages({
1059
1059
  verbose,
1060
1060
  incremental,
1061
1061
  fix: fix2
@@ -2136,7 +2136,7 @@ async function getRootESLintConfig() {
2136
2136
  return pathToFileURL(configPath);
2137
2137
  }
2138
2138
  __name(getRootESLintConfig, "getRootESLintConfig");
2139
- var packageLint = /* @__PURE__ */ __name(async () => {
2139
+ var packageLint = /* @__PURE__ */ __name(async (fix2 = false) => {
2140
2140
  const configPath = await getRootESLintConfig();
2141
2141
  const { default: eslintConfig } = await import(configPath.href);
2142
2142
  const ignoreFolders = /* @__PURE__ */ new Set([
@@ -2159,7 +2159,8 @@ var packageLint = /* @__PURE__ */ __name(async () => {
2159
2159
  const engine = new ESLint3({
2160
2160
  baseConfig: [
2161
2161
  ...eslintConfig
2162
- ]
2162
+ ],
2163
+ fix: fix2
2163
2164
  });
2164
2165
  const ignorePatterns = [
2165
2166
  ...eslintConfig.find((cfg) => cfg.ignores)?.ignores ?? [],