.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / function-max-empty-lines / README.md
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/function-max-empty-lines/README.md b/.config/coc/extensions/node_modules/coc-prettier/node_modules/stylelint/lib/rules/function-max-empty-lines/README.md
new file mode 100644 (file)
index 0000000..a2f675d
--- /dev/null
@@ -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 violations:
+
+```css
+a {
+  transform:
+    translate(
+
+      1,
+      1
+    );
+}
+```
+
+```css
+a {
+  transform:
+    translate(
+      1,
+
+      1
+    );
+}
+```
+
+```css
+a {
+  transform:
+    translate(
+      1,
+      1
+
+    );
+}
+```
+
+The following patterns are *not* considered violations:
+
+```css
+a {
+  transform: 
+    translate(
+      1, 
+      1
+    );
+}
+```