@fimbul/mimir
Advanced tools
Comparing version 0.9.0-dev.20180430 to 0.9.0-dev.20180501
{ | ||
"name": "@fimbul/mimir", | ||
"version": "0.9.0-dev.20180430", | ||
"version": "0.9.0-dev.20180501", | ||
"description": "Core rules of the Fimbullinter project", | ||
@@ -28,3 +28,3 @@ "main": "recommended.yaml", | ||
"dependencies": { | ||
"@fimbul/ymir": "0.8.0", | ||
"@fimbul/ymir": "0.9.0-dev.20180501", | ||
"chalk": "^2.3.2", | ||
@@ -31,0 +31,0 @@ "debug": "^3.1.0", |
@@ -17,3 +17,3 @@ # Mímir | ||
This library contains all core rules, formatters and configuration presets of the Fimbullinter project. It's used internally by Wotan. | ||
This library contains all core rules, formatters and configuration presets of the Fimbullinter project. As a typical user you don't need to explicitly install this package. It's already installed as a dependency of Wotan. | ||
@@ -24,4 +24,5 @@ ## Rules | ||
---- | ---- | ---- | ||
`await-async-result` | Warns about not using the result of a call to an async function inside async functions. *requires type information* | TSLint's `no-floating-promises` requires you to specify a list of Promise names, it checks outside of async functions and only requires you to register the `onrejected` callback. | ||
`await-only-promise` | Finds uses of `await` on non-Promise values. Also checks `for await` loops. *requires type information* | Works for all `PromiseLike` and `Thenable` types out of the box without any configuration. | ||
[`await-async-result`](docs/await-async-result.md) | :mag: Warns about not using the result of a call to an async function inside async functions. | TSLint's `no-floating-promises` requires you to specify a list of Promise names, it checks outside of async functions and only requires you to register the `onrejected` callback. | ||
[`await-only-promise`](docs/await-only-promise.md) | :mag: :wrench: Finds uses of `await` on non-Promise values. Also checks `for await` loops. | Works for all `PromiseLike` and `Thenable` types out of the box without any configuration. | ||
[`ban-dom-globals`](docs/ban-dom-globals.md) | :mag: Disallows uses of global variables like `name` or `event`. Using these variables is most likely not intended. | There's an open PR to add a similar rule to TSLint. | ||
`generator-require-yield` | Require at least one `yield` inside generator functions. | There's no similar TSLint rule. | ||
@@ -28,0 +29,0 @@ `new-parens` | Require parentheses when invoking constructors. | Performance! |
Sorry, the diff of this file is not supported yet
291799
135
3419
75
+ Added@fimbul/ymir@0.9.0-dev.20180501(transitive)
- Removed@fimbul/ymir@0.8.0(transitive)