unguard 0.10.4 → 0.12.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 +2 -0
- package/dist/{chunk-7UXUNJSF.js → chunk-HE647T6E.js} +381 -176
- package/dist/chunk-HE647T6E.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7UXUNJSF.js.map +0 -1
package/README.md
CHANGED
|
@@ -113,6 +113,7 @@ src/lib/probe.ts:37:4 error [no-empty-catch] Empty catch blocks hide failures...
|
|
|
113
113
|
| ---- | -------- | --------------- |
|
|
114
114
|
| `no-any-cast` | error | `x as any` |
|
|
115
115
|
| `no-explicit-any-annotation` | error | `param: any`, `const x: any` |
|
|
116
|
+
| `no-inline-type-assertion` | error | `x as { ... }`, `<{ ... }>x` |
|
|
116
117
|
| `no-type-assertion` | error | `x as unknown as T` |
|
|
117
118
|
| `no-ts-ignore` | error | `@ts-ignore` / `@ts-expect-error` |
|
|
118
119
|
|
|
@@ -164,6 +165,7 @@ These rules use the TypeScript type checker. Non-nullable types suppress the dia
|
|
|
164
165
|
| `unused-export` | info | Exported function with no usages in the project |
|
|
165
166
|
| `optional-arg-always-used` | warning | Optional param provided at every call site |
|
|
166
167
|
| `explicit-null-arg` | warning | `fn(null)` / `fn(undefined)` to project functions |
|
|
168
|
+
| `dead-overload` | warning | Overload signature with zero matching project call sites |
|
|
167
169
|
|
|
168
170
|
### Imports
|
|
169
171
|
|