@fimbul/mimir
Advanced tools
Comparing version 0.9.0-dev.20180428 to 0.9.0-dev.20180430
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.9.0-dev.20180428", | ||
"version": "0.9.0-dev.20180430", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -5,0 +5,0 @@ "main": "recommended.yaml", |
@@ -44,2 +44,3 @@ # Mímir | ||
`no-useless-assertion` | Detects type assertions that don't change the type or are not necessary in the first place. *requires type information* | TSLint's `no-unnecessary-type-assertion` does not detect assertions needed to silence the compiler warning `Variable ... is used before being assigned.` The Wotan builtin rule also checks whether the assertion is necessary at all or the receiver accepts the original type. | ||
`no-useless-declare` | Disallows the `declare` keyword on statements without runtime value, e.g. `declare type T = any;`. | TSLint has no such rule. | ||
`no-useless-initializer` | Detects unnecessary initialization with `undefined` and destructuring defaults (*requires type information*). | TSLint's rule `no-unnecessary-initializer` doesn't fix all parameter initializers and gives false positives for destructuring. | ||
@@ -46,0 +47,0 @@ `no-useless-jump-label` | Detects `continue label;` and `break label;` where the label is not necessary. | There's no similar TSLint rule. |
Sorry, the diff of this file is not supported yet
282499
129
3333
74