UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

76 lines (58 loc) 840 B
# block-no-empty Disallow empty blocks. <!-- prettier-ignore --> ```css a { } /** ↑ * Blocks like this */ ``` ## Options ### `true` The following patterns are considered violations: <!-- prettier-ignore --> ```css a {} ``` <!-- prettier-ignore --> ```css a { } ``` <!-- prettier-ignore --> ```css @media print { a {} } ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css a { /* foo */ } ``` <!-- prettier-ignore --> ```css @media print { a { color: pink; } } ``` ## Optional secondary options ### `ignore: ["comments"]` Exclude comments from being treated as content inside of a block. The following patterns are considered violations: <!-- prettier-ignore --> ```css a { /* foo */ } ``` <!-- prettier-ignore --> ```css @media print { a { /* foo */ } } ```