mirror of
https://github.com/thangisme/notes.git
synced 2026-06-14 22:50:13 -04:00
Initial commit
This commit is contained in:
71
node_modules/stylelint/lib/rules/function-max-empty-lines/README.md
generated
vendored
Normal file
71
node_modules/stylelint/lib/rules/function-max-empty-lines/README.md
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
# function-max-empty-lines
|
||||
|
||||
Limit the number of adjacent empty lines within functions.
|
||||
|
||||
```css
|
||||
a {
|
||||
transform:
|
||||
translate(
|
||||
/* ← */
|
||||
1, /* ↑ */
|
||||
/* ← */
|
||||
1 /* ↑ */
|
||||
/* ← */
|
||||
); /* ↑ */
|
||||
} /* ↑ */
|
||||
/** ↑
|
||||
* These lines */
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
`int`: Maximum number of characters allowed.
|
||||
|
||||
For example, with `0`:
|
||||
|
||||
The following patterns are considered warnings:
|
||||
|
||||
```css
|
||||
a {
|
||||
transform:
|
||||
translate(
|
||||
|
||||
1,
|
||||
1
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
```css
|
||||
a {
|
||||
transform:
|
||||
translate(
|
||||
1,
|
||||
|
||||
1
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
```css
|
||||
a {
|
||||
transform:
|
||||
translate(
|
||||
1,
|
||||
1
|
||||
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
The following patterns are *not* considered warnings:
|
||||
|
||||
```css
|
||||
a {
|
||||
transform:
|
||||
translate(
|
||||
1,
|
||||
1
|
||||
);
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user