mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-08 13:01:22 -06:00
44 lines
429 B
Markdown
44 lines
429 B
Markdown
# comment-no-empty
|
|
|
|
Disallow empty comments.
|
|
|
|
```css
|
|
/* */
|
|
/** ↑
|
|
* Comments like this */
|
|
```
|
|
|
|
**Caveat:** Comments within *selector and value lists* are currently ignored.
|
|
|
|
## Options
|
|
|
|
### `true`
|
|
|
|
The following patterns are considered warnings:
|
|
|
|
```css
|
|
/**/
|
|
```
|
|
|
|
```css
|
|
/* */
|
|
```
|
|
|
|
```css
|
|
/*
|
|
|
|
*/
|
|
```
|
|
|
|
The following patterns are *not* considered warnings:
|
|
|
|
```css
|
|
/* comment */
|
|
```
|
|
|
|
```css
|
|
/*
|
|
* Multi-line Comment
|
|
**/
|
|
```
|