1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 10:17:42 -04:00
notes/node_modules/stylelint/lib/rules/comment-no-empty/README.md

44 lines
429 B
Markdown
Raw Normal View History

2017-03-09 13:16:08 -05:00
# 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
**/
```