@fimbul/mimir
Advanced tools
Comparing version 0.9.0-dev.20180426 to 0.9.0-dev.20180428
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.9.0-dev.20180426", | ||
"version": "0.9.0-dev.20180428", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -5,0 +5,0 @@ "main": "recommended.yaml", |
@@ -51,2 +51,3 @@ # Mímir | ||
`prefer-for-of` | Prefer `for-of` loops over regular `for` loops where possible. *requires type information* | Avoids the false positives of TSLint's `prefer-for-of` rule. | ||
`prefer-namespace-keyword` | Prefer `namespace foo {}` over `module foo {}` to avoid confusion with ECMAScript modules. | Same as TSLint's `no-internal-module`. | ||
`prefer-number-isnan` | Prefer ES2015's `Number.isNaN` over the global `isNaN` mainly for performance. *requires type information* | No similar rule in TSLint. | ||
@@ -53,0 +54,0 @@ `prefer-object-spread` | Prefer object spread over `Object.assign` for copying properties to a new object. *requires type information* | Performance, and better handling of parens in fixer and avoids false positives that would cause a compile error when fixed. |
Sorry, the diff of this file is not supported yet
278478
126
3279
73