mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 10:17:42 -04: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
|
|
**/
|
|
```
|