diff --git a/docs/rules/spaced-comment.md b/docs/rules/spaced-comment.md index 1b4bf5a050a..098457974b5 100644 --- a/docs/rules/spaced-comment.md +++ b/docs/rules/spaced-comment.md @@ -26,7 +26,7 @@ The rule takes two options. * The `"exceptions"` value is an array of string patterns which are considered exceptions to the rule. Please note that exceptions are ignored if the first argument is `"never"`. - ```json + ``` "spaced-comment": ["error", "always", { "exceptions": ["-", "+"] }] ``` @@ -34,7 +34,7 @@ The rule takes two options. such as an additional `/`, used to denote documentation read by doxygen, vsdoc, etc. which must have additional characters. The `"markers"` array will apply regardless of the value of the first argument, e.g. `"always"` or `"never"`. - ```json + ``` "spaced-comment": ["error", "always", { "markers": ["/"] }] ```