@sarj/eslint-plugin 9.9.0 → 9.11.0

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/README.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @sarj/eslint-plugin
2
2
 
3
+ ## New in 9.11.0 — disabled test assertions
4
+
5
+ `no-comment-cruft` now recognizes commented-out `expect(...)` chains and
6
+ `assert(...)` calls. A disabled assertion leaves a collected test passing while
7
+ verifying nothing. JSDoc and assertion examples introduced by prose remain
8
+ exempt, as do active assertions.
9
+
3
10
  ## New in 9.9.0 — static Next.js matchers
4
11
 
5
12
  `require-static-next-matcher` rejects runtime expressions in exported
@@ -122,6 +129,7 @@ platform too.
122
129
  | Rule | What it catches | Preset |
123
130
  |---|---|---|
124
131
  | `no-hand-rolled-spinner` | Intrinsic elements styled as Tailwind border-ring loading spinners outside the design system. | error / error |
132
+ | `prefer-input-group-search` | Search icons and shared Input controls composed without the shared InputGroup primitive. | error / error |
125
133
  | `require-static-next-matcher` | Dynamic values in exported Next.js middleware and proxy matcher configuration. | error / error |
126
134
  | `no-hand-rolled-sleep` | `new Promise((r) => setTimeout(r, ms))` in any spelling, and an uncleared `Promise.race`/`Promise.any` timeout arm. Options: `checkClientModules` (default `false`), `allowIn`. | warn / error |
127
135