eslint-plugin-isaacscript
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "eslint-plugin-isaacscript", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "An ESLint plugin that contains useful rules.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -40,34 +40,35 @@ # eslint-plugin-isaacscript | ||
| Name | Description | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------ | -------- | ----------------- | | ||
| [`isaacscript/complete-sentences-jsdoc`](docs/rules/complete-sentences-jsdoc.md) | Enforces complete sentences for JSDoc comments | :white_check_mark: | | | | ||
| [`isaacscript/complete-sentences-line-comments`](docs/rules/complete-sentences-line-comments.md) | Enforces complete sentences for multi-line leading line comments | :white_check_mark: | | | | ||
| [`isaacscript/consistent-enum-values`](docs/rules/consistent-enum-values.md) | Enforces consistent enum values | :white_check_mark: | | | | ||
| [`isaacscript/enum-member-number-separation`](docs/rules/enum-member-number-separation.md) | Disallows numbers next to letters in enum members | | | | | ||
| [`isaacscript/eqeqeq-fix`](docs/rules/eqeqeq-fix.md) | Requires the use of `===` and `!==` (and automatically fixes) | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/format-jsdoc-comments`](docs/rules/format-jsdoc-comments.md) | Disallows `/**` comments longer than N characters and multi-line comments that can be merged together | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/format-line-comments`](docs/rules/format-line-comments.md) | Disallows `//` comments longer than N characters and multi-line comments that can be merged together | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/jsdoc-code-block-language`](docs/rules/jsdoc-code-block-language.md) | Requires a language specification for every JSDoc code block | :white_check_mark: | | | | ||
| [`isaacscript/no-confusing-set-methods`](docs/rules/no-confusing-set-methods.md) | Disallows confusing methods for sets | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-empty-jsdoc`](docs/rules/no-empty-jsdoc.md) | Disallows empty JSDoc comments | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-empty-line-comments`](docs/rules/no-empty-line-comments.md) | Disallows empty line comments | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-explicit-array-loops`](docs/rules/no-explicit-array-loops.md) | Disallows explicit iteration for arrays | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| [`isaacscript/no-explicit-map-set-loops`](docs/rules/no-explicit-map-set-loops.md) | Disallows explicit iteration for maps and sets | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| [`isaacscript/no-for-in`](docs/rules/no-for-in.md) | Disallows "for x in y" statements | :white_check_mark: | | | | ||
| [`isaacscript/no-invalid-default-map`](docs/rules/no-invalid-default-map.md) | Disallows invalid constructors for the DefaultMap class | | | :thought_balloon: | | ||
| [`isaacscript/no-let-any`](docs/rules/no-let-any.md) | Disallows declaring variables with let that do not have a type | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-number-enums`](docs/rules/no-number-enums.md) | Disallows number enums | :white_check_mark: | | | | ||
| [`isaacscript/no-object-any`](docs/rules/no-object-any.md) | Disallows declaring objects and arrays that do not have a type | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-object-methods-with-map-set`](docs/rules/no-object-methods-with-map-set.md) | Disallows using object methods with maps and sets | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-template-curly-in-string-fix`](docs/rules/no-template-curly-in-string-fix.md) | Disallows template literal placeholder syntax in regular strings (and automatically fixes) | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-throw`](docs/rules/no-throw.md) | Disallows the usage of "throw" | | | :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/prefer-plusplus`](docs/rules/prefer-plusplus.md) | Require "++" or "--" operators instead of assignment operators where applicable | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/prefer-postfix-plusplus`](docs/rules/prefer-postfix-plusplus.md) | Require "i++" instead of "++i" | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/require-capital-const-assertions`](docs/rules/require-capital-const-assertions.md) | Requires a capital letter for named objects and arrays that have a const assertion | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/require-capital-read-only`](docs/rules/require-capital-read-only.md) | Requires maps/sets/arrays with a capital letter to be read-only | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/require-v-registration`](docs/rules/require-v-registration.md) | Require variables named "v" to be registered with the save data manager | | | :thought_balloon: | | ||
| [`isaacscript/require-variadic-function-argument`](docs/rules/require-variadic-function-argument.md) | Requires that variadic functions must be supplied with at least one argument | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/strict-enums`](docs/rules/strict-enums.md) | Disallows the usage of unsafe enum patterns | :white_check_mark: | | :thought_balloon: | | ||
| Name | Description | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------ | -------- | ----------------- | | ||
| [`isaacscript/complete-sentences-jsdoc`](docs/rules/complete-sentences-jsdoc.md) | Enforces complete sentences for JSDoc comments | :white_check_mark: | | | | ||
| [`isaacscript/complete-sentences-line-comments`](docs/rules/complete-sentences-line-comments.md) | Enforces complete sentences for multi-line leading line comments | :white_check_mark: | | | | ||
| [`isaacscript/consistent-enum-values`](docs/rules/consistent-enum-values.md) | Enforces consistent enum values | :white_check_mark: | | | | ||
| [`isaacscript/enum-member-number-separation`](docs/rules/enum-member-number-separation.md) | Disallows numbers next to letters in enum members | | | | | ||
| [`isaacscript/eqeqeq-fix`](docs/rules/eqeqeq-fix.md) | Requires the use of `===` and `!==` (and automatically fixes) | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/format-jsdoc-comments`](docs/rules/format-jsdoc-comments.md) | Disallows `/**` comments longer than N characters and multi-line comments that can be merged together | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/format-line-comments`](docs/rules/format-line-comments.md) | Disallows `//` comments longer than N characters and multi-line comments that can be merged together | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/jsdoc-code-block-language`](docs/rules/jsdoc-code-block-language.md) | Requires a language specification for every JSDoc code block | :white_check_mark: | | | | ||
| [`isaacscript/no-confusing-set-methods`](docs/rules/no-confusing-set-methods.md) | Disallows confusing methods for sets | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-empty-jsdoc`](docs/rules/no-empty-jsdoc.md) | Disallows empty JSDoc comments | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-empty-line-comments`](docs/rules/no-empty-line-comments.md) | Disallows empty line comments | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-explicit-array-loops`](docs/rules/no-explicit-array-loops.md) | Disallows explicit iteration for arrays | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| [`isaacscript/no-explicit-map-set-loops`](docs/rules/no-explicit-map-set-loops.md) | Disallows explicit iteration for maps and sets | :white_check_mark: | :wrench: | :thought_balloon: | | ||
| [`isaacscript/no-for-in`](docs/rules/no-for-in.md) | Disallows "for x in y" statements | :white_check_mark: | | | | ||
| [`isaacscript/no-invalid-default-map`](docs/rules/no-invalid-default-map.md) | Disallows invalid constructors for the DefaultMap class | | | :thought_balloon: | | ||
| [`isaacscript/no-let-any`](docs/rules/no-let-any.md) | Disallows declaring variables with let that do not have a type | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-number-enums`](docs/rules/no-number-enums.md) | Disallows number enums | :white_check_mark: | | | | ||
| [`isaacscript/no-object-any`](docs/rules/no-object-any.md) | Disallows declaring objects and arrays that do not have a type | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-object-methods-with-map-set`](docs/rules/no-object-methods-with-map-set.md) | Disallows using object methods with maps and sets | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/no-template-curly-in-string-fix`](docs/rules/no-template-curly-in-string-fix.md) | Disallows template literal placeholder syntax in regular strings (and automatically fixes) | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/no-throw`](docs/rules/no-throw.md) | Disallows the usage of "throw" | | | :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/prefer-plusplus`](docs/rules/prefer-plusplus.md) | Require "++" or "--" operators instead of assignment operators where applicable | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/prefer-postfix-plusplus`](docs/rules/prefer-postfix-plusplus.md) | Require "i++" instead of "++i" | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/require-capital-const-assertions`](docs/rules/require-capital-const-assertions.md) | Requires a capital letter for named objects and arrays that have a const assertion | :white_check_mark: | :wrench: | | | ||
| [`isaacscript/require-capital-read-only`](docs/rules/require-capital-read-only.md) | Requires maps/sets/arrays with a capital letter to be read-only | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/require-unannotated-const-assertions`](docs/rules/require-unannotated-const-assertions.md) | Disallows explicit type annotations for variables that have a const assertion | :white_check_mark: | | | | ||
| [`isaacscript/require-v-registration`](docs/rules/require-v-registration.md) | Require variables named "v" to be registered with the save data manager | | | :thought_balloon: | | ||
| [`isaacscript/require-variadic-function-argument`](docs/rules/require-variadic-function-argument.md) | Requires that variadic functions must be supplied with at least one argument | :white_check_mark: | | :thought_balloon: | | ||
| [`isaacscript/strict-enums`](docs/rules/strict-enums.md) | Disallows the usage of unsafe enum patterns | :white_check_mark: | | :thought_balloon: | | ||
@@ -74,0 +75,0 @@ <!-- /RULES_TABLE --> |
@@ -38,2 +38,3 @@ "use strict"; | ||
"isaacscript/require-capital-read-only": "error", | ||
"isaacscript/require-unannotated-const-assertions": "error", | ||
"isaacscript/require-variadic-function-argument": "error", | ||
@@ -40,0 +41,0 @@ "isaacscript/strict-enums": "error", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252467
3548
126