@stacksjs/lint 0.70.303 → 0.70.304

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.d.ts +9 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -5,4 +5,13 @@
5
5
  // here (not a better-dx dev tool) because this package imports it at runtime,
6
6
  // and `frameworkExternal()` keeps it out of the bundle so it resolves from the
7
7
  // consumer's node_modules.
8
+ //
9
+ // The dependency is a RANGE, not an exact pin. It was pinned to 0.1.43, which
10
+ // meant every app carried a `no-unused-vars` false positive on any function
11
+ // with a multi-line generic return type: the rule missed the body entirely, so
12
+ // a used parameter read as unused and `lint --fix` renamed it to `_name`,
13
+ // leaving the body referencing an identifier that no longer existed. An
14
+ // autofix that silently breaks working code is the worst kind, and an exact
15
+ // pin meant pickier's own fix (0.1.46) could never reach anyone. The floor is
16
+ // that version; patches above it flow.
8
17
  export * from 'pickier';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/lint",
3
3
  "type": "module",
4
- "version": "0.70.303",
4
+ "version": "0.70.304",
5
5
  "description": "The Stacks way to lint.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,7 +58,7 @@
58
58
  "prepublishOnly": "bun run build"
59
59
  },
60
60
  "dependencies": {
61
- "pickier": "0.1.43"
61
+ "pickier": "^0.1.46"
62
62
  },
63
63
  "devDependencies": {
64
64
  "better-dx": "^0.2.17"