eslint-config-isaacscript 4.5.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.
Files changed (2) hide show
  1. package/base-eslint.js +9 -1
  2. package/package.json +1 -1
package/base-eslint.js CHANGED
@@ -644,8 +644,16 @@ const SUGGESTIONS = {
644
644
  /**
645
645
  * Partially superseded by `isaacscript/format-jsdoc-comments` and
646
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 "///".
647
649
  */
648
- "spaced-comment": "error",
650
+ "spaced-comment": [
651
+ "error",
652
+ "always",
653
+ {
654
+ markers: ["/"],
655
+ },
656
+ ],
649
657
 
650
658
  /** The `never` option is provided to make the rule stricter. */
651
659
  strict: ["error", "never"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",