You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spaced-comment rule doesn't warn by default when there isn't a space before */. ESLint 3.x introduced an option, "balanced", which enables warning when it's missing. When we move to a newer ESLint version, we'll want to update the configuration to look like:
In #4, I updated the config to check both ends of block comments. Using multiline-comment-style will require some further investigation, since it forces multiline comments to be starred blocks, instead of just checking that starred blocks are formatted correctly.
The spaced-comment rule doesn't warn by default when there isn't a space before
*/
. ESLint 3.x introduced an option,"balanced"
, which enables warning when it's missing. When we move to a newer ESLint version, we'll want to update the configuration to look like:Additionally,
spaced-comment
doesn't warn on lines in multiline comments that are missing a*
or a space after a*
. For example:There is work being done on a
multiline-comment-style
option upstream to improve this.The text was updated successfully, but these errors were encountered: