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
This makes two changes to the `spaced-comment` rule[1] in our global eslint config:
- It allows comments to start with `///` in addition to `//`, in order to allow the use of triple-slash directives[2].
- In comments which start and end with `/*` and `*/`, respectively, the basic form of the rule enforces there being a space after the opening token. With this change, it also enforces there being a space before the closing token. The one exception is jsdoc-style block comments, which are allowed to start and end with an extra asterisk.
[1] https://eslint.org/docs/rules/spaced-comment
[2] https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html
0 commit comments