eslint-config-isaacscript 4.4.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base-eslint.js +13 -2
- package/package.json +1 -1
package/base-eslint.js
CHANGED
|
@@ -641,8 +641,19 @@ const SUGGESTIONS = {
|
|
|
641
641
|
*/
|
|
642
642
|
"sort-vars": "off",
|
|
643
643
|
|
|
644
|
-
/**
|
|
645
|
-
|
|
644
|
+
/**
|
|
645
|
+
* Partially superseded by `isaacscript/format-jsdoc-comments` and
|
|
646
|
+
* `isaacscript/format-line-comments`, but those rules do not handle trailing line comments.
|
|
647
|
+
*
|
|
648
|
+
* The `markers` option is provided to make this rule ignore lines that start with "///".
|
|
649
|
+
*/
|
|
650
|
+
"spaced-comment": [
|
|
651
|
+
"error",
|
|
652
|
+
"always",
|
|
653
|
+
{
|
|
654
|
+
markers: ["/"],
|
|
655
|
+
},
|
|
656
|
+
],
|
|
646
657
|
|
|
647
658
|
/** The `never` option is provided to make the rule stricter. */
|
|
648
659
|
strict: ["error", "never"],
|