@hublo/sentinel 1.6.0-alpha.4 → 1.6.0-alpha.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.
@@ -12,10 +12,10 @@ import {
12
12
  presetNotInstalledYet,
13
13
  registerAdapters,
14
14
  resolve
15
- } from "../chunk-NLCX7QSY.js";
15
+ } from "../chunk-RZJWYVVG.js";
16
16
  import {
17
17
  resolveContext
18
- } from "../chunk-BXI5CRRN.js";
18
+ } from "../chunk-L3TOPT5G.js";
19
19
  import {
20
20
  ensureWorkspacePrep,
21
21
  findWorkspaceRoot,
@@ -584,7 +584,7 @@ async function runValidate(ctx) {
584
584
  );
585
585
  }
586
586
  if (!ctx.targets.includes("test")) return 1;
587
- const { validateModuleTests } = await import("../validate-3HV7TRSX.js");
587
+ const { validateModuleTests } = await import("../validate-LJHUF3OQ.js");
588
588
  const outcomes = modules.flatMap(
589
589
  (module) => validateModuleTests(module.name, module.root)
590
590
  );
@@ -8977,14 +8977,17 @@ var shared_default = {
8977
8977
  allowTernary: false
8978
8978
  }
8979
8979
  ],
8980
- "typescript/no-unused-vars": [
8981
- "error",
8982
- {
8983
- argsIgnorePattern: "^_",
8984
- caughtErrors: "none",
8985
- ignoreRestSiblings: true
8986
- }
8987
- ],
8980
+ "typescript/no-unused-vars": {
8981
+ severity: "warn",
8982
+ reason: "one rule and one set of options in every preset since 1.6.0, held at warn for one release so a module that only bumps the version stays green: the findings that predate it are deleted by the adopting repo's sweep, and the rule becomes an error in 1.7.0, once that debt is zero. Until then the debt stays visible and countable via `--run --lint --json` and `--inspect`.",
8983
+ options: [
8984
+ {
8985
+ argsIgnorePattern: "^_",
8986
+ caughtErrors: "none",
8987
+ ignoreRestSiblings: true
8988
+ }
8989
+ ]
8990
+ },
8988
8991
  "typescript/no-wrapper-object-types": "error",
8989
8992
  "typescript/prefer-as-const": "error",
8990
8993
  "typescript/prefer-namespace-keyword": "error",
@@ -69,7 +69,7 @@ import {
69
69
  uncoveredFor,
70
70
  walk,
71
71
  writtenFileFormatter
72
- } from "./chunk-BXI5CRRN.js";
72
+ } from "./chunk-L3TOPT5G.js";
73
73
  import {
74
74
  DEFAULT_MAX_DIAGNOSTICS,
75
75
  WORKSPACE_ROOT_MARKER,
package/dist/index.js CHANGED
@@ -6,10 +6,10 @@ import {
6
6
  registerAdapters,
7
7
  resolve,
8
8
  setDefaultRunner
9
- } from "./chunk-NLCX7QSY.js";
9
+ } from "./chunk-RZJWYVVG.js";
10
10
  import {
11
11
  BaseAdapter
12
- } from "./chunk-BXI5CRRN.js";
12
+ } from "./chunk-L3TOPT5G.js";
13
13
  import "./chunk-ZNANJEMK.js";
14
14
  import "./chunk-7E6YTTAK.js";
15
15
  import "./chunk-4EIY7TTR.js";
@@ -7,7 +7,7 @@ import {
7
7
  readTestAdoption,
8
8
  resolveVitest,
9
9
  suiteOf
10
- } from "./chunk-BXI5CRRN.js";
10
+ } from "./chunk-L3TOPT5G.js";
11
11
  import "./chunk-ZNANJEMK.js";
12
12
  import "./chunk-O7REVMOC.js";
13
13
  import "./chunk-QXFCZON7.js";
package/lint/nest.json CHANGED
@@ -50,7 +50,7 @@
50
50
  }
51
51
  ],
52
52
  "typescript/no-unused-vars": [
53
- "error",
53
+ "warn",
54
54
  {
55
55
  "argsIgnorePattern": "^_",
56
56
  "caughtErrors": "none",
package/lint/node.json CHANGED
@@ -46,7 +46,7 @@
46
46
  }
47
47
  ],
48
48
  "typescript/no-unused-vars": [
49
- "error",
49
+ "warn",
50
50
  {
51
51
  "argsIgnorePattern": "^_",
52
52
  "caughtErrors": "none",
@@ -51,7 +51,7 @@
51
51
  }
52
52
  ],
53
53
  "typescript/no-unused-vars": [
54
- "error",
54
+ "warn",
55
55
  {
56
56
  "argsIgnorePattern": "^_",
57
57
  "caughtErrors": "none",
package/lint/react.json CHANGED
@@ -51,7 +51,7 @@
51
51
  }
52
52
  ],
53
53
  "typescript/no-unused-vars": [
54
- "error",
54
+ "warn",
55
55
  {
56
56
  "argsIgnorePattern": "^_",
57
57
  "caughtErrors": "none",
package/lint/svelte.json CHANGED
@@ -45,7 +45,7 @@
45
45
  }
46
46
  ],
47
47
  "typescript/no-unused-vars": [
48
- "error",
48
+ "warn",
49
49
  {
50
50
  "argsIgnorePattern": "^_",
51
51
  "caughtErrors": "none",
package/lint/tools.json CHANGED
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "typescript/no-unused-vars": [
51
- "error",
51
+ "warn",
52
52
  {
53
53
  "argsIgnorePattern": "^_",
54
54
  "caughtErrors": "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hublo/sentinel",
3
- "version": "1.6.0-alpha.4",
3
+ "version": "1.6.0-alpha.5",
4
4
  "description": "One CLI that guards code health across Hublo repos: shared lint/typescript/build/test presets, static & dynamic analysis, and architecture checks.",
5
5
  "type": "module",
6
6
  "license": "MIT",