mirror of
https://github.com/thangisme/notes.git
synced 2026-07-28 20:23:57 -04:00
Initial commit
This commit is contained in:
+43
@@ -0,0 +1,43 @@
|
||||
# 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
|
||||
**/
|
||||
```
|
||||
Reference in New Issue
Block a user