eslint-plugin-isaacscript
Advanced tools
Comparing version 3.10.1 to 3.11.0
@@ -33,2 +33,3 @@ "use strict"; | ||
"isaacscript/no-template-curly-in-string-fix": "error", | ||
"isaacscript/no-undefined-return-type": "error", | ||
"isaacscript/no-unsafe-plusplus": "error", | ||
@@ -35,0 +36,0 @@ "isaacscript/no-void-return-type": "error", |
@@ -31,2 +31,3 @@ "use strict"; | ||
const no_throw_1 = require("./rules/no-throw"); | ||
const no_undefined_return_type_1 = require("./rules/no-undefined-return-type"); | ||
const no_unsafe_plusplus_1 = require("./rules/no-unsafe-plusplus"); | ||
@@ -72,2 +73,3 @@ const no_void_return_type_1 = require("./rules/no-void-return-type"); | ||
"no-throw": no_throw_1.noThrow, | ||
"no-undefined-return-type": no_undefined_return_type_1.noUndefinedReturnType, | ||
"no-unsafe-plusplus": no_unsafe_plusplus_1.noUnsafePlusplus, | ||
@@ -74,0 +76,0 @@ "no-void-return-type": no_void_return_type_1.noVoidReturnType, |
@@ -11,3 +11,3 @@ "use strict"; | ||
docs: { | ||
description: "Disallows void return types on non-exported functions", | ||
description: "Disallows `void` return types on non-exported functions", | ||
recommended: "recommended", | ||
@@ -17,3 +17,3 @@ }, | ||
messages: { | ||
voidReturnType: "Non-exported functions cannot have a void return types.", | ||
voidReturnType: "Non-exported functions cannot have a `void` return type. Remove the `void` keyword.", | ||
}, | ||
@@ -20,0 +20,0 @@ fixable: "code", |
{ | ||
"name": "eslint-plugin-isaacscript", | ||
"version": "3.10.1", | ||
"version": "3.11.0", | ||
"description": "An ESLint plugin that contains useful rules.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -66,4 +66,5 @@ # eslint-plugin-isaacscript | ||
| [`isaacscript/no-throw`](docs/rules/no-throw.md) | Disallows the usage of "throw" | | | :thought_balloon: | | ||
| [`isaacscript/no-undefined-return-type`](docs/rules/no-undefined-return-type.md) | Disallows `undefined` return types on functions | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-unsafe-plusplus`](docs/rules/no-unsafe-plusplus.md) | Disallow unsafe and confusing uses of the "++" and "--" operators | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-void-return-type`](docs/rules/no-void-return-type.md) | Disallows void return types on non-exported functions | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-void-return-type`](docs/rules/no-void-return-type.md) | Disallows `void` return types on non-exported functions | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/prefer-plusplus`](docs/rules/prefer-plusplus.md) | Require "++" or "--" operators instead of assignment operators where applicable | :white_check_mark: | :wrench: | | | ||
@@ -70,0 +71,0 @@ | [`isaacscript/prefer-postfix-plusplus`](docs/rules/prefer-postfix-plusplus.md) | Require "i++" instead of "++i" | :white_check_mark: | | :thought_balloon: | |
200712
58
4389
139