This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
98 lines (98 loc) · 151 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!doctype html><html lang="en"><head><title data-react-helmet="true">stylelint</title><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta data-react-helmet="true" name="generator" content="Phenomic 0.21.3"/><meta data-react-helmet="true" property="og:site_name" content="stylelint-io"/><meta data-react-helmet="true" name="twitter:site" content="@stylelint"/><meta data-react-helmet="true" name="viewport" content="width=device-width, initial-scale=1"/><meta data-react-helmet="true" property="og:type" content="article"/><meta data-react-helmet="true" property="og:title" content="stylelint"/><meta data-react-helmet="true" property="og:url" content="https://stylelint.io/"/><meta data-react-helmet="true" property="og:description" content="stylelint NPM version Build Status Build status NPM Downloads Backers on Open Collective Sponsors on Open Collective A mighty, modern…"/><meta data-react-helmet="true" name="twitter:card" content="summary"/><meta data-react-helmet="true" name="twitter:title" content="stylelint"/><meta data-react-helmet="true" name="twitter:creator" content="@stylelint"/><meta data-react-helmet="true" name="twitter:description" content="stylelint NPM version Build Status Build status NPM Downloads Backers on Open Collective Sponsors on Open Collective A mighty, modern…"/><meta data-react-helmet="true" name="description" content="stylelint NPM version Build Status Build status NPM Downloads Backers on Open Collective Sponsors on Open Collective A mighty, modern…"/><link data-react-helmet="true" rel="shortcut icon" type="image/png" href="/_/src/components/DefaultHeadMeta/favicon.7f672624abe02127db4972965ea73002.ico"/><link data-react-helmet="true" rel="icon" type="image/png" href="/_/src/components/DefaultHeadMeta/favicon-192x192.711ef6b100db000f3c527ae7d3d6da12.png" sizes="192x192"/><link data-react-helmet="true" rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css"/><link rel="stylesheet" href="/phenomic.browser.da68f8824aaae495e457.css"/><script data-react-helmet="true" src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6&flags=gated"></script></head><body><div id="phenomic"><div data-reactroot="" data-reactid="1" data-react-checksum="1725162744"><div class="_2Mf6m" data-reactid="2"><div hidden="" data-reactid="3"><!-- react-empty: 4 --><!-- react-empty: 5 --><style data-reactid="6">@-ms-viewport { width: device-width; }</style></div><header class="_2gGRo" role="banner" data-reactid="7"><p class="_2TFzf" data-reactid="8"><a class="ENT8c" href="/" data-reactid="9"><span class="SVGInline" data-reactid="10"><svg class="SVGInline-svg" width="114" height="29" viewBox="0 0 114 29" xmlns="http://www.w3.org/2000/svg"><g fill="#FFF" fill-rule="evenodd"><path d="M14.767 27.573c3.11-11.19 3.02-11.24 5.267-19.217l.54.314c.294.17.534.03.534-.31V4.557c.596-2.102 1.064-3.726 1.2-4.215h2.435l4.045 3.772-2.656 2.31 2.01 2.186L14.9 27.573c-.065.107-.155.083-.135 0z"/><path d="M16.214 3.457c.12 0 .217.066.217.15v1.95c0 .08-.09.148-.21.148h-3.27c-.12 0-.22-.067-.22-.15v-1.95c0-.082.1-.148.22-.148h3.27zm4.036-2.16l-3.598 2.09c.042.065.067.14.067.22v1.95c0 .1-.04.19-.11.265l3.63 2.11c.24.145.45.027.45-.26V1.56c0-.288-.21-.406-.45-.262zm-7.813 4.26v-1.95c0-.08.025-.155.066-.22l-3.598-2.09c-.247-.143-.45-.025-.45.262v6.11c0 .29.202.4.45.26l3.635-2.11c-.065-.08-.104-.17-.104-.27z"/><path d="M14.246 27.573h.134c-3.11-11.19-3.02-11.24-5.266-19.217l-.54.314c-.294.17-.535.03-.535-.31V4.557C7.44 2.454 6.97.83 6.83.34H4.4L.36 4.113l2.655 2.31-2.01 2.186 13.24 18.96z"/><ellipse cx="14.475" cy="8.787" rx=".982" ry=".988"/><ellipse cx="14.475" cy="14.664" rx=".982" ry=".988"/><ellipse cx="14.475" cy="20.541" rx=".982" ry=".988"/><path d="M32.043 21.28c-.684-.24-1.172-.525-1.463-.854-.294-.334-.44-.695-.44-1.09 0-.393.11-.727.33-.988.218-.26.508-.394.867-.394.36 0 .68.107.956.32.276.215.415.515.415.91 0 .394-.24.714-.72.975.397.34 1.002.51 1.817.51 1.764 0 2.645-.5 2.645-1.51 0-.63-.558-1.13-1.675-1.51-.46-.16-.922-.33-1.385-.5-.464-.18-.87-.44-1.214-.78s-.532-.77-.563-1.26c0-.72.235-1.31.704-1.81.882-.95 2.212-1.41 3.975-1.41.862 0 1.63.16 2.298.49.668.33 1.002.75 1.002 1.28 0 .52-.134.89-.4 1.12-.268.23-.582.34-.936.34-.354 0-.655-.09-.902-.29-.247-.2-.367-.46-.367-.81 0-.35.2-.64.608-.9-.254-.18-.688-.27-1.303-.27-.614 0-1.17.09-1.663.27-.5.18-.75.43-.75.74s.18.57.54.78c.36.21.79.4 1.3.58.51.18 1.02.38 1.53.61.51.23.95.56 1.31.99.36.43.54.96.54 1.59 0 .63-.26 1.19-.77 1.71-.97.97-2.3 1.45-3.98 1.45-.89 0-1.68-.12-2.36-.36l.02.03zm10.95-9.005c1.077-3.34 2.172-6.14 3.29-8.395l1.94.157c-.114.334-.396 1.142-.845 2.412-.97 2.81-1.597 4.75-1.88 5.82h2.46l-.248 1.03h-2.54c-.954 2.96-1.435 4.77-1.435 5.41 0 .64.067.96.2.96.134 0 .248-.03.355-.08.28-.16.888-.92 1.817-2.29l.64.58c-.694 1.27-1.415 2.21-2.157 2.82-.74.61-1.35.92-1.83.92s-.842-.17-1.09-.5c-.246-.34-.366-.77-.366-1.29 0-1.33.467-3.51 1.396-6.54h-1.644l.254-1.04h1.71l-.025-.02zm5.638 3.695l-1.01-.61c.52-.91 1.17-1.707 1.95-2.396.78-.688 1.48-1.03 2.09-1.03 1 0 1.51.448 1.51 1.35 0 .38-.26 1.29-.77 2.747-.51 1.46-.77 2.38-.77 2.76 0 .39.03.64.08.75.06.12.17.17.35.17.95 0 1.93-.35 2.94-1.07 1.01-.71 1.67-1.5 1.97-2.37l1.1-3.19c.11-.32.3-.58.54-.77.24-.18.47-.28.7-.28.224 0 .404.08.544.22.14.15.214.34.214.58 0 .24-.05.5-.14.76l-1.19 3.47c-.657 2.05-1.67 4.07-3.05 6.05 1.2.13 2.27.34 3.21.65l-.13.87c-1.44-.29-2.71-.46-3.82-.51-1.01 1.31-2.05 2.35-3.11 3.13-1.06.78-1.986 1.17-2.77 1.17-.79 0-1.38-.16-1.77-.48-.4-.32-.59-.75-.59-1.3s.21-1.05.63-1.51c.41-.45.97-.82 1.673-1.1 1.42-.59 3.05-.92 4.89-1 .143-.16.5-.75 1.05-1.76.543-1 .85-1.64.89-1.9-1.85 1.57-3.476 2.35-4.885 2.35-.56 0-.99-.19-1.25-.59-.26-.39-.39-.87-.39-1.45 0-.57.22-1.55.657-2.95.44-1.39.66-2.18.66-2.38 0-.19-.05-.28-.134-.28-.087 0-.19.02-.29.07-.104.046-.207.12-.304.22l-.276.28s-.175.21-.275.37l-.23.36c-.22.347-.36.576-.42.69l-.04-.05zm4.53 8.097c-.84.052-1.7.205-2.58.455-1.69.48-2.53 1.044-2.53 1.69 0 .388.24.58.72.58s1.27-.347 2.35-1.042c1.08-.695 1.77-1.254 2.05-1.684h.01zM66.23.56h2.536c-.448.773-1.136 2.488-2.064 5.145-.93 2.657-1.777 5.33-2.545 8.02-.77 2.686-1.15 4.33-1.15 4.932 0 .6.074.903.22.903.442 0 1.123-.66 2.052-1.984l.66.628c-.46.795-.96 1.463-1.49 2.004-.94.963-1.7 1.442-2.29 1.442-1.07 0-1.6-.64-1.6-1.924 0-1.91.63-4.918 1.9-9.034C63.74 6.576 65 3.208 66.24.575l-.01-.013zm3.412 17.744c.063 1.2.872 1.8 2.428 1.8.574 0 1.172-.163 1.793-.492.62-.33 1.125-.718 1.512-1.167l.673.438c-.866 1.452-2.25 2.34-4.147 2.663-.41.062-.82.093-1.2.093-1.13 0-2.06-.38-2.82-1.12-.75-.75-1.12-1.66-1.12-2.74s.33-2.07.99-2.99c.66-.92 1.48-1.63 2.47-2.13.99-.5 1.96-.76 2.92-.76s1.8.22 2.5.65c.71.43 1.07 1.03 1.08 1.77.02.74-.2 1.37-.64 1.92-.44.53-1.01.95-1.7 1.23-1.36.55-2.7.82-4.02.82l-.67-.03-.01.01zm-.093-.862c1.15-.04 2.08-.227 2.79-.555.7-.327 1.19-.705 1.47-1.127.27-.423.41-.866.41-1.33 0-.465-.12-.81-.36-1.035-.24-.225-.5-.336-.77-.336-.67 0-1.29.23-1.85.69-.56.46-.99 1.03-1.28 1.69-.3.66-.44 1.33-.44 2h.01zM83.64.562h2.536c-.45.77-1.138 2.485-2.066 5.142-.93 2.658-1.777 5.33-2.546 8.02-.768 2.687-1.15 4.332-1.15 4.932 0 .6.072.902.218.902.438 0 1.122-.663 2.05-1.99l.658.627c-.46.794-.955 1.462-1.49 2.005-.942.96-1.703 1.44-2.284 1.44-1.07 0-1.597-.642-1.597-1.927 0-1.91.62-4.922 1.89-9.036S82.39 3.19 83.63.56h.007zm3.326 21.078c-.444 0-.792-.136-1.042-.408-.252-.27-.376-.644-.376-1.12 0-.474.123-1.122.367-1.94.245-.82.49-1.564.737-2.233.246-.67.368-1.12.368-1.34 0-.23-.072-.34-.22-.34-.365 0-.954.72-1.768 2.16l-1.05-.61c1.536-2.59 2.945-3.89 4.23-3.89.875 0 1.315.55 1.315 1.66 0 .32-.105.84-.314 1.55l-1.127 3.22c-.116.3-.174.57-.174.82s.095.36.283.36c.354 0 1.008-.66 1.958-1.97l.656.61c-.57 1.04-1.24 1.88-2.02 2.5-.78.63-1.39.94-1.83.94zM91.42 7.302c0 .423-.14.807-.423 1.15-.282.347-.66.523-1.142.523-.48 0-.835-.14-1.076-.428-.24-.287-.37-.648-.37-1.09 0-.44.15-.82.45-1.162.29-.34.68-.508 1.15-.508.46 0 .82.154 1.05.448.23.294.35.662.35 1.082l-.01-.014zm4.59 9.686c2.18-3.372 4.136-5.058 5.87-5.058.585 0 1.022.178 1.316.533.292.355.438.808.438 1.35 0 .54-.243 1.483-.728 2.82-.487 1.336-.728 2.164-.728 2.486 0 .32.077.48.235.48.208 0 .515-.22.924-.65.407-.44.768-.89 1.082-1.37l.66.63c-.63 1.14-1.31 1.99-2.06 2.58-.75.58-1.35.86-1.82.86s-.82-.16-1.09-.46c-.26-.31-.39-.73-.39-1.26s.21-1.4.63-2.61c.42-1.21.63-2.06.63-2.57 0-.51-.17-.77-.52-.77-.4 0-.86.25-1.41.76-.55.51-1.07 1.13-1.58 1.86-.82 1.17-1.65 2.52-2.49 4.04l-.42.75h-2.2l.48-1.48c.91-2.72 1.36-4.33 1.36-4.83 0-.51-.08-.76-.25-.76-.3 0-.66.36-1.08 1.08-.09.17-.17.3-.23.4-.06.1-.14.22-.21.36-.08.14-.13.23-.15.26l-1.05-.61c.81-1.33 1.56-2.3 2.24-2.94.67-.63 1.37-.94 2.08-.94.32 0 .6.13.83.4s.354.59.354.98-.037.76-.097 1.13-.12.68-.2.92l-.26.95c-.11.383-.17.602-.18.653l-.03-.03zm12.023-4.713c1.075-3.34 2.172-6.14 3.287-8.395l1.942.157c-.116.334-.397 1.142-.846 2.412-.97 2.81-1.597 4.75-1.88 5.82h2.46l-.248 1.03h-2.532c-.962 2.96-1.435 4.77-1.435 5.41 0 .64.07.96.2.96.14 0 .25-.03.36-.08.28-.16.89-.92 1.82-2.29l.64.58c-.7 1.27-1.41 2.21-2.16 2.82-.74.61-1.35.92-1.83.92s-.84-.17-1.09-.5c-.24-.34-.36-.77-.36-1.29 0-1.33.47-3.51 1.4-6.54h-1.64l.26-1.04h1.71l-.03-.02z"/></g></svg></span></a><a class="_1BJHE" href="#navigation" data-reactid="11"><span class="SVGInline _2OjD7" data-reactid="12"><svg class="SVGInline-svg _2OjD7-svg" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M0 0h12v2H0zm0 5h12v2H0zm0 5h12v2H0z"/></svg></span></a></p></header><div class="_116Tm" data-reactid="13"><div class="sFWsg" data-reactid="14"><!-- react-empty: 15 --><div class="_30RKo" data-reactid="16"><div class="phenomic-BodyContainer" data-reactid="17"><h1 id="stylelint"><a href="#stylelint" class="phenomic-HeadingAnchor">#</a>stylelint</h1>
<p><a href="https://www.npmjs.org/package/stylelint"><img src="https://img.shields.io/npm/v/stylelint.svg" alt="NPM version"></a> <a href="https://travis-ci.org/stylelint/stylelint"><img src="https://travis-ci.org/stylelint/stylelint.svg?branch=master" alt="Build Status"></a> <a href="https://ci.appveyor.com/project/stylelint/stylelint/branch/master"><img src="https://ci.appveyor.com/api/projects/status/o60hlhki49t2333i/branch/master?svg=true" alt="Build status"></a> <a href="https://npmcharts.com/compare/stylelint?minimal=true"><img src="https://img.shields.io/npm/dm/stylelint.svg" alt="NPM Downloads"></a> <a href="#backers"><img src="https://opencollective.com/stylelint/backers/badge.svg" alt="Backers on Open Collective"></a> <a href="#sponsors"><img src="https://opencollective.com/stylelint/sponsors/badge.svg" alt="Sponsors on Open Collective"></a></p>
<p>A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.</p>
<h2 id="features"><a href="#features" class="phenomic-HeadingAnchor">#</a>Features</h2>
<p>It's mighty because it:</p>
<ul>
<li>understands the <strong>latest CSS syntax</strong> including custom properties and level 4 selectors</li>
<li>extracts <strong>embedded styles</strong> from HTML, markdown and CSS-in-JS object & template literals</li>
<li>parses <strong>CSS-like syntaxes</strong> like SCSS, Sass, Less and SugarSS</li>
<li>has over <strong>170 built-in rules</strong> to catch errors, apply limits and enforce stylistic conventions</li>
<li>supports <strong>plugins</strong> so you can create your own rules or make use of plugins written by the community</li>
<li>automatically <strong>fixes</strong> some violations (<em>experimental feature</em>)</li>
<li>is <strong>well tested</strong> with over 10000 unit tests</li>
<li>supports <strong>shareable configs</strong> that you can extend or create your own of</li>
<li>is <strong>unopinionated</strong> so you can tailor the linter to your exact needs</li>
<li>has a <strong>growing community</strong> and is used by <a href="https://code.facebook.com/posts/879890885467584/improving-css-quality-at-facebook-and-beyond/">Facebook</a>, <a href="https://github.com/primer/stylelint-config-primer">GitHub</a> and <a href="https://github.com/ntwb/stylelint-config-wordpress/">WordPress</a></li>
</ul>
<h2 id="example-output"><a href="#example-output" class="phenomic-HeadingAnchor">#</a>Example output</h2>
<p><img src="https://github.com/stylelint/stylelint/raw/master/example.png?raw=true" alt="Example"></p>
<h2 id="getting-started"><a href="#getting-started" class="phenomic-HeadingAnchor">#</a>Getting started</h2>
<p>It's easy to get started.</p>
<p>First, decide how you want to use stylelint:</p>
<ul>
<li><a href="../user-guide/cli/">on the command line</a></li>
<li><a href="../user-guide/complementary-tools/#editor-plugins">in your text editor</a>, for example in VS Code</li>
<li><a href="../user-guide/complementary-tools/#build-tool-plugins">in for your build tool</a>, for example in webpack</li>
<li><a href="../user-guide/node-api/">via the Node.js API</a></li>
<li><a href="../user-guide/postcss-plugin/">as a PostCSS plugin</a></li>
</ul>
<p>Then create your <a href="../user-guide/configuration/">configuration object</a>. You can either extend a shared configuration or craft your own.</p>
<h3 id="extend-a-shared-configuration"><a href="#extend-a-shared-configuration" class="phenomic-HeadingAnchor">#</a>Extend a shared configuration</h3>
<p>This is the quickest way to get started. We suggest you extend either:</p>
<ul>
<li><a href="https://github.com/stylelint/stylelint-config-recommended"><code>stylelint-config-recommended</code></a></li>
<li><a href="https://github.com/stylelint/stylelint-config-standard"><code>stylelint-config-standard</code></a></li>
</ul>
<p>The recommended config turns on just the <a href="../user-guide/rules/#possible-errors">possible error</a> rules. The standard config extends it by turning on 60 <a href="../user-guide/rules/#stylistic-issues">stylistic rules</a>. We suggest you extend the:</p>
<ul>
<li>recommended config if you use a pretty printer like <a href="https://prettier.io/">prettier</a></li>
<li>standard config if you want stylelint to enforce stylistic conventions</li>
</ul>
<p>You may want to add rules to your config that <a href="../user-guide/rules/#limit-language-features">limit language features</a> as these will be specific to your team and/or project.</p>
<p><em>If you use language extensions, for example <code>@if</code> and <code>@extends</code>, you can use a community config like <a href="https://github.com/kristerkari/stylelint-config-recommended-scss"><code>stylelint-config-recommended-scss</code></a> instead.</em></p>
<h3 id="craft-your-own-config"><a href="#craft-your-own-config" class="phenomic-HeadingAnchor">#</a>Craft your own config</h3>
<p>Alternatively, you can <a href="../user-guide/about-rules/">learn about the rules</a> and then either:</p>
<ul>
<li>start small and add only <a href="../user-guide/rules/">the rules</a> you want to turn on</li>
<li>copy, paste and adapt <a href="../user-guide/example-config/">this example configuration</a> which lists all of the rules and their primary options</li>
</ul>
<h2 id="guides"><a href="#guides" class="phenomic-HeadingAnchor">#</a>Guides</h2>
<p>You'll find detailed information on customising stylelint in our guides:</p>
<ul>
<li><a href="../user-guide/">user guide</a> - how to use and configure stylelint</li>
<li><a href="../developer-guide/">developer guide</a> - how to develop for stylelint</li>
</ul>
<h2 id="need-help"><a href="#need-help" class="phenomic-HeadingAnchor">#</a>Need help?</h2>
<p>Read our <a href="../user-guide/faq/">FAQ</a> first.</p>
<p>If the answer to your problem isn't there, then post it on <a href="https://stackoverflow.com/questions/tagged/stylelint">stackoverflow</a>.</p>
<p>Create a <a href="https://github.com/stylelint/stylelint/issues/new/choose">new issue</a> if:</p>
<ul>
<li>you think you've found a bug</li>
<li>you have a feature request</li>
</ul>
<p>If you're upgrading, read our <a href="../CHANGELOG/">CHANGELOG</a> to learn what changes to expect in the latest version.</p>
<h2 id="help-out"><a href="#help-out" class="phenomic-HeadingAnchor">#</a>Help out</h2>
<p>To help out, you can:</p>
<ul>
<li>get involved in any open <a href="https://github.com/stylelint/stylelint/issues">issue</a> or <a href="https://github.com/stylelint/stylelint/pulls">pull request</a></li>
<li>create, enhance and debug rules using our <a href="../developer-guide/rules/">working on rules</a> guide</li>
<li>improve the <a href="../">documentation</a></li>
<li>add new tests to <em>absolutely anything</em></li>
<li>improve the <a href="../developer-guide/rules/#improving-the-performance-of-a-rule">performance of rules</a></li>
<li>open <a href="https://github.com/stylelint/stylelint/issues/new/choose">new issues</a> about your ideas for making stylelint better</li>
<li>open <a href="https://github.com/stylelint/stylelint/compare">a pull request</a> to show us how your idea works</li>
<li>create or contribute to <a href="../user-guide/complementary-tools/">ecosystem tools</a>, for example the plugin for <a href="https://github.com/shinnn/vscode-stylelint">VS Code</a></li>
</ul>
<p>Our <a href="../VISION/">VISION document</a> guides our work.</p>
<h2 id="semantic-versioning-policy"><a href="#semantic-versioning-policy" class="phenomic-HeadingAnchor">#</a>Semantic Versioning Policy</h2>
<p>We have a <a href="../user-guide/semantic-versioning-policy/">semantic versioning policy</a>. Any minor update may report more errors than the previous release. As such, we recommend using the tilde (<code>~</code>) in <code>package.json</code> e.g. <code>"stylelint": "~7.2.0"</code> to guarantee the results of your builds.</p>
<h2 id="license"><a href="#license" class="phenomic-HeadingAnchor">#</a>License</h2>
<p><a href="https://raw.githubusercontent.com/stylelint/stylelint/master/LICENSE">The MIT License</a>.</p>
<h2 id="contributors"><a href="#contributors" class="phenomic-HeadingAnchor">#</a>Contributors</h2>
<p>This project exists thanks to all these people. <a href="../CONTRIBUTING/">Contribute</a>.
<a href="https://github.com/stylelint/stylelint/graphs/contributors"><img src="https://opencollective.com/stylelint/contributors.svg?width=890" /></a></p>
<h2 id="backers"><a href="#backers" class="phenomic-HeadingAnchor">#</a>Backers</h2>
<p>Thank you to all our backers! <a href="https://opencollective.com/stylelint#backer">Become a backer</a>.</p>
<p><a href="https://opencollective.com/stylelint#backers" target="_blank"><img src="https://opencollective.com/stylelint/backers.svg?width=890"></a></p>
<h2 id="sponsors"><a href="#sponsors" class="phenomic-HeadingAnchor">#</a>Sponsors</h2>
<p>Support this project by becoming a sponsor. Your logo will show up here with a link to your website. <a href="https://opencollective.com/stylelint#sponsor">Become a sponsor</a>.</p>
<p><a href="https://opencollective.com/stylelint/sponsor/0/website" target="_blank"><img src="https://opencollective.com/stylelint/sponsor/0/avatar.svg"></a></p>
</div></div></div></div><nav class="_2xQmg" id="navigation" role="navigation" data-reactid="18"><ul class="_1q7ve" data-reactid="19"><li class="_1vKwm" data-reactid="20"><a class="_3gLjv" href="/user-guide/" data-reactid="21">User guide</a><ul class="_27H0b _1q7ve" data-reactid="22"><li class="_1VkiU _1vKwm" data-reactid="23"><a class="_2A9CR _3gLjv" href="/user-guide/rules/" data-reactid="24">Rules</a></li><li class="_1VkiU _1vKwm" data-reactid="25"><a class="_2A9CR _3gLjv" href="/user-guide/plugins/" data-reactid="26">Plugins</a></li><li class="_1VkiU _1vKwm" data-reactid="27"><a class="_2A9CR _3gLjv" href="/user-guide/processors/" data-reactid="28">Processors</a></li></ul></li><li class="_1vKwm" data-reactid="29"><a class="_3gLjv" href="/developer-guide/" data-reactid="30">Developer guide</a></li><li class="_1vKwm" data-reactid="31"><a class="_3gLjv" href="/demo/" data-reactid="32">Demo</a></li></ul></nav><div class="_2_Pts" role="search" data-reactid="33"><!-- react-empty: 34 --><style data-reactid="35">
#algolia-docsearch {
background:
url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ADAEA7%22%20d%3D%22M23.832%2019.641l-6.821-6.821c2.834-5.878-1.45-12.82-8.065-12.82-4.932%200-8.946%204.014-8.946%208.947%200%206.508%206.739%2010.798%2012.601%208.166l6.879%206.879c1.957.164%204.52-2.326%204.352-4.351zm-14.886-4.721c-3.293%200-5.973-2.68-5.973-5.973s2.68-5.973%205.973-5.973c3.294%200%205.974%202.68%205.974%205.973s-2.68%205.973-5.974%205.973z%22%2F%3E%3C%2Fsvg%3E%0A)
12px 50% / 14px 14px no-repeat;
padding-left: 2rem !important;
}
</style><input id="algolia-docsearch" placeholder="Search..." data-reactid="36"/></div><footer class="_1Ustb" role="contentinfo" data-reactid="37"><ul class="_3lG2a" data-reactid="38"><li class="_3WkI0" data-reactid="39"><a class="_2Yt5Y" href="https://github.com/stylelint/stylelint" data-reactid="40"><span class="SVGInline _1PL6N" data-reactid="41"><svg class="SVGInline-svg _1PL6N-svg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.6.11.793-.26.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.09-.745.083-.73.083-.73 1.205.085 1.84 1.238 1.84 1.238 1.07 1.834 2.806 1.304 3.49.997.108-.776.42-1.306.763-1.605-2.665-.305-5.467-1.334-5.467-5.93 0-1.312.47-2.382 1.236-3.222-.125-.303-.536-1.524.116-3.176 0 0 1.008-.322 3.3 1.23A11.51 11.51 0 0 1 12 5.803c1.02.005 2.047.138 3.006.404 2.29-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.236 1.91 1.236 3.22 0 4.61-2.807 5.625-5.48 5.922.43.372.824 1.102.824 2.222v3.293c0 .32.192.694.8.576C20.567 21.796 24 17.3 24 12c0-6.627-5.373-12-12-12z"/></svg></span></a></li><li class="_3WkI0" data-reactid="42"><a class="_2Yt5Y" href="https://twitter.com/stylelint" data-reactid="43"><span class="SVGInline _1PL6N" data-reactid="44"><svg class="SVGInline-svg _1PL6N-svg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 4.557a9.83 9.83 0 0 1-2.828.775 4.932 4.932 0 0 0 2.165-2.724 9.864 9.864 0 0 1-3.127 1.195 4.916 4.916 0 0 0-3.594-1.555c-3.18 0-5.515 2.966-4.797 6.045A13.978 13.978 0 0 1 1.67 3.15a4.93 4.93 0 0 0 1.524 6.573 4.903 4.903 0 0 1-2.23-.616c-.053 2.28 1.582 4.415 3.95 4.89a4.935 4.935 0 0 1-2.224.084 4.928 4.928 0 0 0 4.6 3.42A9.9 9.9 0 0 1 0 19.54a13.94 13.94 0 0 0 7.548 2.212c9.142 0 14.307-7.72 13.995-14.646A10.025 10.025 0 0 0 24 4.556z"/></svg></span></a></li></ul></footer></div><script data-reactid="45"></script></div></div><script>window.__COLLECTION__ = [{"description":"Changelog All notable changes to this project are documented in this file. [10.1.0][] Added: selector-max-empty-lines autofix (#3717).…","title":"Changelog","__filename":"changelog.md","__url":"/changelog/","__resourceUrl":"/changelog/index.html","__dataUrl":"/changelog/index.html.cdf745159e0be377bccc195a8c9abb4b.json"},{"description":"Contributing Thank you for wanting to contribute. stylelint needs community contributions to continue to improve. If you like stylelint and…","title":"Contributing","__filename":"contributing.md","__url":"/contributing/","__resourceUrl":"/contributing/index.html","__dataUrl":"/contributing/index.html.09ae98501a7aea55657474909879771b.json"},{"title":"Demo","description":"Try stylelint in your browser","layout":"DemoPage","__filename":"demo/index.md","__url":"/demo/","__resourceUrl":"/demo/index.html","__dataUrl":"/demo/index.html.8dad24def09acb5b2f2ffc100a343641.json"},{"description":"Developer guide Contributor guides Prerequisites: Prerequisites to contributing. Rules: Working on the built-in rules. Ecosystem guides…","title":"Developer guide","__filename":"developer-guide.md","__url":"/developer-guide/","__resourceUrl":"/developer-guide/index.html","__dataUrl":"/developer-guide/index.html.20cb38792e3a6a04850259bbed42e2c8.json"},{"description":"Writing formatters A formatter is a function that accepts an array of these stylelint result objects and outputs a string:…","title":"Writing formatters","__filename":"developer-guide/formatters.md","__url":"/developer-guide/formatters/","__resourceUrl":"/developer-guide/formatters/index.html","__dataUrl":"/developer-guide/formatters/index.html.570b99efbdf6c769ee3e3e93261c8c9f.json"},{"description":"Managing issues You should: use labels and: add one of the status: \\* labels (or the help wanted label when ready-to-go) add zero or one of…","title":"Managing issues","__filename":"developer-guide/issues.md","__url":"/developer-guide/issues/","__resourceUrl":"/developer-guide/issues/index.html","__dataUrl":"/developer-guide/issues/index.html.d02fb221654c4581065744538de0e63c.json"},{"description":"Writing plugins Plugins are rules and sets of rules built by the community. We recommend familiarising yourself and adhering to stylelint's…","title":"Writing plugins","__filename":"developer-guide/plugins.md","__url":"/developer-guide/plugins/","__resourceUrl":"/developer-guide/plugins/index.html","__dataUrl":"/developer-guide/plugins/index.html.8834a36c7c85af4b691fdf000ffa641d.json"},{"description":"Prerequisites to contributing Technical Minimum Node.js v8.7.0+, though we do recommend using the latest 8.x, 10.x, or 11.x Node.js…","title":"Prerequisites to contributing","__filename":"developer-guide/prerequisites.md","__url":"/developer-guide/prerequisites/","__resourceUrl":"/developer-guide/prerequisites/index.html","__dataUrl":"/developer-guide/prerequisites/index.html.e6a4dc673c9ac796d6c07fda18906a7b.json"},{"description":"Writing processors Processors are functions that hook into stylelint's pipeline, modifying code on its way into stylelint and modifying…","title":"Writing processors","__filename":"developer-guide/processors.md","__url":"/developer-guide/processors/","__resourceUrl":"/developer-guide/processors/index.html","__dataUrl":"/developer-guide/processors/index.html.1433ec0bf8a5fd76ddaaf77cfe4f58be.json"},{"description":"Reviewing pull requests Rules of thumb: Use the GitHub review system. Review against the Developer Guide criteria. Assign one or more of…","title":"Reviewing pull requests","__filename":"developer-guide/pull-requests.md","__url":"/developer-guide/pull-requests/","__resourceUrl":"/developer-guide/pull-requests/index.html","__dataUrl":"/developer-guide/pull-requests/index.html.7a98c2aeb42f820f7a20f2b1041bd534.json"},{"description":"Performing releases The primary goals are: Publishing the updated package to npm. Creating a GitHub release with notes. The secondary goals…","title":"Performing releases","__filename":"developer-guide/releases.md","__url":"/developer-guide/releases/","__resourceUrl":"/developer-guide/releases/index.html","__dataUrl":"/developer-guide/releases/index.html.18305e3625cadba1232afa3f431d64e4.json"},{"description":"Rule testers stylelint rules require a lot of tests. So we've built a specialized stylelint rule testing format to speed up the mass…","title":"Rule testers","__filename":"developer-guide/rule-testers.md","__url":"/developer-guide/rule-testers/","__resourceUrl":"/developer-guide/rule-testers/index.html","__dataUrl":"/developer-guide/rule-testers/index.html.31170a3b3e7846a24cd9366ce1770f4f.json"},{"description":"Working on rules Please help us create, enhance, and debug stylelint rules! Creating a new rule First, open an issue with your idea for the…","title":"Working on rules","__filename":"developer-guide/rules.md","__url":"/developer-guide/rules/","__resourceUrl":"/developer-guide/rules/index.html","__dataUrl":"/developer-guide/rules/index.html.da5f239cb1195eb76008a99f818110b1.json"},{"description":"stylelint NPM version Build Status Build status NPM Downloads Backers on Open Collective Sponsors on Open Collective A mighty, modern…","title":"stylelint","__filename":"index.md","__url":"/","__resourceUrl":"/index.html","__dataUrl":"/index.html.7e37703522e86f7849366a05d022886c.json"},{"description":"User guide Introduction FAQ: Frequently asked questions about using and configuring stylelint. About rules: An explanation of rule names…","title":"User guide","__filename":"user-guide.md","__url":"/user-guide/","__resourceUrl":"/user-guide/index.html","__dataUrl":"/user-guide/index.html.63945e8ba710e8cce2058771b12e2576.json"},{"description":"About rules We have taken great care to consistently name rules. The rules have been designed to work together to enforce strict…","title":"About rules","__filename":"user-guide/about-rules.md","__url":"/user-guide/about-rules/","__resourceUrl":"/user-guide/about-rules/index.html","__dataUrl":"/user-guide/about-rules/index.html.6c73eb911c65610423aab5c722136cc8.json"},{"description":"Articles A collection of articles and tutorials about stylelint. Lint your CSS with stylelint: Written by one of stylelint's co-creators,…","title":"Articles","__filename":"user-guide/articles.md","__url":"/user-guide/articles/","__resourceUrl":"/user-guide/articles/index.html","__dataUrl":"/user-guide/articles/index.html.e30c68c9169d46a7cf5fc12d6070dac6.json"},{"description":"The stylelint CLI Installation stylelint is an npm package. Install it using: Usage stylelint --help prints the CLI documentation. The CLI…","title":"The stylelint CLI","__filename":"user-guide/cli.md","__url":"/user-guide/cli/","__resourceUrl":"/user-guide/cli/index.html","__dataUrl":"/user-guide/cli/index.html.c2fbaeca69d5c8b0e86da334eeb129c9.json"},{"description":"Complementary tools A list of complementary tools built and maintained by the community. Analysis platform engines codacy-stylelint: Codacy…","title":"Complementary tools","__filename":"user-guide/complementary-tools.md","__url":"/user-guide/complementary-tools/","__resourceUrl":"/user-guide/complementary-tools/index.html","__dataUrl":"/user-guide/complementary-tools/index.html.ff94cf50d953f25ca8adc61627ed8772.json"},{"description":"Configuration The linter expects a configuration object. You can either craft your own config or extend an existing one. Loading the…","title":"Configuration","__filename":"user-guide/configuration.md","__url":"/user-guide/configuration/","__resourceUrl":"/user-guide/configuration/index.html","__dataUrl":"/user-guide/configuration/index.html.4e5020680b828ad4cee1b9bda4e179f4.json"},{"description":"CSS processors The linter supports current and future CSS syntax. This includes all standard CSS but also special features that use…","title":"CSS processors","__filename":"user-guide/css-processors.md","__url":"/user-guide/css-processors/","__resourceUrl":"/user-guide/css-processors/index.html","__dataUrl":"/user-guide/css-processors/index.html.ce6a047edcd3c0d34bd08d46dfc028cf.json"},{"description":"Example config This example config lists all of the rules and their primary options. You can remove (or turn off) the rules you don't want…","title":"Example config","__filename":"user-guide/example-config.md","__url":"/user-guide/example-config/","__resourceUrl":"/user-guide/example-config/index.html","__dataUrl":"/user-guide/example-config/index.html.b7f5fe0c4f05168dbcaef7aa5ab8bfe1.json"},{"description":"FAQ How do I turn off, disable or ignore a rule? You can turn off a rule by setting its config value to null. For example, to use…","title":"FAQ","__filename":"user-guide/faq.md","__url":"/user-guide/faq/","__resourceUrl":"/user-guide/faq/index.html","__dataUrl":"/user-guide/faq/index.html.76ea6e54d4e8b30744da27702ffb0aaa.json"},{"description":"The stylelint Node.js API The stylelint module includes a lint() function that provides the Node.js API. Installation stylelint is an npm…","title":"The stylelint Node.js API","__filename":"user-guide/node-api.md","__url":"/user-guide/node-api/","__resourceUrl":"/user-guide/node-api/index.html","__dataUrl":"/user-guide/node-api/index.html.4c10b687f66275ab97de6db5e508920c.json"},{"description":"Plugins Plugins are rules and sets of rules built by the community that support methodologies, toolsets, non-standard CSS features, or very…","title":"Plugins","__filename":"user-guide/plugins.md","__url":"/user-guide/plugins/","__resourceUrl":"/user-guide/plugins/index.html","__dataUrl":"/user-guide/plugins/index.html.287513c0aa3f4e8f2792f4eb46ae596c.json"},{"description":"The stylelint PostCSS plugin As with any other PostCSS plugin, you can use stylelint's PostCSS plugin either with a PostCSS runner or with…","title":"The stylelint PostCSS plugin","__filename":"user-guide/postcss-plugin.md","__url":"/user-guide/postcss-plugin/","__resourceUrl":"/user-guide/postcss-plugin/index.html","__dataUrl":"/user-guide/postcss-plugin/index.html.5dd2e830760af695ad299da2c2e956bf.json"},{"description":"Processors Processors are community packages that enable stylelint to extract styles from within non-stylesheet files. These processors can…","title":"Processors","__filename":"user-guide/processors.md","__url":"/user-guide/processors/","__resourceUrl":"/user-guide/processors/index.html","__dataUrl":"/user-guide/processors/index.html.74ba2fc89afa9e199f89e1bd2c92a618.json"},{"description":"Rules Rules determine what the linter looks for and complains about. All the rules are turned off by default and none have default values…","title":"Rules","__filename":"user-guide/rules.md","__url":"/user-guide/rules/","__resourceUrl":"/user-guide/rules/index.html","__dataUrl":"/user-guide/rules/index.html.2243ee88e37a2e5c3179c956953b9c4f.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-no-vendor-prefix/","prev":"/user-guide/rules/custom-media-pattern/","description":"at-rule-blacklist Specify a blacklist of disallowed at-rules. Options array|string: \\[\"array\", \"of\", \"unprefixed\", \"at-rules\"]|\"at-rule\"…","title":"at-rule-blacklist","__filename":"user-guide/rules/at-rule-blacklist.md","__url":"/user-guide/rules/at-rule-blacklist/","__resourceUrl":"/user-guide/rules/at-rule-blacklist/index.html","__dataUrl":"/user-guide/rules/at-rule-blacklist/index.html.4e7b636b8ad8e626840ce8975d452b1e.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-name-case/","prev":"/user-guide/rules/media-query-list-comma-space-before/","description":"at-rule-empty-line-before Require or disallow an empty line before at-rules. This rule ignores: at-rules that are the very first node in…","title":"at-rule-empty-line-before","__filename":"user-guide/rules/at-rule-empty-line-before.md","__url":"/user-guide/rules/at-rule-empty-line-before/","__resourceUrl":"/user-guide/rules/at-rule-empty-line-before/index.html","__dataUrl":"/user-guide/rules/at-rule-empty-line-before/index.html.51f7129e5a0e8ec485ba89503a7275e7.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-name-newline-after/","prev":"/user-guide/rules/at-rule-empty-line-before/","description":"at-rule-name-case Specify lowercase or uppercase for at-rules names. Only lowercase at-rule names are valid in SCSS. The --fix option on…","title":"at-rule-name-case","__filename":"user-guide/rules/at-rule-name-case.md","__url":"/user-guide/rules/at-rule-name-case/","__resourceUrl":"/user-guide/rules/at-rule-name-case/index.html","__dataUrl":"/user-guide/rules/at-rule-name-case/index.html.d967ecc7df8a5b54e4fd825e4db24a5b.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-name-space-after/","prev":"/user-guide/rules/at-rule-name-case/","description":"at-rule-name-newline-after Require a newline after at-rule names. Options string: \"always\"|\"always-multi-line\" \"always\" There must always…","title":"at-rule-name-newline-after","__filename":"user-guide/rules/at-rule-name-newline-after.md","__url":"/user-guide/rules/at-rule-name-newline-after/","__resourceUrl":"/user-guide/rules/at-rule-name-newline-after/index.html","__dataUrl":"/user-guide/rules/at-rule-name-newline-after/index.html.0271f26f98bb980f63196ec1642c39fe.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-semicolon-newline-after/","prev":"/user-guide/rules/at-rule-name-newline-after/","description":"at-rule-name-space-after Require a single space after at-rule names. The --fix option on the command line can automatically fix all of the…","title":"at-rule-name-space-after","__filename":"user-guide/rules/at-rule-name-space-after.md","__url":"/user-guide/rules/at-rule-name-space-after/","__resourceUrl":"/user-guide/rules/at-rule-name-space-after/index.html","__dataUrl":"/user-guide/rules/at-rule-name-space-after/index.html.39d9c3e6a6daecb62d1bbc817921d5c2.json"},{"layout":"RulePage","next":"/user-guide/rules/comment-no-empty/","prev":"/user-guide/rules/media-feature-name-no-unknown/","description":"at-rule-no-unknown Disallow unknown at-rules. This rule considers at-rules defined in the CSS Specifications, up to and including Editor's…","title":"at-rule-no-unknown","__filename":"user-guide/rules/at-rule-no-unknown.md","__url":"/user-guide/rules/at-rule-no-unknown/","__resourceUrl":"/user-guide/rules/at-rule-no-unknown/index.html","__dataUrl":"/user-guide/rules/at-rule-no-unknown/index.html.58c91e2a50fed7966d4a3759cbd9969f.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-property-requirelist/","prev":"/user-guide/rules/at-rule-blacklist/","description":"at-rule-no-vendor-prefix Disallow vendor prefixes for at-rules. Options true The following patterns are considered violations: The…","title":"at-rule-no-vendor-prefix","__filename":"user-guide/rules/at-rule-no-vendor-prefix.md","__url":"/user-guide/rules/at-rule-no-vendor-prefix/","__resourceUrl":"/user-guide/rules/at-rule-no-vendor-prefix/index.html","__dataUrl":"/user-guide/rules/at-rule-no-vendor-prefix/index.html.5667057dfe7bb5351879810907689568.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-whitelist/","prev":"/user-guide/rules/at-rule-no-vendor-prefix/","description":"at-rule-property-requirelist Specify a requirelist of properties for an at-rule. Options object: { \"at-rule-name\": \\[\"array\", \"of\",…","title":"at-rule-property-requirelist","__filename":"user-guide/rules/at-rule-property-requirelist.md","__url":"/user-guide/rules/at-rule-property-requirelist/","__resourceUrl":"/user-guide/rules/at-rule-property-requirelist/index.html","__dataUrl":"/user-guide/rules/at-rule-property-requirelist/index.html.77cea39a0ec1d0bea5872a022b1e8237.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-semicolon-space-before/","prev":"/user-guide/rules/at-rule-name-space-after/","description":"at-rule-semicolon-newline-after Require a newline after the semicolon of at-rules. This rule allows an end-of-line comment followed by a…","title":"at-rule-semicolon-newline-after","__filename":"user-guide/rules/at-rule-semicolon-newline-after.md","__url":"/user-guide/rules/at-rule-semicolon-newline-after/","__resourceUrl":"/user-guide/rules/at-rule-semicolon-newline-after/index.html","__dataUrl":"/user-guide/rules/at-rule-semicolon-newline-after/index.html.f271ff5098bc8b87dbffce79cdd7c4d1.json"},{"layout":"RulePage","next":"/user-guide/rules/comment-empty-line-before/","prev":"/user-guide/rules/at-rule-semicolon-newline-after/","description":"at-rule-semicolon-space-before Require a single space or disallow whitespace before the semicolons of at-rules. Options string:…","title":"at-rule-semicolon-space-before","__filename":"user-guide/rules/at-rule-semicolon-space-before.md","__url":"/user-guide/rules/at-rule-semicolon-space-before/","__resourceUrl":"/user-guide/rules/at-rule-semicolon-space-before/index.html","__dataUrl":"/user-guide/rules/at-rule-semicolon-space-before/index.html.84f37adc2c6cacd3cdc8fd2c7daf291d.json"},{"layout":"RulePage","next":"/user-guide/rules/comment-word-blacklist/","prev":"/user-guide/rules/at-rule-property-requirelist/","description":"at-rule-whitelist Specify a whitelist of allowed at-rules. Options array|string: \\[\"array\", \"of\", \"unprefixed\", \"at-rules\"]|\"at-rule\"…","title":"at-rule-whitelist","__filename":"user-guide/rules/at-rule-whitelist.md","__url":"/user-guide/rules/at-rule-whitelist/","__resourceUrl":"/user-guide/rules/at-rule-whitelist/index.html","__dataUrl":"/user-guide/rules/at-rule-whitelist/index.html.10f544dd284ac254e120821902b3a4eb.json"},{"layout":"RulePage","next":"/user-guide/rules/block-closing-brace-newline-after/","prev":"/user-guide/rules/declaration-block-trailing-semicolon/","description":"block-closing-brace-empty-line-before Require or disallow an empty line before the closing brace of blocks. The --fix option on the command…","title":"block-closing-brace-empty-line-before","__filename":"user-guide/rules/block-closing-brace-empty-line-before.md","__url":"/user-guide/rules/block-closing-brace-empty-line-before/","__resourceUrl":"/user-guide/rules/block-closing-brace-empty-line-before/index.html","__dataUrl":"/user-guide/rules/block-closing-brace-empty-line-before/index.html.e5fd56c3823105da49f925532ca81c24.json"},{"layout":"RulePage","next":"/user-guide/rules/block-closing-brace-newline-before/","prev":"/user-guide/rules/block-closing-brace-empty-line-before/","description":"block-closing-brace-newline-after Require a newline or disallow whitespace after the closing brace of blocks. This rule allows an…","title":"block-closing-brace-newline-after","__filename":"user-guide/rules/block-closing-brace-newline-after.md","__url":"/user-guide/rules/block-closing-brace-newline-after/","__resourceUrl":"/user-guide/rules/block-closing-brace-newline-after/index.html","__dataUrl":"/user-guide/rules/block-closing-brace-newline-after/index.html.b44f51f8d7825f6af0428456e9fd827e.json"},{"layout":"RulePage","next":"/user-guide/rules/block-closing-brace-space-after/","prev":"/user-guide/rules/block-closing-brace-newline-after/","description":"block-closing-brace-newline-before Require a newline or disallow whitespace before the closing brace of blocks. The --fix option on the…","title":"block-closing-brace-newline-before","__filename":"user-guide/rules/block-closing-brace-newline-before.md","__url":"/user-guide/rules/block-closing-brace-newline-before/","__resourceUrl":"/user-guide/rules/block-closing-brace-newline-before/index.html","__dataUrl":"/user-guide/rules/block-closing-brace-newline-before/index.html.e32d11c67603381de88b0c52a3c143ad.json"},{"layout":"RulePage","next":"/user-guide/rules/block-closing-brace-space-before/","prev":"/user-guide/rules/block-closing-brace-newline-before/","description":"block-closing-brace-space-after Require a single space or disallow whitespace after the closing brace of blocks. This rule allows a…","title":"block-closing-brace-space-after","__filename":"user-guide/rules/block-closing-brace-space-after.md","__url":"/user-guide/rules/block-closing-brace-space-after/","__resourceUrl":"/user-guide/rules/block-closing-brace-space-after/index.html","__dataUrl":"/user-guide/rules/block-closing-brace-space-after/index.html.a3db6af606dc6c7849a4f34e40fd4f71.json"},{"layout":"RulePage","next":"/user-guide/rules/block-opening-brace-newline-after/","prev":"/user-guide/rules/block-closing-brace-space-after/","description":"block-closing-brace-space-before Require a single space or disallow whitespace before the closing brace of blocks. The --fix option on the…","title":"block-closing-brace-space-before","__filename":"user-guide/rules/block-closing-brace-space-before.md","__url":"/user-guide/rules/block-closing-brace-space-before/","__resourceUrl":"/user-guide/rules/block-closing-brace-space-before/index.html","__dataUrl":"/user-guide/rules/block-closing-brace-space-before/index.html.f9d3c882ba53f5329915af3586a834f6.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-class-no-unknown/","prev":"/user-guide/rules/declaration-block-no-shorthand-property-overrides/","description":"block-no-empty Disallow empty blocks. Options true The following patterns are considered violations: The following patterns are not…","title":"block-no-empty","__filename":"user-guide/rules/block-no-empty.md","__url":"/user-guide/rules/block-no-empty/","__resourceUrl":"/user-guide/rules/block-no-empty/index.html","__dataUrl":"/user-guide/rules/block-no-empty/index.html.25569e068c2ad6eb370a2f1384b8f388.json"},{"layout":"RulePage","next":"/user-guide/rules/block-opening-brace-newline-before/","prev":"/user-guide/rules/block-closing-brace-space-before/","description":"block-opening-brace-newline-after Require a newline after the opening brace of blocks. This rule allows an end-of-line comment followed by…","title":"block-opening-brace-newline-after","__filename":"user-guide/rules/block-opening-brace-newline-after.md","__url":"/user-guide/rules/block-opening-brace-newline-after/","__resourceUrl":"/user-guide/rules/block-opening-brace-newline-after/index.html","__dataUrl":"/user-guide/rules/block-opening-brace-newline-after/index.html.6ad75914056dbfda1306dc6301116da9.json"},{"layout":"RulePage","next":"/user-guide/rules/block-opening-brace-space-after/","prev":"/user-guide/rules/block-opening-brace-newline-after/","description":"block-opening-brace-newline-before Require a newline or disallow whitespace before the opening brace of blocks. Refer to the FAQ for more…","title":"block-opening-brace-newline-before","__filename":"user-guide/rules/block-opening-brace-newline-before.md","__url":"/user-guide/rules/block-opening-brace-newline-before/","__resourceUrl":"/user-guide/rules/block-opening-brace-newline-before/index.html","__dataUrl":"/user-guide/rules/block-opening-brace-newline-before/index.html.5367d0ae691ab8eeeaa1f68c6e3f5c99.json"},{"layout":"RulePage","next":"/user-guide/rules/block-opening-brace-space-before/","prev":"/user-guide/rules/block-opening-brace-newline-before/","description":"block-opening-brace-space-after Require a single space or disallow whitespace after the opening brace of blocks. The --fix option on the…","title":"block-opening-brace-space-after","__filename":"user-guide/rules/block-opening-brace-space-after.md","__url":"/user-guide/rules/block-opening-brace-space-after/","__resourceUrl":"/user-guide/rules/block-opening-brace-space-after/index.html","__dataUrl":"/user-guide/rules/block-opening-brace-space-after/index.html.85576ed19621bba711865c16b9236160.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-brackets-space-inside/","prev":"/user-guide/rules/block-opening-brace-space-after/","description":"block-opening-brace-space-before Require a single space or disallow whitespace before the opening brace of blocks. The --fix option on the…","title":"block-opening-brace-space-before","__filename":"user-guide/rules/block-opening-brace-space-before.md","__url":"/user-guide/rules/block-opening-brace-space-before/","__resourceUrl":"/user-guide/rules/block-opening-brace-space-before/index.html","__dataUrl":"/user-guide/rules/block-opening-brace-space-before/index.html.3790d9115f496b7485b873695ad6aaeb.json"},{"layout":"RulePage","next":"/user-guide/rules/color-hex-length/","prev":"/user-guide/rules/no-unknown-animations/","description":"color-hex-case Specify lowercase or uppercase for hex colors. The --fix option on the command line can automatically fix all of the…","title":"color-hex-case","__filename":"user-guide/rules/color-hex-case.md","__url":"/user-guide/rules/color-hex-case/","__resourceUrl":"/user-guide/rules/color-hex-case/index.html","__dataUrl":"/user-guide/rules/color-hex-case/index.html.2d7e8c8186e08bde953813abb47236d2.json"},{"layout":"RulePage","next":"/user-guide/rules/font-family-name-quotes/","prev":"/user-guide/rules/color-hex-case/","description":"color-hex-length Specify short or long notation for hex colors. The --fix option on the command line can automatically fix all of the…","title":"color-hex-length","__filename":"user-guide/rules/color-hex-length.md","__url":"/user-guide/rules/color-hex-length/","__resourceUrl":"/user-guide/rules/color-hex-length/index.html","__dataUrl":"/user-guide/rules/color-hex-length/index.html.4b694d09dbc3b5a89980bdeb7743aaa8.json"},{"layout":"RulePage","next":"/user-guide/rules/color-no-hex/","prev":"/user-guide/rules/no-invalid-double-slash-comments/","description":"color-named Require (where possible) or disallow named colors. Options string: \"always-where-possible\"|\"never\" \"always-where-possible\"…","title":"color-named","__filename":"user-guide/rules/color-named.md","__url":"/user-guide/rules/color-named/","__resourceUrl":"/user-guide/rules/color-named/index.html","__dataUrl":"/user-guide/rules/color-named/index.html.dce1f2f59ae45a5f6a557dd96fce75f6.json"},{"layout":"RulePage","next":"/user-guide/rules/function-blacklist/","prev":"/user-guide/rules/color-named/","description":"color-no-hex Disallow hex colors. Options true The following patterns are considered violations: Hex values that are not valid also cause…","title":"color-no-hex","__filename":"user-guide/rules/color-no-hex.md","__url":"/user-guide/rules/color-no-hex/","__resourceUrl":"/user-guide/rules/color-no-hex/index.html","__dataUrl":"/user-guide/rules/color-no-hex/index.html.cd0e3e1a99790df24fac8df367b84e9d.json"},{"layout":"RulePage","next":"/user-guide/rules/font-family-no-duplicate-names/","prev":null,"description":"color-no-invalid-hex Disallow invalid hex colors. Longhand hex colors can be either 6 or 8 (with alpha channel) hexadecimal characters. And…","title":"color-no-invalid-hex","__filename":"user-guide/rules/color-no-invalid-hex.md","__url":"/user-guide/rules/color-no-invalid-hex/","__resourceUrl":"/user-guide/rules/color-no-invalid-hex/index.html","__dataUrl":"/user-guide/rules/color-no-invalid-hex/index.html.919bbd620cefdcc7bf0f4d7fab390544.json"},{"layout":"RulePage","next":"/user-guide/rules/comment-whitespace-inside/","prev":"/user-guide/rules/at-rule-semicolon-space-before/","description":"comment-empty-line-before Require or disallow an empty line before comments. This rule ignores: comments that are the very first node in…","title":"comment-empty-line-before","__filename":"user-guide/rules/comment-empty-line-before.md","__url":"/user-guide/rules/comment-empty-line-before/","__resourceUrl":"/user-guide/rules/comment-empty-line-before/index.html","__dataUrl":"/user-guide/rules/comment-empty-line-before/index.html.e586844d2abc587730635a138413ca38.json"},{"layout":"RulePage","next":"/user-guide/rules/no-descending-specificity/","prev":"/user-guide/rules/at-rule-no-unknown/","description":"comment-no-empty Disallow empty comments. Caveat: Comments within selector and value lists are currently ignored. Options true The…","title":"comment-no-empty","__filename":"user-guide/rules/comment-no-empty.md","__url":"/user-guide/rules/comment-no-empty/","__resourceUrl":"/user-guide/rules/comment-no-empty/index.html","__dataUrl":"/user-guide/rules/comment-no-empty/index.html.632f241949c059a724010831689f1680.json"},{"layout":"RulePage","next":"/user-guide/rules/indentation/","prev":"/user-guide/rules/comment-empty-line-before/","description":"comment-whitespace-inside Require or disallow whitespace on the inside of comment markers. Any number of asterisks are allowed at the…","title":"comment-whitespace-inside","__filename":"user-guide/rules/comment-whitespace-inside.md","__url":"/user-guide/rules/comment-whitespace-inside/","__resourceUrl":"/user-guide/rules/comment-whitespace-inside/index.html","__dataUrl":"/user-guide/rules/comment-whitespace-inside/index.html.941b46fef4ee5ff4fe2d2cc67c370e9d.json"},{"layout":"RulePage","next":"/user-guide/rules/max-nesting-depth/","prev":"/user-guide/rules/at-rule-whitelist/","description":"comment-word-blacklist Specify a blacklist of disallowed words within comments. Caveat: Comments within selector and value lists are…","title":"comment-word-blacklist","__filename":"user-guide/rules/comment-word-blacklist.md","__url":"/user-guide/rules/comment-word-blacklist/","__resourceUrl":"/user-guide/rules/comment-word-blacklist/index.html","__dataUrl":"/user-guide/rules/comment-word-blacklist/index.html.9a16c5c41c0054e8dfbcfb1397cc6fb4.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-blacklist/","prev":"/user-guide/rules/media-feature-name-whitelist/","description":"custom-media-pattern Specify a pattern for custom media query names. Options regex|string A string will be translated into a RegExp like so…","title":"custom-media-pattern","__filename":"user-guide/rules/custom-media-pattern.md","__url":"/user-guide/rules/custom-media-pattern/","__resourceUrl":"/user-guide/rules/custom-media-pattern/index.html","__dataUrl":"/user-guide/rules/custom-media-pattern/index.html.695e0c7777854e0e0bf1c1d0d0901edf.json"},{"layout":"RulePage","next":"/user-guide/rules/property-case/","prev":"/user-guide/rules/value-list-max-empty-lines/","description":"custom-property-empty-line-before Require or disallow an empty line before custom properties. The --fix option on the command line can…","title":"custom-property-empty-line-before","__filename":"user-guide/rules/custom-property-empty-line-before.md","__url":"/user-guide/rules/custom-property-empty-line-before/","__resourceUrl":"/user-guide/rules/custom-property-empty-line-before/index.html","__dataUrl":"/user-guide/rules/custom-property-empty-line-before/index.html.614793075e968d1f975f6c861b6f6c2f.json"},{"layout":"RulePage","next":"/user-guide/rules/property-blacklist/","prev":"/user-guide/rules/value-no-vendor-prefix/","description":"custom-property-pattern Specify a pattern for custom properties. Options regex|string A string will be translated into a RegExp like so new…","title":"custom-property-pattern","__filename":"user-guide/rules/custom-property-pattern.md","__url":"/user-guide/rules/custom-property-pattern/","__resourceUrl":"/user-guide/rules/custom-property-pattern/index.html","__dataUrl":"/user-guide/rules/custom-property-pattern/index.html.ba71d6511c282f0e682a52d37e4be1dd.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-bang-space-before/","prev":"/user-guide/rules/property-case/","description":"declaration-bang-space-after Require a single space or disallow whitespace after the bang of declarations. The --fix option on the command…","title":"declaration-bang-space-after","__filename":"user-guide/rules/declaration-bang-space-after.md","__url":"/user-guide/rules/declaration-bang-space-after/","__resourceUrl":"/user-guide/rules/declaration-bang-space-after/index.html","__dataUrl":"/user-guide/rules/declaration-bang-space-after/index.html.b3af72632eb2334cc94d728cda526157.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-colon-newline-after/","prev":"/user-guide/rules/declaration-bang-space-after/","description":"declaration-bang-space-before Require a single space or disallow whitespace before the bang of declarations. The --fix option on the…","title":"declaration-bang-space-before","__filename":"user-guide/rules/declaration-bang-space-before.md","__url":"/user-guide/rules/declaration-bang-space-before/","__resourceUrl":"/user-guide/rules/declaration-bang-space-before/index.html","__dataUrl":"/user-guide/rules/declaration-bang-space-before/index.html.5e6ff3c685950241e9e1506d85771c31.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-no-shorthand-property-overrides/","prev":"/user-guide/rules/keyframe-declaration-no-important/","description":"declaration-block-no-duplicate-properties Disallow duplicate properties within declaration blocks. This rule ignores variables ($sass,…","title":"declaration-block-no-duplicate-properties","__filename":"user-guide/rules/declaration-block-no-duplicate-properties.md","__url":"/user-guide/rules/declaration-block-no-duplicate-properties/","__resourceUrl":"/user-guide/rules/declaration-block-no-duplicate-properties/index.html","__dataUrl":"/user-guide/rules/declaration-block-no-duplicate-properties/index.html.4f70e72cc9f75594bdd9cd87428abd6a.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-no-important/","prev":"/user-guide/rules/property-whitelist/","description":"declaration-block-no-redundant-longhand-properties Disallow longhand properties that can be combined into one shorthand property. The…","title":"declaration-block-no-redundant-longhand-properties","__filename":"user-guide/rules/declaration-block-no-redundant-longhand-properties.md","__url":"/user-guide/rules/declaration-block-no-redundant-longhand-properties/","__resourceUrl":"/user-guide/rules/declaration-block-no-redundant-longhand-properties/index.html","__dataUrl":"/user-guide/rules/declaration-block-no-redundant-longhand-properties/index.html.54c612bc1677226e341209bfce121b03.json"},{"layout":"RulePage","next":"/user-guide/rules/block-no-empty/","prev":"/user-guide/rules/declaration-block-no-duplicate-properties/","description":"declaration-block-no-shorthand-property-overrides Disallow shorthand properties that override related longhand properties. In almost every…","title":"declaration-block-no-shorthand-property-overrides","__filename":"user-guide/rules/declaration-block-no-shorthand-property-overrides.md","__url":"/user-guide/rules/declaration-block-no-shorthand-property-overrides/","__resourceUrl":"/user-guide/rules/declaration-block-no-shorthand-property-overrides/index.html","__dataUrl":"/user-guide/rules/declaration-block-no-shorthand-property-overrides/index.html.20b0aac9f734a6151e3ec33370998bfa.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-semicolon-newline-before/","prev":"/user-guide/rules/declaration-empty-line-before/","description":"declaration-block-semicolon-newline-after Require a newline or disallow whitespace after the semicolons of declaration blocks. This rule…","title":"declaration-block-semicolon-newline-after","__filename":"user-guide/rules/declaration-block-semicolon-newline-after.md","__url":"/user-guide/rules/declaration-block-semicolon-newline-after/","__resourceUrl":"/user-guide/rules/declaration-block-semicolon-newline-after/index.html","__dataUrl":"/user-guide/rules/declaration-block-semicolon-newline-after/index.html.ee814260b4f41e369927d290223c6f75.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-semicolon-space-after/","prev":"/user-guide/rules/declaration-block-semicolon-newline-after/","description":"declaration-block-semicolon-newline-before Require a newline or disallow whitespace before the semicolons of declaration blocks. This rule…","title":"declaration-block-semicolon-newline-before","__filename":"user-guide/rules/declaration-block-semicolon-newline-before.md","__url":"/user-guide/rules/declaration-block-semicolon-newline-before/","__resourceUrl":"/user-guide/rules/declaration-block-semicolon-newline-before/index.html","__dataUrl":"/user-guide/rules/declaration-block-semicolon-newline-before/index.html.49e505064ab499e268a341dd9503b5e1.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-semicolon-space-before/","prev":"/user-guide/rules/declaration-block-semicolon-newline-before/","description":"declaration-block-semicolon-space-after Require a single space or disallow whitespace after the semicolons of declaration blocks. This rule…","title":"declaration-block-semicolon-space-after","__filename":"user-guide/rules/declaration-block-semicolon-space-after.md","__url":"/user-guide/rules/declaration-block-semicolon-space-after/","__resourceUrl":"/user-guide/rules/declaration-block-semicolon-space-after/index.html","__dataUrl":"/user-guide/rules/declaration-block-semicolon-space-after/index.html.ba8a41768232d0b5ed309c26b5903eb9.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-trailing-semicolon/","prev":"/user-guide/rules/declaration-block-semicolon-space-after/","description":"declaration-block-semicolon-space-before Require a single space or disallow whitespace before the semicolons of declaration blocks. This…","title":"declaration-block-semicolon-space-before","__filename":"user-guide/rules/declaration-block-semicolon-space-before.md","__url":"/user-guide/rules/declaration-block-semicolon-space-before/","__resourceUrl":"/user-guide/rules/declaration-block-semicolon-space-before/index.html","__dataUrl":"/user-guide/rules/declaration-block-semicolon-space-before/index.html.ca30093c67f8b22c9343568f19b7174f.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-operator-blacklist/","prev":"/user-guide/rules/declaration-property-value-whitelist/","description":"declaration-block-single-line-max-declarations Limit the number of declarations within a single-line declaration block. Options int:…","title":"declaration-block-single-line-max-declarations","__filename":"user-guide/rules/declaration-block-single-line-max-declarations.md","__url":"/user-guide/rules/declaration-block-single-line-max-declarations/","__resourceUrl":"/user-guide/rules/declaration-block-single-line-max-declarations/index.html","__dataUrl":"/user-guide/rules/declaration-block-single-line-max-declarations/index.html.792cab45da62128fff18e9e94abea78e.json"},{"layout":"RulePage","next":"/user-guide/rules/block-closing-brace-empty-line-before/","prev":"/user-guide/rules/declaration-block-semicolon-space-before/","description":"declaration-block-trailing-semicolon Require or disallow a trailing semicolon within declaration blocks. The trailing semicolon is the last…","title":"declaration-block-trailing-semicolon","__filename":"user-guide/rules/declaration-block-trailing-semicolon.md","__url":"/user-guide/rules/declaration-block-trailing-semicolon/","__resourceUrl":"/user-guide/rules/declaration-block-trailing-semicolon/index.html","__dataUrl":"/user-guide/rules/declaration-block-trailing-semicolon/index.html.2495abc9a49ef20f70f91bffed2b972f.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-colon-space-after/","prev":"/user-guide/rules/declaration-bang-space-before/","description":"declaration-colon-newline-after Require a newline or disallow whitespace after the colon of declarations. The --fix option on the command…","title":"declaration-colon-newline-after","__filename":"user-guide/rules/declaration-colon-newline-after.md","__url":"/user-guide/rules/declaration-colon-newline-after/","__resourceUrl":"/user-guide/rules/declaration-colon-newline-after/index.html","__dataUrl":"/user-guide/rules/declaration-colon-newline-after/index.html.cf0d3c5e935932b51d12180682f3ec71.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-colon-space-before/","prev":"/user-guide/rules/declaration-colon-newline-after/","description":"declaration-colon-space-after Require a single space or disallow whitespace after the colon of declarations. The --fix option on the…","title":"declaration-colon-space-after","__filename":"user-guide/rules/declaration-colon-space-after.md","__url":"/user-guide/rules/declaration-colon-space-after/","__resourceUrl":"/user-guide/rules/declaration-colon-space-after/index.html","__dataUrl":"/user-guide/rules/declaration-colon-space-after/index.html.1201da4130fde0039186839ae370809c.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-empty-line-before/","prev":"/user-guide/rules/declaration-colon-space-after/","description":"declaration-colon-space-before Require a single space or disallow whitespace before the colon of declarations. The --fix option on the…","title":"declaration-colon-space-before","__filename":"user-guide/rules/declaration-colon-space-before.md","__url":"/user-guide/rules/declaration-colon-space-before/","__resourceUrl":"/user-guide/rules/declaration-colon-space-before/index.html","__dataUrl":"/user-guide/rules/declaration-colon-space-before/index.html.48db562d90aa118d1899aae836490628.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-semicolon-newline-after/","prev":"/user-guide/rules/declaration-colon-space-before/","description":"declaration-empty-line-before Require or disallow an empty line before declarations. This rule only applies to standard property…","title":"declaration-empty-line-before","__filename":"user-guide/rules/declaration-empty-line-before.md","__url":"/user-guide/rules/declaration-empty-line-before/","__resourceUrl":"/user-guide/rules/declaration-empty-line-before/index.html","__dataUrl":"/user-guide/rules/declaration-empty-line-before/index.html.04b6e2a4bd6396d0cae2d06a89ce6791.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-property-unit-blacklist/","prev":"/user-guide/rules/declaration-block-no-redundant-longhand-properties/","description":"declaration-no-important Disallow !important within declarations. If you always want !important in your declarations, e.g. if you're…","title":"declaration-no-important","__filename":"user-guide/rules/declaration-no-important.md","__url":"/user-guide/rules/declaration-no-important/","__resourceUrl":"/user-guide/rules/declaration-no-important/index.html","__dataUrl":"/user-guide/rules/declaration-no-important/index.html.57f9fae61ad6b33a558ed3081f995437.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-property-unit-whitelist/","prev":"/user-guide/rules/declaration-no-important/","description":"declaration-property-unit-blacklist Specify a blacklist of disallowed property and unit pairs within declarations. Options object: { …","title":"declaration-property-unit-blacklist","__filename":"user-guide/rules/declaration-property-unit-blacklist.md","__url":"/user-guide/rules/declaration-property-unit-blacklist/","__resourceUrl":"/user-guide/rules/declaration-property-unit-blacklist/index.html","__dataUrl":"/user-guide/rules/declaration-property-unit-blacklist/index.html.8e1f8abe82a671604751439f88c2b9cc.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-property-value-blacklist/","prev":"/user-guide/rules/declaration-property-unit-blacklist/","description":"declaration-property-unit-whitelist Specify a whitelist of allowed property and unit pairs within declarations. Options object: { …","title":"declaration-property-unit-whitelist","__filename":"user-guide/rules/declaration-property-unit-whitelist.md","__url":"/user-guide/rules/declaration-property-unit-whitelist/","__resourceUrl":"/user-guide/rules/declaration-property-unit-whitelist/index.html","__dataUrl":"/user-guide/rules/declaration-property-unit-whitelist/index.html.b9a612ba48972f72c0d6700c959dc46e.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-property-value-whitelist/","prev":"/user-guide/rules/declaration-property-unit-whitelist/","description":"declaration-property-value-blacklist Specify a blacklist of disallowed property and value pairs within declarations. Options object: { …","title":"declaration-property-value-blacklist","__filename":"user-guide/rules/declaration-property-value-blacklist.md","__url":"/user-guide/rules/declaration-property-value-blacklist/","__resourceUrl":"/user-guide/rules/declaration-property-value-blacklist/index.html","__dataUrl":"/user-guide/rules/declaration-property-value-blacklist/index.html.bc0ac3dcfc3bc16309159934e5dc9676.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-single-line-max-declarations/","prev":"/user-guide/rules/declaration-property-value-blacklist/","description":"declaration-property-value-whitelist Specify a whitelist of allowed property and value pairs within declarations. Options object: { …","title":"declaration-property-value-whitelist","__filename":"user-guide/rules/declaration-property-value-whitelist.md","__url":"/user-guide/rules/declaration-property-value-whitelist/","__resourceUrl":"/user-guide/rules/declaration-property-value-whitelist/index.html","__dataUrl":"/user-guide/rules/declaration-property-value-whitelist/index.html.e3cbe103817a687f7dfa07144b57178c.json"},{"layout":"RulePage","next":"/user-guide/rules/font-weight-notation/","prev":"/user-guide/rules/color-hex-length/","description":"font-family-name-quotes Specify whether or not quotation marks should be used around font family names. This rule checks the font and…","title":"font-family-name-quotes","__filename":"user-guide/rules/font-family-name-quotes.md","__url":"/user-guide/rules/font-family-name-quotes/","__resourceUrl":"/user-guide/rules/font-family-name-quotes/index.html","__dataUrl":"/user-guide/rules/font-family-name-quotes/index.html.f969d905daee9064879c288da045980d.json"},{"layout":"RulePage","next":"/user-guide/rules/font-family-no-missing-generic-family-keyword/","prev":"/user-guide/rules/color-no-invalid-hex/","description":"font-family-no-duplicate-names Disallow duplicate font family names. This rule checks the font and font-family properties. This rule…","title":"font-family-no-duplicate-names","__filename":"user-guide/rules/font-family-no-duplicate-names.md","__url":"/user-guide/rules/font-family-no-duplicate-names/","__resourceUrl":"/user-guide/rules/font-family-no-duplicate-names/index.html","__dataUrl":"/user-guide/rules/font-family-no-duplicate-names/index.html.7ac57225326ec12817f3d92f7eb34a86.json"},{"layout":"RulePage","next":"/user-guide/rules/function-calc-no-invalid/","prev":"/user-guide/rules/font-family-no-duplicate-names/","description":"font-family-no-missing-generic-family-keyword Disallow missing generic families in lists of font family names. This rule checks the font…","title":"font-family-no-missing-generic-family-keyword","__filename":"user-guide/rules/font-family-no-missing-generic-family-keyword.md","__url":"/user-guide/rules/font-family-no-missing-generic-family-keyword/","__resourceUrl":"/user-guide/rules/font-family-no-missing-generic-family-keyword/index.html","__dataUrl":"/user-guide/rules/font-family-no-missing-generic-family-keyword/index.html.a52dce6c606db8302f707bc4c0f04a43.json"},{"layout":"RulePage","next":"/user-guide/rules/function-comma-newline-after/","prev":"/user-guide/rules/font-family-name-quotes/","description":"font-weight-notation Require numeric or named (where possible) font-weight values. Also, when named values are expected, require only valid…","title":"font-weight-notation","__filename":"user-guide/rules/font-weight-notation.md","__url":"/user-guide/rules/font-weight-notation/","__resourceUrl":"/user-guide/rules/font-weight-notation/index.html","__dataUrl":"/user-guide/rules/font-weight-notation/index.html.6a97dfd58d9e125aed29cc62ea06e638.json"},{"layout":"RulePage","next":"/user-guide/rules/function-url-no-scheme-relative/","prev":"/user-guide/rules/color-no-hex/","description":"function-blacklist Specify a blacklist of disallowed functions. Options array|string: \\[\"array\", \"of\", \"unprefixed\", /functions/ or…","title":"function-blacklist","__filename":"user-guide/rules/function-blacklist.md","__url":"/user-guide/rules/function-blacklist/","__resourceUrl":"/user-guide/rules/function-blacklist/index.html","__dataUrl":"/user-guide/rules/function-blacklist/index.html.a48e48c278fa850a48c4eed8a33ed62e.json"},{"layout":"RulePage","next":"/user-guide/rules/function-calc-no-unspaced-operator/","prev":"/user-guide/rules/font-family-no-missing-generic-family-keyword/","description":"function-calc-no-invalid Disallow an invalid expression within calc functions. calc() must have an expression. calc() must have an operator…","title":"function-calc-no-invalid","__filename":"user-guide/rules/function-calc-no-invalid.md","__url":"/user-guide/rules/function-calc-no-invalid/","__resourceUrl":"/user-guide/rules/function-calc-no-invalid/index.html","__dataUrl":"/user-guide/rules/function-calc-no-invalid/index.html.fd1361e638fee37cfecf10e5ce1fdf9f.json"},{"layout":"RulePage","next":"/user-guide/rules/function-linear-gradient-no-nonstandard-direction/","prev":"/user-guide/rules/function-calc-no-invalid/","description":"function-calc-no-unspaced-operator Disallow an unspaced operator within calc functions. Before the operator, there must be a single…","title":"function-calc-no-unspaced-operator","__filename":"user-guide/rules/function-calc-no-unspaced-operator.md","__url":"/user-guide/rules/function-calc-no-unspaced-operator/","__resourceUrl":"/user-guide/rules/function-calc-no-unspaced-operator/index.html","__dataUrl":"/user-guide/rules/function-calc-no-unspaced-operator/index.html.d35575a78c215730ebd4217fdfaf8681.json"},{"layout":"RulePage","next":"/user-guide/rules/function-comma-newline-before/","prev":"/user-guide/rules/font-weight-notation/","description":"function-comma-newline-after Require a newline or disallow whitespace after the commas of functions. The --fix option on the command line…","title":"function-comma-newline-after","__filename":"user-guide/rules/function-comma-newline-after.md","__url":"/user-guide/rules/function-comma-newline-after/","__resourceUrl":"/user-guide/rules/function-comma-newline-after/index.html","__dataUrl":"/user-guide/rules/function-comma-newline-after/index.html.ab502586d0db55a7aeff5e9905f10a5e.json"},{"layout":"RulePage","next":"/user-guide/rules/function-comma-space-after/","prev":"/user-guide/rules/function-comma-newline-after/","description":"function-comma-newline-before Require a newline or disallow whitespace before the commas of functions. The --fix option on the command line…","title":"function-comma-newline-before","__filename":"user-guide/rules/function-comma-newline-before.md","__url":"/user-guide/rules/function-comma-newline-before/","__resourceUrl":"/user-guide/rules/function-comma-newline-before/index.html","__dataUrl":"/user-guide/rules/function-comma-newline-before/index.html.bc091e266920b2bf7dd17a4a8788bf6c.json"},{"layout":"RulePage","next":"/user-guide/rules/function-comma-space-before/","prev":"/user-guide/rules/function-comma-newline-before/","description":"function-comma-space-after Require a single space or disallow whitespace after the commas of functions. The --fix option on the command…","title":"function-comma-space-after","__filename":"user-guide/rules/function-comma-space-after.md","__url":"/user-guide/rules/function-comma-space-after/","__resourceUrl":"/user-guide/rules/function-comma-space-after/index.html","__dataUrl":"/user-guide/rules/function-comma-space-after/index.html.8687fbc88ea6871edba59e2eb95c9c2f.json"},{"layout":"RulePage","next":"/user-guide/rules/function-max-empty-lines/","prev":"/user-guide/rules/function-comma-space-after/","description":"function-comma-space-before Require a single space or disallow whitespace before the commas of functions. The --fix option on the command…","title":"function-comma-space-before","__filename":"user-guide/rules/function-comma-space-before.md","__url":"/user-guide/rules/function-comma-space-before/","__resourceUrl":"/user-guide/rules/function-comma-space-before/index.html","__dataUrl":"/user-guide/rules/function-comma-space-before/index.html.450be079063e91bc4173db02babdf1cd.json"},{"layout":"RulePage","next":"/user-guide/rules/string-no-newline/","prev":"/user-guide/rules/function-calc-no-unspaced-operator/","description":"function-linear-gradient-no-nonstandard-direction Disallow direction values in linear-gradient() calls that are not valid according to the…","title":"function-linear-gradient-no-nonstandard-direction","__filename":"user-guide/rules/function-linear-gradient-no-nonstandard-direction.md","__url":"/user-guide/rules/function-linear-gradient-no-nonstandard-direction/","__resourceUrl":"/user-guide/rules/function-linear-gradient-no-nonstandard-direction/index.html","__dataUrl":"/user-guide/rules/function-linear-gradient-no-nonstandard-direction/index.html.f6c4a7646b36440f1aae1b5bee56bad2.json"},{"layout":"RulePage","next":"/user-guide/rules/function-name-case/","prev":"/user-guide/rules/function-comma-space-before/","description":"function-max-empty-lines Limit the number of adjacent empty lines within functions. The --fix option on the command line can automatically…","title":"function-max-empty-lines","__filename":"user-guide/rules/function-max-empty-lines.md","__url":"/user-guide/rules/function-max-empty-lines/","__resourceUrl":"/user-guide/rules/function-max-empty-lines/index.html","__dataUrl":"/user-guide/rules/function-max-empty-lines/index.html.7d1ad4d6eee0a42a0e55fc5fb17e448d.json"},{"layout":"RulePage","next":"/user-guide/rules/function-parentheses-newline-inside/","prev":"/user-guide/rules/function-max-empty-lines/","description":"function-name-case Specify lowercase or uppercase for function names. Camel case function names, e.g. translateX, are accounted for when…","title":"function-name-case","__filename":"user-guide/rules/function-name-case.md","__url":"/user-guide/rules/function-name-case/","__resourceUrl":"/user-guide/rules/function-name-case/index.html","__dataUrl":"/user-guide/rules/function-name-case/index.html.0a93f86f884daec3c4edf001aa94d11d.json"},{"layout":"RulePage","next":"/user-guide/rules/function-parentheses-space-inside/","prev":"/user-guide/rules/function-name-case/","description":"function-parentheses-newline-inside Require a newline or disallow whitespace on the inside of the parentheses of functions. The --fix…","title":"function-parentheses-newline-inside","__filename":"user-guide/rules/function-parentheses-newline-inside.md","__url":"/user-guide/rules/function-parentheses-newline-inside/","__resourceUrl":"/user-guide/rules/function-parentheses-newline-inside/index.html","__dataUrl":"/user-guide/rules/function-parentheses-newline-inside/index.html.b0445ad90287f1ed59bf3d29e20db193.json"},{"layout":"RulePage","next":"/user-guide/rules/function-url-quotes/","prev":"/user-guide/rules/function-parentheses-newline-inside/","description":"function-parentheses-space-inside Require a single space or disallow whitespace on the inside of the parentheses of functions. The --fix…","title":"function-parentheses-space-inside","__filename":"user-guide/rules/function-parentheses-space-inside.md","__url":"/user-guide/rules/function-parentheses-space-inside/","__resourceUrl":"/user-guide/rules/function-parentheses-space-inside/index.html","__dataUrl":"/user-guide/rules/function-parentheses-space-inside/index.html.ba501ad5e5a85882dd176ff55907fc64.json"},{"layout":"RulePage","next":"/user-guide/rules/function-url-scheme-blacklist/","prev":"/user-guide/rules/function-blacklist/","description":"function-url-no-scheme-relative Disallow scheme-relative urls. A scheme-relative url is a url that begins with // followed by a host. This…","title":"function-url-no-scheme-relative","__filename":"user-guide/rules/function-url-no-scheme-relative.md","__url":"/user-guide/rules/function-url-no-scheme-relative/","__resourceUrl":"/user-guide/rules/function-url-no-scheme-relative/index.html","__dataUrl":"/user-guide/rules/function-url-no-scheme-relative/index.html.357fe9f02c7ba5c7c72b35945a163c54.json"},{"layout":"RulePage","next":"/user-guide/rules/function-whitespace-after/","prev":"/user-guide/rules/function-parentheses-space-inside/","description":"function-url-quotes Require or disallow quotes for urls. Options string: \"always\"|\"never\" \"always\" Urls must always be quoted. The…","title":"function-url-quotes","__filename":"user-guide/rules/function-url-quotes.md","__url":"/user-guide/rules/function-url-quotes/","__resourceUrl":"/user-guide/rules/function-url-quotes/index.html","__dataUrl":"/user-guide/rules/function-url-quotes/index.html.d2580834fc7051cc98a15f343ce4d3bb.json"},{"layout":"RulePage","next":"/user-guide/rules/function-url-scheme-whitelist/","prev":"/user-guide/rules/function-url-no-scheme-relative/","description":"function-url-scheme-blacklist Specify a blacklist of disallowed URL schemes. A URL scheme consists of alphanumeric, +, -, and . characters.…","title":"function-url-scheme-blacklist","__filename":"user-guide/rules/function-url-scheme-blacklist.md","__url":"/user-guide/rules/function-url-scheme-blacklist/","__resourceUrl":"/user-guide/rules/function-url-scheme-blacklist/index.html","__dataUrl":"/user-guide/rules/function-url-scheme-blacklist/index.html.e637a28102852b3897e75a768530b178.json"},{"layout":"RulePage","next":"/user-guide/rules/function-whitelist/","prev":"/user-guide/rules/function-url-scheme-blacklist/","description":"function-url-scheme-whitelist Specify a whitelist of allowed URL schemes. A URL scheme consists of alphanumeric, +, -, and . characters. It…","title":"function-url-scheme-whitelist","__filename":"user-guide/rules/function-url-scheme-whitelist.md","__url":"/user-guide/rules/function-url-scheme-whitelist/","__resourceUrl":"/user-guide/rules/function-url-scheme-whitelist/index.html","__dataUrl":"/user-guide/rules/function-url-scheme-whitelist/index.html.7e770a111e935c2a04af4fa23c53f0f9.json"},{"layout":"RulePage","next":"/user-guide/rules/keyframes-name-pattern/","prev":"/user-guide/rules/function-url-scheme-whitelist/","description":"function-whitelist Specify a whitelist of allowed functions. Options array|string: \\[\"array\", \"of\", \"unprefixed\", /functions/ or…","title":"function-whitelist","__filename":"user-guide/rules/function-whitelist.md","__url":"/user-guide/rules/function-whitelist/","__resourceUrl":"/user-guide/rules/function-whitelist/index.html","__dataUrl":"/user-guide/rules/function-whitelist/index.html.ae3e5971eaf0088a55f9d5fc042a23ef.json"},{"layout":"RulePage","next":"/user-guide/rules/number-leading-zero/","prev":"/user-guide/rules/function-url-quotes/","description":"function-whitespace-after Require or disallow whitespace after functions. This rule does not check for space immediately after ) if the…","title":"function-whitespace-after","__filename":"user-guide/rules/function-whitespace-after.md","__url":"/user-guide/rules/function-whitespace-after/","__resourceUrl":"/user-guide/rules/function-whitespace-after/index.html","__dataUrl":"/user-guide/rules/function-whitespace-after/index.html.26ab943cac61b322e03dd28d3efb53c4.json"},{"layout":"RulePage","next":"/user-guide/rules/linebreaks/","prev":"/user-guide/rules/comment-whitespace-inside/","description":"indentation Specify indentation. The --fix option on the command line can automatically fix all of the problems reported by this rule.…","title":"indentation","__filename":"user-guide/rules/indentation.md","__url":"/user-guide/rules/indentation/","__resourceUrl":"/user-guide/rules/indentation/index.html","__dataUrl":"/user-guide/rules/indentation/index.html.01f84f7f92e895795a50438860ae8971.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-no-duplicate-properties/","prev":"/user-guide/rules/property-no-unknown/","description":"keyframe-declaration-no-important Disallow !important within keyframe declarations. Using !important within keyframes declarations is…","title":"keyframe-declaration-no-important","__filename":"user-guide/rules/keyframe-declaration-no-important.md","__url":"/user-guide/rules/keyframe-declaration-no-important/","__resourceUrl":"/user-guide/rules/keyframe-declaration-no-important/index.html","__dataUrl":"/user-guide/rules/keyframe-declaration-no-important/index.html.b9f979c8a0b08a17e50a5040405f035a.json"},{"layout":"RulePage","next":"/user-guide/rules/number-max-precision/","prev":"/user-guide/rules/function-whitelist/","description":"keyframes-name-pattern Specify a pattern for keyframe names. Options regex|string A string will be translated into a RegExp like so new…","title":"keyframes-name-pattern","__filename":"user-guide/rules/keyframes-name-pattern.md","__url":"/user-guide/rules/keyframes-name-pattern/","__resourceUrl":"/user-guide/rules/keyframes-name-pattern/index.html","__dataUrl":"/user-guide/rules/keyframes-name-pattern/index.html.bcf13e24d9a90a8036c0b6b2a78657a8.json"},{"layout":"RulePage","next":"/user-guide/rules/unit-case/","prev":"/user-guide/rules/string-quotes/","description":"length-zero-no-unit Disallow units for zero lengths. Lengths refer to distance measurements. A length is a dimension, which is a number…","title":"length-zero-no-unit","__filename":"user-guide/rules/length-zero-no-unit.md","__url":"/user-guide/rules/length-zero-no-unit/","__resourceUrl":"/user-guide/rules/length-zero-no-unit/index.html","__dataUrl":"/user-guide/rules/length-zero-no-unit/index.html.02c0b5072f7b3182168d40765f3c26ec.json"},{"layout":"RulePage","next":"/user-guide/rules/max-empty-lines/","prev":"/user-guide/rules/indentation/","description":"linebreaks Specify unix or windows linebreaks. The --fix option on the command line can automatically fix all of the problems reported by…","title":"linebreaks","__filename":"user-guide/rules/linebreaks.md","__url":"/user-guide/rules/linebreaks/","__resourceUrl":"/user-guide/rules/linebreaks/index.html","__dataUrl":"/user-guide/rules/linebreaks/index.html.656c73adbcb8bcee354e2483300f24bf.json"},{"layout":"RulePage","next":"/user-guide/rules/max-line-length/","prev":"/user-guide/rules/linebreaks/","description":"max-empty-lines Limit the number of adjacent empty lines. Options int: Maximum number of adjacent empty lines allowed. For example, with 2:…","title":"max-empty-lines","__filename":"user-guide/rules/max-empty-lines.md","__url":"/user-guide/rules/max-empty-lines/","__resourceUrl":"/user-guide/rules/max-empty-lines/index.html","__dataUrl":"/user-guide/rules/max-empty-lines/index.html.f652394e795d80c44831f9ffded1c7a7.json"},{"layout":"RulePage","next":"/user-guide/rules/no-eol-whitespace/","prev":"/user-guide/rules/max-empty-lines/","description":"max-line-length Limit the length of a line. Lines that exceed the maximum length but contain no whitespace (other than at the beginning of…","title":"max-line-length","__filename":"user-guide/rules/max-line-length.md","__url":"/user-guide/rules/max-line-length/","__resourceUrl":"/user-guide/rules/max-line-length/index.html","__dataUrl":"/user-guide/rules/max-line-length/index.html.50b7b591a94a00a4a2b90bb16e4f288f.json"},{"layout":"RulePage","next":"/user-guide/rules/no-unknown-animations/","prev":"/user-guide/rules/comment-word-blacklist/","description":"max-nesting-depth Limit the depth of nesting. This rule works by checking rules' and at-rules' actual \"nesting depth\" against your…","title":"max-nesting-depth","__filename":"user-guide/rules/max-nesting-depth.md","__url":"/user-guide/rules/max-nesting-depth/","__resourceUrl":"/user-guide/rules/max-nesting-depth/index.html","__dataUrl":"/user-guide/rules/max-nesting-depth/index.html.5ea92bdf0f8d133e0de465ab023086e9.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-colon-space-before/","prev":"/user-guide/rules/rule-empty-line-before/","description":"media-feature-colon-space-after Require a single space or disallow whitespace after the colon in media features. The --fix option on the…","title":"media-feature-colon-space-after","__filename":"user-guide/rules/media-feature-colon-space-after.md","__url":"/user-guide/rules/media-feature-colon-space-after/","__resourceUrl":"/user-guide/rules/media-feature-colon-space-after/index.html","__dataUrl":"/user-guide/rules/media-feature-colon-space-after/index.html.4ec925a4ce9a4df0ca53bec0937da037.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-case/","prev":"/user-guide/rules/media-feature-colon-space-after/","description":"media-feature-colon-space-before Require a single space or disallow whitespace before the colon in media features. The --fix option on the…","title":"media-feature-colon-space-before","__filename":"user-guide/rules/media-feature-colon-space-before.md","__url":"/user-guide/rules/media-feature-colon-space-before/","__resourceUrl":"/user-guide/rules/media-feature-colon-space-before/index.html","__dataUrl":"/user-guide/rules/media-feature-colon-space-before/index.html.343c4bdb10f42b5b85a791595d433526.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-no-vendor-prefix/","prev":"/user-guide/rules/selector-pseudo-element-whitelist/","description":"media-feature-name-blacklist Specify a blacklist of disallowed media feature names. Caveat: Media feature names within a range context are…","title":"media-feature-name-blacklist","__filename":"user-guide/rules/media-feature-name-blacklist.md","__url":"/user-guide/rules/media-feature-name-blacklist/","__resourceUrl":"/user-guide/rules/media-feature-name-blacklist/index.html","__dataUrl":"/user-guide/rules/media-feature-name-blacklist/index.html.c8cf21c411346685d83c0a29c6b61296.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-parentheses-space-inside/","prev":"/user-guide/rules/media-feature-colon-space-before/","description":"media-feature-name-case Specify lowercase or uppercase for media feature names. This rule ignores media feature names within a range…","title":"media-feature-name-case","__filename":"user-guide/rules/media-feature-name-case.md","__url":"/user-guide/rules/media-feature-name-case/","__resourceUrl":"/user-guide/rules/media-feature-name-case/index.html","__dataUrl":"/user-guide/rules/media-feature-name-case/index.html.d4b640a13f80916457bb96d266bb41b4.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-no-unknown/","prev":"/user-guide/rules/selector-type-no-unknown/","description":"media-feature-name-no-unknown Disallow unknown media feature names. This rule considers media feature names defined in the CSS…","title":"media-feature-name-no-unknown","__filename":"user-guide/rules/media-feature-name-no-unknown.md","__url":"/user-guide/rules/media-feature-name-no-unknown/","__resourceUrl":"/user-guide/rules/media-feature-name-no-unknown/index.html","__dataUrl":"/user-guide/rules/media-feature-name-no-unknown/index.html.89149e3c46e4048521d90890eaadac31.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-value-whitelist/","prev":"/user-guide/rules/media-feature-name-blacklist/","description":"media-feature-name-no-vendor-prefix Disallow vendor prefixes for media feature names. Right now this rule simply checks for prefixed…","title":"media-feature-name-no-vendor-prefix","__filename":"user-guide/rules/media-feature-name-no-vendor-prefix.md","__url":"/user-guide/rules/media-feature-name-no-vendor-prefix/","__resourceUrl":"/user-guide/rules/media-feature-name-no-vendor-prefix/index.html","__dataUrl":"/user-guide/rules/media-feature-name-no-vendor-prefix/index.html.dd15b818099f70520e9f2b015b801f9e.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-whitelist/","prev":"/user-guide/rules/media-feature-name-no-vendor-prefix/","description":"media-feature-name-value-whitelist Specify a whitelist of allowed media feature name and value pairs. This rule ignores media features…","title":"media-feature-name-value-whitelist","__filename":"user-guide/rules/media-feature-name-value-whitelist.md","__url":"/user-guide/rules/media-feature-name-value-whitelist/","__resourceUrl":"/user-guide/rules/media-feature-name-value-whitelist/index.html","__dataUrl":"/user-guide/rules/media-feature-name-value-whitelist/index.html.31d229d9b8797a3d2e6d978f3627f2cc.json"},{"layout":"RulePage","next":"/user-guide/rules/custom-media-pattern/","prev":"/user-guide/rules/media-feature-name-value-whitelist/","description":"media-feature-name-whitelist Specify a whitelist of allowed media feature names. This rule ignores media feature names within a range…","title":"media-feature-name-whitelist","__filename":"user-guide/rules/media-feature-name-whitelist.md","__url":"/user-guide/rules/media-feature-name-whitelist/","__resourceUrl":"/user-guide/rules/media-feature-name-whitelist/index.html","__dataUrl":"/user-guide/rules/media-feature-name-whitelist/index.html.e0cbe3c6b4386a163bacc214f168e3cb.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-range-operator-space-after/","prev":"/user-guide/rules/media-feature-name-case/","description":"media-feature-parentheses-space-inside Require a single space or disallow whitespace on the inside of the parentheses within media…","title":"media-feature-parentheses-space-inside","__filename":"user-guide/rules/media-feature-parentheses-space-inside.md","__url":"/user-guide/rules/media-feature-parentheses-space-inside/","__resourceUrl":"/user-guide/rules/media-feature-parentheses-space-inside/index.html","__dataUrl":"/user-guide/rules/media-feature-parentheses-space-inside/index.html.cebee7bbed4227d93163bb439b816ec6.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-range-operator-space-before/","prev":"/user-guide/rules/media-feature-parentheses-space-inside/","description":"media-feature-range-operator-space-after Require a single space or disallow whitespace after the range operator in media features. The…","title":"media-feature-range-operator-space-after","__filename":"user-guide/rules/media-feature-range-operator-space-after.md","__url":"/user-guide/rules/media-feature-range-operator-space-after/","__resourceUrl":"/user-guide/rules/media-feature-range-operator-space-after/index.html","__dataUrl":"/user-guide/rules/media-feature-range-operator-space-after/index.html.0222c532b833d237c86bc9f6906e21b2.json"},{"layout":"RulePage","next":"/user-guide/rules/media-query-list-comma-newline-after/","prev":"/user-guide/rules/media-feature-range-operator-space-after/","description":"media-feature-range-operator-space-before Require a single space or disallow whitespace before the range operator in media features. The…","title":"media-feature-range-operator-space-before","__filename":"user-guide/rules/media-feature-range-operator-space-before.md","__url":"/user-guide/rules/media-feature-range-operator-space-before/","__resourceUrl":"/user-guide/rules/media-feature-range-operator-space-before/index.html","__dataUrl":"/user-guide/rules/media-feature-range-operator-space-before/index.html.7e5c4849eab01c3388b9a4dd3608a473.json"},{"layout":"RulePage","next":"/user-guide/rules/media-query-list-comma-newline-before/","prev":"/user-guide/rules/media-feature-range-operator-space-before/","description":"media-query-list-comma-newline-after Require a newline or disallow whitespace after the commas of media query lists. The --fix option on…","title":"media-query-list-comma-newline-after","__filename":"user-guide/rules/media-query-list-comma-newline-after.md","__url":"/user-guide/rules/media-query-list-comma-newline-after/","__resourceUrl":"/user-guide/rules/media-query-list-comma-newline-after/index.html","__dataUrl":"/user-guide/rules/media-query-list-comma-newline-after/index.html.7bb22664cb04466bb44577ff86b6862c.json"},{"layout":"RulePage","next":"/user-guide/rules/media-query-list-comma-space-after/","prev":"/user-guide/rules/media-query-list-comma-newline-after/","description":"media-query-list-comma-newline-before Require a newline or disallow whitespace before the commas of media query lists. Options string:…","title":"media-query-list-comma-newline-before","__filename":"user-guide/rules/media-query-list-comma-newline-before.md","__url":"/user-guide/rules/media-query-list-comma-newline-before/","__resourceUrl":"/user-guide/rules/media-query-list-comma-newline-before/index.html","__dataUrl":"/user-guide/rules/media-query-list-comma-newline-before/index.html.75a02c08e501d322125369f4799655b6.json"},{"layout":"RulePage","next":"/user-guide/rules/media-query-list-comma-space-before/","prev":"/user-guide/rules/media-query-list-comma-newline-before/","description":"media-query-list-comma-space-after Require a single space or disallow whitespace after the commas of media query lists. The --fix option on…","title":"media-query-list-comma-space-after","__filename":"user-guide/rules/media-query-list-comma-space-after.md","__url":"/user-guide/rules/media-query-list-comma-space-after/","__resourceUrl":"/user-guide/rules/media-query-list-comma-space-after/index.html","__dataUrl":"/user-guide/rules/media-query-list-comma-space-after/index.html.9017f53c4a6174c89ed9ac63e4fdaa15.json"},{"layout":"RulePage","next":"/user-guide/rules/at-rule-empty-line-before/","prev":"/user-guide/rules/media-query-list-comma-space-after/","description":"media-query-list-comma-space-before Require a single space or disallow whitespace before the commas of media query lists. The --fix option…","title":"media-query-list-comma-space-before","__filename":"user-guide/rules/media-query-list-comma-space-before.md","__url":"/user-guide/rules/media-query-list-comma-space-before/","__resourceUrl":"/user-guide/rules/media-query-list-comma-space-before/index.html","__dataUrl":"/user-guide/rules/media-query-list-comma-space-before/index.html.a2ad1104a48cbf5f4618740bbde3d38d.json"},{"layout":"RulePage","next":"/user-guide/rules/no-duplicate-at-import-rules/","prev":"/user-guide/rules/comment-no-empty/","description":"no-descending-specificity Disallow selectors of lower specificity from coming after overriding selectors of higher specificity. Source…","title":"no-descending-specificity","__filename":"user-guide/rules/no-descending-specificity.md","__url":"/user-guide/rules/no-descending-specificity/","__resourceUrl":"/user-guide/rules/no-descending-specificity/index.html","__dataUrl":"/user-guide/rules/no-descending-specificity/index.html.a538722bb1fd393de33c1a6c5b333fa6.json"},{"layout":"RulePage","next":"/user-guide/rules/no-duplicate-selectors/","prev":"/user-guide/rules/no-descending-specificity/","description":"no-duplicate-at-import-rules Disallow duplicate @import rules within a stylesheet. Options true The following patterns are considered…","title":"no-duplicate-at-import-rules","__filename":"user-guide/rules/no-duplicate-at-import-rules.md","__url":"/user-guide/rules/no-duplicate-at-import-rules/","__resourceUrl":"/user-guide/rules/no-duplicate-at-import-rules/index.html","__dataUrl":"/user-guide/rules/no-duplicate-at-import-rules/index.html.915d738666759e0a587b0522192bec7c.json"},{"layout":"RulePage","next":"/user-guide/rules/no-empty-source/","prev":"/user-guide/rules/no-duplicate-at-import-rules/","description":"no-duplicate-selectors Disallow duplicate selectors within a stylesheet. This rule checks for two types of duplication: Duplication of a…","title":"no-duplicate-selectors","__filename":"user-guide/rules/no-duplicate-selectors.md","__url":"/user-guide/rules/no-duplicate-selectors/","__resourceUrl":"/user-guide/rules/no-duplicate-selectors/index.html","__dataUrl":"/user-guide/rules/no-duplicate-selectors/index.html.2994fd47a2eb9d78d6f7bdfc19170ff1.json"},{"layout":"RulePage","next":null,"prev":"/user-guide/rules/no-missing-end-of-source-newline/","description":"no-empty-first-line Disallow empty first lines. This rule ignores empty sources. Use the no-empty-source rule to disallow these. The --fix…","title":"no-empty-first-line","__filename":"user-guide/rules/no-empty-first-line.md","__url":"/user-guide/rules/no-empty-first-line/","__resourceUrl":"/user-guide/rules/no-empty-first-line/index.html","__dataUrl":"/user-guide/rules/no-empty-first-line/index.html.3a5843750d63d2eebe8459f8ad04177d.json"},{"layout":"RulePage","next":"/user-guide/rules/no-extra-semicolons/","prev":"/user-guide/rules/no-duplicate-selectors/","description":"no-empty-source Disallow empty sources. A source containing only whitespace is considered empty. Options true The following patterns are…","title":"no-empty-source","__filename":"user-guide/rules/no-empty-source.md","__url":"/user-guide/rules/no-empty-source/","__resourceUrl":"/user-guide/rules/no-empty-source/index.html","__dataUrl":"/user-guide/rules/no-empty-source/index.html.ac45e500460de6bb9e13dcac714fa7ab.json"},{"layout":"RulePage","next":"/user-guide/rules/no-missing-end-of-source-newline/","prev":"/user-guide/rules/max-line-length/","description":"no-eol-whitespace Disallow end-of-line whitespace. The --fix option on the command line can automatically fix most of the problems reported…","title":"no-eol-whitespace","__filename":"user-guide/rules/no-eol-whitespace.md","__url":"/user-guide/rules/no-eol-whitespace/","__resourceUrl":"/user-guide/rules/no-eol-whitespace/index.html","__dataUrl":"/user-guide/rules/no-eol-whitespace/index.html.45a58718af7a81e97fcac73ff5dc22ab.json"},{"layout":"RulePage","next":"/user-guide/rules/no-invalid-double-slash-comments/","prev":"/user-guide/rules/no-empty-source/","description":"no-extra-semicolons Disallow extra semicolons. This rule ignores semicolons after Less mixins. The --fix option on the command line can…","title":"no-extra-semicolons","__filename":"user-guide/rules/no-extra-semicolons.md","__url":"/user-guide/rules/no-extra-semicolons/","__resourceUrl":"/user-guide/rules/no-extra-semicolons/index.html","__dataUrl":"/user-guide/rules/no-extra-semicolons/index.html.d774026e568e4ea3254ed64d94d9faed.json"},{"layout":"RulePage","next":"/user-guide/rules/color-named/","prev":"/user-guide/rules/no-extra-semicolons/","description":"no-invalid-double-slash-comments Disallow double-slash comments (//...) which are not supported by CSS and could lead to unexpected…","title":"no-invalid-double-slash-comments","__filename":"user-guide/rules/no-invalid-double-slash-comments.md","__url":"/user-guide/rules/no-invalid-double-slash-comments/","__resourceUrl":"/user-guide/rules/no-invalid-double-slash-comments/index.html","__dataUrl":"/user-guide/rules/no-invalid-double-slash-comments/index.html.ee8698a12d480890c43e85b25ce60f92.json"},{"layout":"RulePage","next":"/user-guide/rules/no-empty-first-line/","prev":"/user-guide/rules/no-eol-whitespace/","description":"no-missing-end-of-source-newline Disallow missing end-of-source newlines. Completely empty files are not considered violations. The --fix…","title":"no-missing-end-of-source-newline","__filename":"user-guide/rules/no-missing-end-of-source-newline.md","__url":"/user-guide/rules/no-missing-end-of-source-newline/","__resourceUrl":"/user-guide/rules/no-missing-end-of-source-newline/index.html","__dataUrl":"/user-guide/rules/no-missing-end-of-source-newline/index.html.bd9850b739477b1ec431bb04e748b683.json"},{"layout":"RulePage","next":"/user-guide/rules/color-hex-case/","prev":"/user-guide/rules/max-nesting-depth/","description":"no-unknown-animations Disallow unknown animations. This rule considers the identifiers of @keyframes rules defined within the same source…","title":"no-unknown-animations","__filename":"user-guide/rules/no-unknown-animations.md","__url":"/user-guide/rules/no-unknown-animations/","__resourceUrl":"/user-guide/rules/no-unknown-animations/index.html","__dataUrl":"/user-guide/rules/no-unknown-animations/index.html.e10573808c68ddb290b02ebba4dfd23c.json"},{"layout":"RulePage","next":"/user-guide/rules/number-no-trailing-zeros/","prev":"/user-guide/rules/function-whitespace-after/","description":"number-leading-zero Require or disallow a leading zero for fractional numbers less than 1. This rule ignores mixin parameters in Less. The…","title":"number-leading-zero","__filename":"user-guide/rules/number-leading-zero.md","__url":"/user-guide/rules/number-leading-zero/","__resourceUrl":"/user-guide/rules/number-leading-zero/index.html","__dataUrl":"/user-guide/rules/number-leading-zero/index.html.b0415e9db35de047b5ec5a788064dfe2.json"},{"layout":"RulePage","next":"/user-guide/rules/time-min-milliseconds/","prev":"/user-guide/rules/keyframes-name-pattern/","description":"number-max-precision Limit the number of decimal places allowed in numbers. Options int: Maximum number of decimal places allowed. For…","title":"number-max-precision","__filename":"user-guide/rules/number-max-precision.md","__url":"/user-guide/rules/number-max-precision/","__resourceUrl":"/user-guide/rules/number-max-precision/index.html","__dataUrl":"/user-guide/rules/number-max-precision/index.html.d8cab308046c02559981da5aee89b940.json"},{"layout":"RulePage","next":"/user-guide/rules/string-quotes/","prev":"/user-guide/rules/number-leading-zero/","description":"number-no-trailing-zeros Disallow trailing zeros in numbers. The --fix option on the command line can automatically fix some of the…","title":"number-no-trailing-zeros","__filename":"user-guide/rules/number-no-trailing-zeros.md","__url":"/user-guide/rules/number-no-trailing-zeros/","__resourceUrl":"/user-guide/rules/number-no-trailing-zeros/index.html","__dataUrl":"/user-guide/rules/number-no-trailing-zeros/index.html.268a054c87de217b1b960d90feed8388.json"},{"layout":"RulePage","next":"/user-guide/rules/property-no-vendor-prefix/","prev":"/user-guide/rules/custom-property-pattern/","description":"property-blacklist Specify a blacklist of disallowed properties. Options array|string: \\[\"array\", \"of\", \"unprefixed\", /properties/ or…","title":"property-blacklist","__filename":"user-guide/rules/property-blacklist.md","__url":"/user-guide/rules/property-blacklist/","__resourceUrl":"/user-guide/rules/property-blacklist/index.html","__dataUrl":"/user-guide/rules/property-blacklist/index.html.45deee226e346233056ccb18cadc2f27.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-bang-space-after/","prev":"/user-guide/rules/custom-property-empty-line-before/","description":"property-case Specify lowercase or uppercase for properties. The --fix option on the command line can automatically fix all of the problems…","title":"property-case","__filename":"user-guide/rules/property-case.md","__url":"/user-guide/rules/property-case/","__resourceUrl":"/user-guide/rules/property-case/index.html","__dataUrl":"/user-guide/rules/property-case/index.html.14eb6c3186c0da928e2e0bb8e94868fb.json"},{"layout":"RulePage","next":"/user-guide/rules/keyframe-declaration-no-important/","prev":"/user-guide/rules/unit-no-unknown/","description":"property-no-unknown Disallow unknown properties. This rule considers properties defined in the CSS Specifications and browser specific…","title":"property-no-unknown","__filename":"user-guide/rules/property-no-unknown.md","__url":"/user-guide/rules/property-no-unknown/","__resourceUrl":"/user-guide/rules/property-no-unknown/index.html","__dataUrl":"/user-guide/rules/property-no-unknown/index.html.a90d855781e874603f5979984cec5fbd.json"},{"layout":"RulePage","next":"/user-guide/rules/property-whitelist/","prev":"/user-guide/rules/property-blacklist/","description":"property-no-vendor-prefix Disallow vendor prefixes for properties. This rule does not blanketly condemn vendor prefixes. Instead, it uses…","title":"property-no-vendor-prefix","__filename":"user-guide/rules/property-no-vendor-prefix.md","__url":"/user-guide/rules/property-no-vendor-prefix/","__resourceUrl":"/user-guide/rules/property-no-vendor-prefix/index.html","__dataUrl":"/user-guide/rules/property-no-vendor-prefix/index.html.8ee4ab365532154242430fb3fe2c3d9b.json"},{"layout":"RulePage","next":"/user-guide/rules/declaration-block-no-redundant-longhand-properties/","prev":"/user-guide/rules/property-no-vendor-prefix/","description":"property-whitelist Specify a whitelist of allowed properties. This rule ignores variables ($sass, @less, --custom-property). Options…","title":"property-whitelist","__filename":"user-guide/rules/property-whitelist.md","__url":"/user-guide/rules/property-whitelist/","__resourceUrl":"/user-guide/rules/property-whitelist/index.html","__dataUrl":"/user-guide/rules/property-whitelist/index.html.b2f4d65872a633d1c9e36dac927f6971.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-colon-space-after/","prev":"/user-guide/rules/selector-list-comma-space-before/","description":"rule-empty-line-before Require or disallow an empty line before rules. This rule ignores rules that are the very first node in a source.…","title":"rule-empty-line-before","__filename":"user-guide/rules/rule-empty-line-before.md","__url":"/user-guide/rules/rule-empty-line-before/","__resourceUrl":"/user-guide/rules/rule-empty-line-before/index.html","__dataUrl":"/user-guide/rules/rule-empty-line-before/index.html.87eb29146e6ec7b73fb9620155552fa6.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-operator-space-after/","prev":"/user-guide/rules/block-opening-brace-space-before/","description":"selector-attribute-brackets-space-inside Require a single space or disallow whitespace on the inside of the brackets within attribute…","title":"selector-attribute-brackets-space-inside","__filename":"user-guide/rules/selector-attribute-brackets-space-inside.md","__url":"/user-guide/rules/selector-attribute-brackets-space-inside/","__resourceUrl":"/user-guide/rules/selector-attribute-brackets-space-inside/index.html","__dataUrl":"/user-guide/rules/selector-attribute-brackets-space-inside/index.html.0dac8af3af3e573d74113598ff0cee42.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-operator-whitelist/","prev":"/user-guide/rules/declaration-block-single-line-max-declarations/","description":"selector-attribute-operator-blacklist Specify a blacklist of disallowed attribute operators. Options array|string: \\[\"array\", \"of\",…","title":"selector-attribute-operator-blacklist","__filename":"user-guide/rules/selector-attribute-operator-blacklist.md","__url":"/user-guide/rules/selector-attribute-operator-blacklist/","__resourceUrl":"/user-guide/rules/selector-attribute-operator-blacklist/index.html","__dataUrl":"/user-guide/rules/selector-attribute-operator-blacklist/index.html.645df197aa131a74cfcab280c1e0f5c0.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-operator-space-before/","prev":"/user-guide/rules/selector-attribute-brackets-space-inside/","description":"selector-attribute-operator-space-after Require a single space or disallow whitespace after operators within attribute selectors. The --fix…","title":"selector-attribute-operator-space-after","__filename":"user-guide/rules/selector-attribute-operator-space-after.md","__url":"/user-guide/rules/selector-attribute-operator-space-after/","__resourceUrl":"/user-guide/rules/selector-attribute-operator-space-after/index.html","__dataUrl":"/user-guide/rules/selector-attribute-operator-space-after/index.html.7002eb2cb7d99933cf887a7ad18c839e.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-attribute-quotes/","prev":"/user-guide/rules/selector-attribute-operator-space-after/","description":"selector-attribute-operator-space-before Require a single space or disallow whitespace before operators within attribute selectors. The…","title":"selector-attribute-operator-space-before","__filename":"user-guide/rules/selector-attribute-operator-space-before.md","__url":"/user-guide/rules/selector-attribute-operator-space-before/","__resourceUrl":"/user-guide/rules/selector-attribute-operator-space-before/index.html","__dataUrl":"/user-guide/rules/selector-attribute-operator-space-before/index.html.45c51f229433923ec9a690f13db6a8f4.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-class-pattern/","prev":"/user-guide/rules/selector-attribute-operator-blacklist/","description":"selector-attribute-operator-whitelist Specify a whitelist of allowed attribute operators. Options array|string: \\[\"array\", \"of\",…","title":"selector-attribute-operator-whitelist","__filename":"user-guide/rules/selector-attribute-operator-whitelist.md","__url":"/user-guide/rules/selector-attribute-operator-whitelist/","__resourceUrl":"/user-guide/rules/selector-attribute-operator-whitelist/index.html","__dataUrl":"/user-guide/rules/selector-attribute-operator-whitelist/index.html.355f3980bdb03f569c80bc54eebba2d2.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-combinator-space-after/","prev":"/user-guide/rules/selector-attribute-operator-space-before/","description":"selector-attribute-quotes Require or disallow quotes for attribute values. Options string: \"always\"|\"never\" \"always\" Attribute values must…","title":"selector-attribute-quotes","__filename":"user-guide/rules/selector-attribute-quotes.md","__url":"/user-guide/rules/selector-attribute-quotes/","__resourceUrl":"/user-guide/rules/selector-attribute-quotes/index.html","__dataUrl":"/user-guide/rules/selector-attribute-quotes/index.html.806a7980642c19c3882a587f90e376ef.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-combinator-blacklist/","prev":"/user-guide/rules/selector-attribute-operator-whitelist/","description":"selector-class-pattern Specify a pattern for class selectors. This rule ignores non-outputting Less mixin definitions and called Less…","title":"selector-class-pattern","__filename":"user-guide/rules/selector-class-pattern.md","__url":"/user-guide/rules/selector-class-pattern/","__resourceUrl":"/user-guide/rules/selector-class-pattern/index.html","__dataUrl":"/user-guide/rules/selector-class-pattern/index.html.3901e5844c2bade19d42a43f2287acb0.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-combinator-whitelist/","prev":"/user-guide/rules/selector-class-pattern/","description":"selector-combinator-blacklist Specify a blacklist of disallowed combinators. This rule normalizes the whitespace descendant combinator to…","title":"selector-combinator-blacklist","__filename":"user-guide/rules/selector-combinator-blacklist.md","__url":"/user-guide/rules/selector-combinator-blacklist/","__resourceUrl":"/user-guide/rules/selector-combinator-blacklist/index.html","__dataUrl":"/user-guide/rules/selector-combinator-blacklist/index.html.140501c9970730d47c7035353bef6c08.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-combinator-space-before/","prev":"/user-guide/rules/selector-attribute-quotes/","description":"selector-combinator-space-after Require a single space or disallow whitespace after the combinators of selectors. Combinators are used to…","title":"selector-combinator-space-after","__filename":"user-guide/rules/selector-combinator-space-after.md","__url":"/user-guide/rules/selector-combinator-space-after/","__resourceUrl":"/user-guide/rules/selector-combinator-space-after/index.html","__dataUrl":"/user-guide/rules/selector-combinator-space-after/index.html.b6dfc5aebcbd80786e0360724083165c.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-descendant-combinator-no-non-space/","prev":"/user-guide/rules/selector-combinator-space-after/","description":"selector-combinator-space-before Require a single space or disallow whitespace before the combinators of selectors. Combinators are used to…","title":"selector-combinator-space-before","__filename":"user-guide/rules/selector-combinator-space-before.md","__url":"/user-guide/rules/selector-combinator-space-before/","__resourceUrl":"/user-guide/rules/selector-combinator-space-before/index.html","__dataUrl":"/user-guide/rules/selector-combinator-space-before/index.html.68cf0c558c1201779596807a93fe57cf.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-id-pattern/","prev":"/user-guide/rules/selector-combinator-blacklist/","description":"selector-combinator-whitelist Specify a whitelist of allowed combinators. This rule normalizes the whitespace descendant combinator to be a…","title":"selector-combinator-whitelist","__filename":"user-guide/rules/selector-combinator-whitelist.md","__url":"/user-guide/rules/selector-combinator-whitelist/","__resourceUrl":"/user-guide/rules/selector-combinator-whitelist/index.html","__dataUrl":"/user-guide/rules/selector-combinator-whitelist/index.html.4fd2217609ae7a8596fa59f13cfdeb71.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-class-case/","prev":"/user-guide/rules/selector-combinator-space-before/","description":"selector-descendant-combinator-no-non-space Disallow non-space characters for descendant combinators of selectors. This rule ensures that…","title":"selector-descendant-combinator-no-non-space","__filename":"user-guide/rules/selector-descendant-combinator-no-non-space.md","__url":"/user-guide/rules/selector-descendant-combinator-no-non-space/","__resourceUrl":"/user-guide/rules/selector-descendant-combinator-no-non-space/index.html","__dataUrl":"/user-guide/rules/selector-descendant-combinator-no-non-space/index.html.fafa5b1d90255a5c71b472d240e79041.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-attribute/","prev":"/user-guide/rules/selector-combinator-whitelist/","description":"selector-id-pattern Specify a pattern for ID selectors. Options regex|string A string will be translated into a RegExp like so new…","title":"selector-id-pattern","__filename":"user-guide/rules/selector-id-pattern.md","__url":"/user-guide/rules/selector-id-pattern/","__resourceUrl":"/user-guide/rules/selector-id-pattern/index.html","__dataUrl":"/user-guide/rules/selector-id-pattern/index.html.b17024d1c9c0129645e3dfd1e3eef66b.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-list-comma-newline-before/","prev":"/user-guide/rules/selector-type-case/","description":"selector-list-comma-newline-after Require a newline or disallow whitespace after the commas of selector lists. End-of-line comments are…","title":"selector-list-comma-newline-after","__filename":"user-guide/rules/selector-list-comma-newline-after.md","__url":"/user-guide/rules/selector-list-comma-newline-after/","__resourceUrl":"/user-guide/rules/selector-list-comma-newline-after/index.html","__dataUrl":"/user-guide/rules/selector-list-comma-newline-after/index.html.481aab7a587c7319ba1abb9a0b7b6671.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-list-comma-space-after/","prev":"/user-guide/rules/selector-list-comma-newline-after/","description":"selector-list-comma-newline-before Require a newline or disallow whitespace before the commas of selector lists. The --fix option on the…","title":"selector-list-comma-newline-before","__filename":"user-guide/rules/selector-list-comma-newline-before.md","__url":"/user-guide/rules/selector-list-comma-newline-before/","__resourceUrl":"/user-guide/rules/selector-list-comma-newline-before/index.html","__dataUrl":"/user-guide/rules/selector-list-comma-newline-before/index.html.f855594bdda06c0a0f96ed36e539278c.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-list-comma-space-before/","prev":"/user-guide/rules/selector-list-comma-newline-before/","description":"selector-list-comma-space-after Require a single space or disallow whitespace after the commas of selector lists. The --fix option on the…","title":"selector-list-comma-space-after","__filename":"user-guide/rules/selector-list-comma-space-after.md","__url":"/user-guide/rules/selector-list-comma-space-after/","__resourceUrl":"/user-guide/rules/selector-list-comma-space-after/index.html","__dataUrl":"/user-guide/rules/selector-list-comma-space-after/index.html.7d07464f15f70680817b227fa3a01a90.json"},{"layout":"RulePage","next":"/user-guide/rules/rule-empty-line-before/","prev":"/user-guide/rules/selector-list-comma-space-after/","description":"selector-list-comma-space-before Require a single space or disallow whitespace before the commas of selector lists. The --fix option on the…","title":"selector-list-comma-space-before","__filename":"user-guide/rules/selector-list-comma-space-before.md","__url":"/user-guide/rules/selector-list-comma-space-before/","__resourceUrl":"/user-guide/rules/selector-list-comma-space-before/index.html","__dataUrl":"/user-guide/rules/selector-list-comma-space-before/index.html.b2e10648c790e78d64e2b987b2e54315.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-class/","prev":"/user-guide/rules/selector-id-pattern/","description":"selector-max-attribute Limit the number of attribute selectors in a selector. This rule resolves nested selectors before counting the…","title":"selector-max-attribute","__filename":"user-guide/rules/selector-max-attribute.md","__url":"/user-guide/rules/selector-max-attribute/","__resourceUrl":"/user-guide/rules/selector-max-attribute/index.html","__dataUrl":"/user-guide/rules/selector-max-attribute/index.html.959596f2a99146155363ca7d18ea31ed.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-combinators/","prev":"/user-guide/rules/selector-max-attribute/","description":"selector-max-class Limit the number of classes in a selector. This rule resolves nested selectors before counting the number of classes in…","title":"selector-max-class","__filename":"user-guide/rules/selector-max-class.md","__url":"/user-guide/rules/selector-max-class/","__resourceUrl":"/user-guide/rules/selector-max-class/index.html","__dataUrl":"/user-guide/rules/selector-max-class/index.html.9cb30c14251938f6b45a8ac9289608db.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-compound-selectors/","prev":"/user-guide/rules/selector-max-class/","description":"selector-max-combinators Limit the number of combinators in a selector. This rule resolves nested selectors before counting the number of…","title":"selector-max-combinators","__filename":"user-guide/rules/selector-max-combinators.md","__url":"/user-guide/rules/selector-max-combinators/","__resourceUrl":"/user-guide/rules/selector-max-combinators/index.html","__dataUrl":"/user-guide/rules/selector-max-combinators/index.html.56baa12f5c68545eb5dc61ee438ec7c1.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-empty-lines/","prev":"/user-guide/rules/selector-max-combinators/","description":"selector-max-compound-selectors Limit the number of compound selectors in a selector. A compound selector is a chain of one or more simple…","title":"selector-max-compound-selectors","__filename":"user-guide/rules/selector-max-compound-selectors.md","__url":"/user-guide/rules/selector-max-compound-selectors/","__resourceUrl":"/user-guide/rules/selector-max-compound-selectors/index.html","__dataUrl":"/user-guide/rules/selector-max-compound-selectors/index.html.7f88c00dbeea7e77e1fb626b6f90bae0.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-id/","prev":"/user-guide/rules/selector-max-compound-selectors/","description":"selector-max-empty-lines Limit the number of adjacent empty lines within selectors. The --fix option on the command line can automatically…","title":"selector-max-empty-lines","__filename":"user-guide/rules/selector-max-empty-lines.md","__url":"/user-guide/rules/selector-max-empty-lines/","__resourceUrl":"/user-guide/rules/selector-max-empty-lines/index.html","__dataUrl":"/user-guide/rules/selector-max-empty-lines/index.html.4b256bad33e020e13d53327257f114a7.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-pseudo-class/","prev":"/user-guide/rules/selector-max-empty-lines/","description":"selector-max-id Limit the number of ID selectors in a selector. This rule resolves nested selectors before counting the number of ID…","title":"selector-max-id","__filename":"user-guide/rules/selector-max-id.md","__url":"/user-guide/rules/selector-max-id/","__resourceUrl":"/user-guide/rules/selector-max-id/index.html","__dataUrl":"/user-guide/rules/selector-max-id/index.html.b1cc56dc12b8961095a9f72ea9af3f5c.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-specificity/","prev":"/user-guide/rules/selector-max-id/","description":"selector-max-pseudo-class Limit the number of pseudo-classes in a selector. This rule resolves nested selectors before counting the number…","title":"selector-max-pseudo-class","__filename":"user-guide/rules/selector-max-pseudo-class.md","__url":"/user-guide/rules/selector-max-pseudo-class/","__resourceUrl":"/user-guide/rules/selector-max-pseudo-class/index.html","__dataUrl":"/user-guide/rules/selector-max-pseudo-class/index.html.25ec18c696831b370024421e6bdf6bd5.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-type/","prev":"/user-guide/rules/selector-max-pseudo-class/","description":"selector-max-specificity Limit the specificity of selectors. Visit the Specificity Calculator for visual representation of selector…","title":"selector-max-specificity","__filename":"user-guide/rules/selector-max-specificity.md","__url":"/user-guide/rules/selector-max-specificity/","__resourceUrl":"/user-guide/rules/selector-max-specificity/index.html","__dataUrl":"/user-guide/rules/selector-max-specificity/index.html.ef1697db66a14a7e72e2a65d806f227a.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-max-universal/","prev":"/user-guide/rules/selector-max-specificity/","description":"selector-max-type Limit the number of type selectors in a selector. This rule resolves nested selectors before counting the number of type…","title":"selector-max-type","__filename":"user-guide/rules/selector-max-type.md","__url":"/user-guide/rules/selector-max-type/","__resourceUrl":"/user-guide/rules/selector-max-type/index.html","__dataUrl":"/user-guide/rules/selector-max-type/index.html.6b64a1e8418c86905f14ddab60ee22c8.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-nested-pattern/","prev":"/user-guide/rules/selector-max-type/","description":"selector-max-universal Limit the number of universal selectors in a selector. This rule resolves nested selectors before counting the…","title":"selector-max-universal","__filename":"user-guide/rules/selector-max-universal.md","__url":"/user-guide/rules/selector-max-universal/","__resourceUrl":"/user-guide/rules/selector-max-universal/index.html","__dataUrl":"/user-guide/rules/selector-max-universal/index.html.49b57da481724a1c20b251debf9b4dde.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-no-qualifying-type/","prev":"/user-guide/rules/selector-max-universal/","description":"selector-nested-pattern Specify a pattern for the selectors of rules nested within rules. Non-standard selectors (e.g. selectors with Sass…","title":"selector-nested-pattern","__filename":"user-guide/rules/selector-nested-pattern.md","__url":"/user-guide/rules/selector-nested-pattern/","__resourceUrl":"/user-guide/rules/selector-nested-pattern/index.html","__dataUrl":"/user-guide/rules/selector-nested-pattern/index.html.bd795240854a449bf5ebcbc86e057faa.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-no-vendor-prefix/","prev":"/user-guide/rules/selector-nested-pattern/","description":"selector-no-qualifying-type Disallow qualifying a selector by type. A type selector is \"qualifying\" when it is compounded with (chained to)…","title":"selector-no-qualifying-type","__filename":"user-guide/rules/selector-no-qualifying-type.md","__url":"/user-guide/rules/selector-no-qualifying-type/","__resourceUrl":"/user-guide/rules/selector-no-qualifying-type/index.html","__dataUrl":"/user-guide/rules/selector-no-qualifying-type/index.html.e08db35310910d7c2c538c0cccacc5e2.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-class-blacklist/","prev":"/user-guide/rules/selector-no-qualifying-type/","description":"selector-no-vendor-prefix Disallow vendor prefixes for selectors. This rule does not blanketly condemn vendor prefixes. Instead, it uses…","title":"selector-no-vendor-prefix","__filename":"user-guide/rules/selector-no-vendor-prefix.md","__url":"/user-guide/rules/selector-no-vendor-prefix/","__resourceUrl":"/user-guide/rules/selector-no-vendor-prefix/index.html","__dataUrl":"/user-guide/rules/selector-no-vendor-prefix/index.html.8e8b72074bd04caa2304fb814c68a643.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-class-whitelist/","prev":"/user-guide/rules/selector-no-vendor-prefix/","description":"selector-pseudo-class-blacklist Specify a blacklist of disallowed pseudo-class selectors. This rule ignores selectors that use variable…","title":"selector-pseudo-class-blacklist","__filename":"user-guide/rules/selector-pseudo-class-blacklist.md","__url":"/user-guide/rules/selector-pseudo-class-blacklist/","__resourceUrl":"/user-guide/rules/selector-pseudo-class-blacklist/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-class-blacklist/index.html.ba6afdb6d50560cec8d0222260e92609.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-class-parentheses-space-inside/","prev":"/user-guide/rules/selector-descendant-combinator-no-non-space/","description":"selector-pseudo-class-case Specify lowercase or uppercase for pseudo-class selectors. The --fix option on the command line can…","title":"selector-pseudo-class-case","__filename":"user-guide/rules/selector-pseudo-class-case.md","__url":"/user-guide/rules/selector-pseudo-class-case/","__resourceUrl":"/user-guide/rules/selector-pseudo-class-case/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-class-case/index.html.dca830f1e0a08ea350774f30c2617db8.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-element-no-unknown/","prev":"/user-guide/rules/block-no-empty/","description":"selector-pseudo-class-no-unknown Disallow unknown pseudo-class selectors. This rule considers pseudo-class selectors defined in the CSS…","title":"selector-pseudo-class-no-unknown","__filename":"user-guide/rules/selector-pseudo-class-no-unknown.md","__url":"/user-guide/rules/selector-pseudo-class-no-unknown/","__resourceUrl":"/user-guide/rules/selector-pseudo-class-no-unknown/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-class-no-unknown/index.html.b2cca0b11e346a5302dd3b3fe3d06ab5.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-element-case/","prev":"/user-guide/rules/selector-pseudo-class-case/","description":"selector-pseudo-class-parentheses-space-inside Require a single space or disallow whitespace on the inside of the parentheses within…","title":"selector-pseudo-class-parentheses-space-inside","__filename":"user-guide/rules/selector-pseudo-class-parentheses-space-inside.md","__url":"/user-guide/rules/selector-pseudo-class-parentheses-space-inside/","__resourceUrl":"/user-guide/rules/selector-pseudo-class-parentheses-space-inside/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-class-parentheses-space-inside/index.html.b69ccae779f467fd79a59b65f854ea70.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-element-blacklist/","prev":"/user-guide/rules/selector-pseudo-class-blacklist/","description":"selector-pseudo-class-whitelist Specify a whitelist of allowed pseudo-class selectors. This rule ignores selectors that use variable…","title":"selector-pseudo-class-whitelist","__filename":"user-guide/rules/selector-pseudo-class-whitelist.md","__url":"/user-guide/rules/selector-pseudo-class-whitelist/","__resourceUrl":"/user-guide/rules/selector-pseudo-class-whitelist/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-class-whitelist/index.html.5ba04ec9df05b41a751a278d405dc21a.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-element-whitelist/","prev":"/user-guide/rules/selector-pseudo-class-whitelist/","description":"selector-pseudo-element-blacklist Specify a blacklist of disallowed pseudo-element selectors. This rule ignores: CSS2 pseudo-elements i.e.…","title":"selector-pseudo-element-blacklist","__filename":"user-guide/rules/selector-pseudo-element-blacklist.md","__url":"/user-guide/rules/selector-pseudo-element-blacklist/","__resourceUrl":"/user-guide/rules/selector-pseudo-element-blacklist/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-element-blacklist/index.html.be85e47327fea6ae57a28892275e4e79.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-pseudo-element-colon-notation/","prev":"/user-guide/rules/selector-pseudo-class-parentheses-space-inside/","description":"selector-pseudo-element-case Specify lowercase or uppercase for pseudo-element selectors. Options string: \"lower\"|\"upper\" \"lower\" The…","title":"selector-pseudo-element-case","__filename":"user-guide/rules/selector-pseudo-element-case.md","__url":"/user-guide/rules/selector-pseudo-element-case/","__resourceUrl":"/user-guide/rules/selector-pseudo-element-case/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-element-case/index.html.e02a33ef8091878c04c6a5b0bafef641.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-type-case/","prev":"/user-guide/rules/selector-pseudo-element-case/","description":"selector-pseudo-element-colon-notation Specify single or double colon notation for applicable pseudo-elements. The :: notation was chosen…","title":"selector-pseudo-element-colon-notation","__filename":"user-guide/rules/selector-pseudo-element-colon-notation.md","__url":"/user-guide/rules/selector-pseudo-element-colon-notation/","__resourceUrl":"/user-guide/rules/selector-pseudo-element-colon-notation/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-element-colon-notation/index.html.3d031a5b7e4ff90cb518c9a9bf6ba0f0.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-type-no-unknown/","prev":"/user-guide/rules/selector-pseudo-class-no-unknown/","description":"selector-pseudo-element-no-unknown Disallow unknown pseudo-element selectors. This rule considers pseudo-element selectors defined in the…","title":"selector-pseudo-element-no-unknown","__filename":"user-guide/rules/selector-pseudo-element-no-unknown.md","__url":"/user-guide/rules/selector-pseudo-element-no-unknown/","__resourceUrl":"/user-guide/rules/selector-pseudo-element-no-unknown/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-element-no-unknown/index.html.52a4ff7c4325ea3c21d85042ecdc4111.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-blacklist/","prev":"/user-guide/rules/selector-pseudo-element-blacklist/","description":"selector-pseudo-element-whitelist Specify a whitelist of allowed pseudo-element selectors. This rule ignores: CSS2 pseudo-elements i.e.…","title":"selector-pseudo-element-whitelist","__filename":"user-guide/rules/selector-pseudo-element-whitelist.md","__url":"/user-guide/rules/selector-pseudo-element-whitelist/","__resourceUrl":"/user-guide/rules/selector-pseudo-element-whitelist/index.html","__dataUrl":"/user-guide/rules/selector-pseudo-element-whitelist/index.html.9090fe0a75332a9b26be72ff93c64f43.json"},{"layout":"RulePage","next":"/user-guide/rules/selector-list-comma-newline-after/","prev":"/user-guide/rules/selector-pseudo-element-colon-notation/","description":"selector-type-case Specify lowercase or uppercase for type selectors. The --fix option on the command line can automatically fix all of the…","title":"selector-type-case","__filename":"user-guide/rules/selector-type-case.md","__url":"/user-guide/rules/selector-type-case/","__resourceUrl":"/user-guide/rules/selector-type-case/index.html","__dataUrl":"/user-guide/rules/selector-type-case/index.html.6e68dddc2d3e7b9a332305ee6e59a23e.json"},{"layout":"RulePage","next":"/user-guide/rules/media-feature-name-no-unknown/","prev":"/user-guide/rules/selector-pseudo-element-no-unknown/","description":"selector-type-no-unknown Disallow unknown type selectors. This rule considers tags defined in the HTML, SVG, and MathML specifications to…","title":"selector-type-no-unknown","__filename":"user-guide/rules/selector-type-no-unknown.md","__url":"/user-guide/rules/selector-type-no-unknown/","__resourceUrl":"/user-guide/rules/selector-type-no-unknown/index.html","__dataUrl":"/user-guide/rules/selector-type-no-unknown/index.html.29924fcee52ca01ac4c2ffbfb5cbc08f.json"},{"layout":"RulePage","next":"/user-guide/rules/value-no-vendor-prefix/","prev":"/user-guide/rules/unit-whitelist/","description":"shorthand-property-no-redundant-values Disallow redundant values in shorthand properties. This rule alerts you when you use redundant…","title":"shorthand-property-no-redundant-values","__filename":"user-guide/rules/shorthand-property-no-redundant-values.md","__url":"/user-guide/rules/shorthand-property-no-redundant-values/","__resourceUrl":"/user-guide/rules/shorthand-property-no-redundant-values/index.html","__dataUrl":"/user-guide/rules/shorthand-property-no-redundant-values/index.html.c998a4c8ec1a919301c924b9ee25ebd9.json"},{"layout":"RulePage","next":"/user-guide/rules/unit-no-unknown/","prev":"/user-guide/rules/function-linear-gradient-no-nonstandard-direction/","description":"string-no-newline Disallow (unescaped) newlines in strings. The spec says this: \"A string cannot directly contain a newline. To include a…","title":"string-no-newline","__filename":"user-guide/rules/string-no-newline.md","__url":"/user-guide/rules/string-no-newline/","__resourceUrl":"/user-guide/rules/string-no-newline/index.html","__dataUrl":"/user-guide/rules/string-no-newline/index.html.75a105faa93eb0cddb2896b9fd503a90.json"},{"layout":"RulePage","next":"/user-guide/rules/length-zero-no-unit/","prev":"/user-guide/rules/number-no-trailing-zeros/","description":"string-quotes Specify single or double quotes around strings. Quotes within comments are ignored. Single quotes in a charset @-rule are…","title":"string-quotes","__filename":"user-guide/rules/string-quotes.md","__url":"/user-guide/rules/string-quotes/","__resourceUrl":"/user-guide/rules/string-quotes/index.html","__dataUrl":"/user-guide/rules/string-quotes/index.html.efa8afaf84c62dcb4d8275632a359dc5.json"},{"layout":"RulePage","next":"/user-guide/rules/unit-blacklist/","prev":"/user-guide/rules/number-max-precision/","description":"time-min-milliseconds Specify the minimum number of milliseconds for time values. This rule checks positive numbers in transition-duration,…","title":"time-min-milliseconds","__filename":"user-guide/rules/time-min-milliseconds.md","__url":"/user-guide/rules/time-min-milliseconds/","__resourceUrl":"/user-guide/rules/time-min-milliseconds/index.html","__dataUrl":"/user-guide/rules/time-min-milliseconds/index.html.4fa7e19805539f79067428a894b927ec.json"},{"layout":"RulePage","next":"/user-guide/rules/unit-whitelist/","prev":"/user-guide/rules/time-min-milliseconds/","description":"unit-blacklist Specify a blacklist of disallowed units. Options array|string: \\[\"array\", \"of\", \"units\"]|\"unit\" Given: The following…","title":"unit-blacklist","__filename":"user-guide/rules/unit-blacklist.md","__url":"/user-guide/rules/unit-blacklist/","__resourceUrl":"/user-guide/rules/unit-blacklist/index.html","__dataUrl":"/user-guide/rules/unit-blacklist/index.html.28fceffdd7061346dd1d4a71b1e4c890.json"},{"layout":"RulePage","next":"/user-guide/rules/value-keyword-case/","prev":"/user-guide/rules/length-zero-no-unit/","description":"unit-case Specify lowercase or uppercase for units. The --fix option on the command line can automatically fix most of the problems…","title":"unit-case","__filename":"user-guide/rules/unit-case.md","__url":"/user-guide/rules/unit-case/","__resourceUrl":"/user-guide/rules/unit-case/index.html","__dataUrl":"/user-guide/rules/unit-case/index.html.a4659af2e2df9efecd522f5c057403f9.json"},{"layout":"RulePage","next":"/user-guide/rules/property-no-unknown/","prev":"/user-guide/rules/string-no-newline/","description":"unit-no-unknown Disallow unknown units. This rule considers units defined in the CSS Specifications, up to and including Editor's Drafts,…","title":"unit-no-unknown","__filename":"user-guide/rules/unit-no-unknown.md","__url":"/user-guide/rules/unit-no-unknown/","__resourceUrl":"/user-guide/rules/unit-no-unknown/index.html","__dataUrl":"/user-guide/rules/unit-no-unknown/index.html.4609e9b42c11610df95b118e9c02d54f.json"},{"layout":"RulePage","next":"/user-guide/rules/shorthand-property-no-redundant-values/","prev":"/user-guide/rules/unit-blacklist/","description":"unit-whitelist Specify a whitelist of allowed units. Options array|string: \\[\"array\", \"of\", \"units\"]|\"unit\" Given: The following patterns…","title":"unit-whitelist","__filename":"user-guide/rules/unit-whitelist.md","__url":"/user-guide/rules/unit-whitelist/","__resourceUrl":"/user-guide/rules/unit-whitelist/index.html","__dataUrl":"/user-guide/rules/unit-whitelist/index.html.73a385bb7db8de9e6c2c5727fc7a9664.json"},{"layout":"RulePage","next":"/user-guide/rules/value-list-comma-newline-after/","prev":"/user-guide/rules/unit-case/","description":"value-keyword-case Specify lowercase or uppercase for keywords values. This rule ignores <custom-idents> of known properties. Values…","title":"value-keyword-case","__filename":"user-guide/rules/value-keyword-case.md","__url":"/user-guide/rules/value-keyword-case/","__resourceUrl":"/user-guide/rules/value-keyword-case/index.html","__dataUrl":"/user-guide/rules/value-keyword-case/index.html.1938121b8d01e5150b7ed8489bdfac31.json"},{"layout":"RulePage","next":"/user-guide/rules/value-list-comma-newline-before/","prev":"/user-guide/rules/value-keyword-case/","description":"value-list-comma-newline-after Require a newline or disallow whitespace after the commas of value lists. The --fix option on the command…","title":"value-list-comma-newline-after","__filename":"user-guide/rules/value-list-comma-newline-after.md","__url":"/user-guide/rules/value-list-comma-newline-after/","__resourceUrl":"/user-guide/rules/value-list-comma-newline-after/index.html","__dataUrl":"/user-guide/rules/value-list-comma-newline-after/index.html.8b8935b8ab121285a18c7b81c6b95fc4.json"},{"layout":"RulePage","next":"/user-guide/rules/value-list-comma-space-after/","prev":"/user-guide/rules/value-list-comma-newline-after/","description":"value-list-comma-newline-before Require a newline or disallow whitespace before the commas of value lists. Options string:…","title":"value-list-comma-newline-before","__filename":"user-guide/rules/value-list-comma-newline-before.md","__url":"/user-guide/rules/value-list-comma-newline-before/","__resourceUrl":"/user-guide/rules/value-list-comma-newline-before/index.html","__dataUrl":"/user-guide/rules/value-list-comma-newline-before/index.html.b083810d383984216280b192950c8299.json"},{"layout":"RulePage","next":"/user-guide/rules/value-list-comma-space-before/","prev":"/user-guide/rules/value-list-comma-newline-before/","description":"value-list-comma-space-after Require a single space or disallow whitespace after the commas of value lists. The --fix option on the command…","title":"value-list-comma-space-after","__filename":"user-guide/rules/value-list-comma-space-after.md","__url":"/user-guide/rules/value-list-comma-space-after/","__resourceUrl":"/user-guide/rules/value-list-comma-space-after/index.html","__dataUrl":"/user-guide/rules/value-list-comma-space-after/index.html.dada4eb6aea377a66e4dddf1613e7eb2.json"},{"layout":"RulePage","next":"/user-guide/rules/value-list-max-empty-lines/","prev":"/user-guide/rules/value-list-comma-space-after/","description":"value-list-comma-space-before Require a single space or disallow whitespace before the commas of value lists. The --fix option on the…","title":"value-list-comma-space-before","__filename":"user-guide/rules/value-list-comma-space-before.md","__url":"/user-guide/rules/value-list-comma-space-before/","__resourceUrl":"/user-guide/rules/value-list-comma-space-before/index.html","__dataUrl":"/user-guide/rules/value-list-comma-space-before/index.html.c070af8b237b61d0b28563b97da69fe7.json"},{"layout":"RulePage","next":"/user-guide/rules/custom-property-empty-line-before/","prev":"/user-guide/rules/value-list-comma-space-before/","description":"value-list-max-empty-lines Limit the number of adjacent empty lines within value lists. The --fix option on the command line can…","title":"value-list-max-empty-lines","__filename":"user-guide/rules/value-list-max-empty-lines.md","__url":"/user-guide/rules/value-list-max-empty-lines/","__resourceUrl":"/user-guide/rules/value-list-max-empty-lines/index.html","__dataUrl":"/user-guide/rules/value-list-max-empty-lines/index.html.eb6d6fe89ebb2b4aa9e8825c756fa435.json"},{"layout":"RulePage","next":"/user-guide/rules/custom-property-pattern/","prev":"/user-guide/rules/shorthand-property-no-redundant-values/","description":"value-no-vendor-prefix Disallow vendor prefixes for values. This rule will only complain for prefixed standard values, and not for prefixed…","title":"value-no-vendor-prefix","__filename":"user-guide/rules/value-no-vendor-prefix.md","__url":"/user-guide/rules/value-no-vendor-prefix/","__resourceUrl":"/user-guide/rules/value-no-vendor-prefix/index.html","__dataUrl":"/user-guide/rules/value-no-vendor-prefix/index.html.878fcd46da747c55ee69c06f902430f4.json"},{"description":"Semantic versioning policy We follow semantic versioning. However, due to the nature of stylelint as a code quality tool, we've defined the…","title":"Semantic versioning policy","__filename":"user-guide/semantic-versioning-policy.md","__url":"/user-guide/semantic-versioning-policy/","__resourceUrl":"/user-guide/semantic-versioning-policy/index.html","__dataUrl":"/user-guide/semantic-versioning-policy/index.html.69b232ef30889894cb4c4c6742736a5b.json"},{"description":"Vision A mighty, modern linter and fixer for CSS and CSS-like languages. One that is: Complete - with coverage of all standard CSS syntax.…","title":"Vision","__filename":"vision.md","__url":"/vision/","__resourceUrl":"/vision/index.html","__dataUrl":"/vision/index.html.ed15f02cc03275475a7a9c9526075ea8.json"}];window.__INITIAL_STATE__ = {"pages":{"/":{"head":{"description":"stylelint NPM version Build Status Build status NPM Downloads Backers on Open Collective Sponsors on Open Collective A mighty, modern…","title":"stylelint"},"body":"<h1 id=\"stylelint\"><a href=\"#stylelint\" class=\"phenomic-HeadingAnchor\">#</a>stylelint</h1>\n<p><a href=\"https://www.npmjs.org/package/stylelint\"><img src=\"https://img.shields.io/npm/v/stylelint.svg\" alt=\"NPM version\"></a> <a href=\"https://travis-ci.org/stylelint/stylelint\"><img src=\"https://travis-ci.org/stylelint/stylelint.svg?branch=master\" alt=\"Build Status\"></a> <a href=\"https://ci.appveyor.com/project/stylelint/stylelint/branch/master\"><img src=\"https://ci.appveyor.com/api/projects/status/o60hlhki49t2333i/branch/master?svg=true\" alt=\"Build status\"></a> <a href=\"https://npmcharts.com/compare/stylelint?minimal=true\"><img src=\"https://img.shields.io/npm/dm/stylelint.svg\" alt=\"NPM Downloads\"></a> <a href=\"#backers\"><img src=\"https://opencollective.com/stylelint/backers/badge.svg\" alt=\"Backers on Open Collective\"></a> <a href=\"#sponsors\"><img src=\"https://opencollective.com/stylelint/sponsors/badge.svg\" alt=\"Sponsors on Open Collective\"></a></p>\n<p>A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.</p>\n<h2 id=\"features\"><a href=\"#features\" class=\"phenomic-HeadingAnchor\">#</a>Features</h2>\n<p>It's mighty because it:</p>\n<ul>\n<li>understands the <strong>latest CSS syntax</strong> including custom properties and level 4 selectors</li>\n<li>extracts <strong>embedded styles</strong> from HTML, markdown and CSS-in-JS object & template literals</li>\n<li>parses <strong>CSS-like syntaxes</strong> like SCSS, Sass, Less and SugarSS</li>\n<li>has over <strong>170 built-in rules</strong> to catch errors, apply limits and enforce stylistic conventions</li>\n<li>supports <strong>plugins</strong> so you can create your own rules or make use of plugins written by the community</li>\n<li>automatically <strong>fixes</strong> some violations (<em>experimental feature</em>)</li>\n<li>is <strong>well tested</strong> with over 10000 unit tests</li>\n<li>supports <strong>shareable configs</strong> that you can extend or create your own of</li>\n<li>is <strong>unopinionated</strong> so you can tailor the linter to your exact needs</li>\n<li>has a <strong>growing community</strong> and is used by <a href=\"https://code.facebook.com/posts/879890885467584/improving-css-quality-at-facebook-and-beyond/\">Facebook</a>, <a href=\"https://github.com/primer/stylelint-config-primer\">GitHub</a> and <a href=\"https://github.com/ntwb/stylelint-config-wordpress/\">WordPress</a></li>\n</ul>\n<h2 id=\"example-output\"><a href=\"#example-output\" class=\"phenomic-HeadingAnchor\">#</a>Example output</h2>\n<p><img src=\"https://github.com/stylelint/stylelint/raw/master/example.png?raw=true\" alt=\"Example\"></p>\n<h2 id=\"getting-started\"><a href=\"#getting-started\" class=\"phenomic-HeadingAnchor\">#</a>Getting started</h2>\n<p>It's easy to get started.</p>\n<p>First, decide how you want to use stylelint:</p>\n<ul>\n<li><a href=\"../user-guide/cli/\">on the command line</a></li>\n<li><a href=\"../user-guide/complementary-tools/#editor-plugins\">in your text editor</a>, for example in VS Code</li>\n<li><a href=\"../user-guide/complementary-tools/#build-tool-plugins\">in for your build tool</a>, for example in webpack</li>\n<li><a href=\"../user-guide/node-api/\">via the Node.js API</a></li>\n<li><a href=\"../user-guide/postcss-plugin/\">as a PostCSS plugin</a></li>\n</ul>\n<p>Then create your <a href=\"../user-guide/configuration/\">configuration object</a>. You can either extend a shared configuration or craft your own.</p>\n<h3 id=\"extend-a-shared-configuration\"><a href=\"#extend-a-shared-configuration\" class=\"phenomic-HeadingAnchor\">#</a>Extend a shared configuration</h3>\n<p>This is the quickest way to get started. We suggest you extend either:</p>\n<ul>\n<li><a href=\"https://github.com/stylelint/stylelint-config-recommended\"><code>stylelint-config-recommended</code></a></li>\n<li><a href=\"https://github.com/stylelint/stylelint-config-standard\"><code>stylelint-config-standard</code></a></li>\n</ul>\n<p>The recommended config turns on just the <a href=\"../user-guide/rules/#possible-errors\">possible error</a> rules. The standard config extends it by turning on 60 <a href=\"../user-guide/rules/#stylistic-issues\">stylistic rules</a>. We suggest you extend the:</p>\n<ul>\n<li>recommended config if you use a pretty printer like <a href=\"https://prettier.io/\">prettier</a></li>\n<li>standard config if you want stylelint to enforce stylistic conventions</li>\n</ul>\n<p>You may want to add rules to your config that <a href=\"../user-guide/rules/#limit-language-features\">limit language features</a> as these will be specific to your team and/or project.</p>\n<p><em>If you use language extensions, for example <code>@if</code> and <code>@extends</code>, you can use a community config like <a href=\"https://github.com/kristerkari/stylelint-config-recommended-scss\"><code>stylelint-config-recommended-scss</code></a> instead.</em></p>\n<h3 id=\"craft-your-own-config\"><a href=\"#craft-your-own-config\" class=\"phenomic-HeadingAnchor\">#</a>Craft your own config</h3>\n<p>Alternatively, you can <a href=\"../user-guide/about-rules/\">learn about the rules</a> and then either:</p>\n<ul>\n<li>start small and add only <a href=\"../user-guide/rules/\">the rules</a> you want to turn on</li>\n<li>copy, paste and adapt <a href=\"../user-guide/example-config/\">this example configuration</a> which lists all of the rules and their primary options</li>\n</ul>\n<h2 id=\"guides\"><a href=\"#guides\" class=\"phenomic-HeadingAnchor\">#</a>Guides</h2>\n<p>You'll find detailed information on customising stylelint in our guides:</p>\n<ul>\n<li><a href=\"../user-guide/\">user guide</a> - how to use and configure stylelint</li>\n<li><a href=\"../developer-guide/\">developer guide</a> - how to develop for stylelint</li>\n</ul>\n<h2 id=\"need-help\"><a href=\"#need-help\" class=\"phenomic-HeadingAnchor\">#</a>Need help?</h2>\n<p>Read our <a href=\"../user-guide/faq/\">FAQ</a> first.</p>\n<p>If the answer to your problem isn't there, then post it on <a href=\"https://stackoverflow.com/questions/tagged/stylelint\">stackoverflow</a>.</p>\n<p>Create a <a href=\"https://github.com/stylelint/stylelint/issues/new/choose\">new issue</a> if:</p>\n<ul>\n<li>you think you've found a bug</li>\n<li>you have a feature request</li>\n</ul>\n<p>If you're upgrading, read our <a href=\"../CHANGELOG/\">CHANGELOG</a> to learn what changes to expect in the latest version.</p>\n<h2 id=\"help-out\"><a href=\"#help-out\" class=\"phenomic-HeadingAnchor\">#</a>Help out</h2>\n<p>To help out, you can:</p>\n<ul>\n<li>get involved in any open <a href=\"https://github.com/stylelint/stylelint/issues\">issue</a> or <a href=\"https://github.com/stylelint/stylelint/pulls\">pull request</a></li>\n<li>create, enhance and debug rules using our <a href=\"../developer-guide/rules/\">working on rules</a> guide</li>\n<li>improve the <a href=\"../\">documentation</a></li>\n<li>add new tests to <em>absolutely anything</em></li>\n<li>improve the <a href=\"../developer-guide/rules/#improving-the-performance-of-a-rule\">performance of rules</a></li>\n<li>open <a href=\"https://github.com/stylelint/stylelint/issues/new/choose\">new issues</a> about your ideas for making stylelint better</li>\n<li>open <a href=\"https://github.com/stylelint/stylelint/compare\">a pull request</a> to show us how your idea works</li>\n<li>create or contribute to <a href=\"../user-guide/complementary-tools/\">ecosystem tools</a>, for example the plugin for <a href=\"https://github.com/shinnn/vscode-stylelint\">VS Code</a></li>\n</ul>\n<p>Our <a href=\"../VISION/\">VISION document</a> guides our work.</p>\n<h2 id=\"semantic-versioning-policy\"><a href=\"#semantic-versioning-policy\" class=\"phenomic-HeadingAnchor\">#</a>Semantic Versioning Policy</h2>\n<p>We have a <a href=\"../user-guide/semantic-versioning-policy/\">semantic versioning policy</a>. Any minor update may report more errors than the previous release. As such, we recommend using the tilde (<code>~</code>) in <code>package.json</code> e.g. <code>\"stylelint\": \"~7.2.0\"</code> to guarantee the results of your builds.</p>\n<h2 id=\"license\"><a href=\"#license\" class=\"phenomic-HeadingAnchor\">#</a>License</h2>\n<p><a href=\"https://raw.githubusercontent.com/stylelint/stylelint/master/LICENSE\">The MIT License</a>.</p>\n<h2 id=\"contributors\"><a href=\"#contributors\" class=\"phenomic-HeadingAnchor\">#</a>Contributors</h2>\n<p>This project exists thanks to all these people. <a href=\"../CONTRIBUTING/\">Contribute</a>.\n<a href=\"https://github.com/stylelint/stylelint/graphs/contributors\"><img src=\"https://opencollective.com/stylelint/contributors.svg?width=890\" /></a></p>\n<h2 id=\"backers\"><a href=\"#backers\" class=\"phenomic-HeadingAnchor\">#</a>Backers</h2>\n<p>Thank you to all our backers! <a href=\"https://opencollective.com/stylelint#backer\">Become a backer</a>.</p>\n<p><a href=\"https://opencollective.com/stylelint#backers\" target=\"_blank\"><img src=\"https://opencollective.com/stylelint/backers.svg?width=890\"></a></p>\n<h2 id=\"sponsors\"><a href=\"#sponsors\" class=\"phenomic-HeadingAnchor\">#</a>Sponsors</h2>\n<p>Support this project by becoming a sponsor. Your logo will show up here with a link to your website. <a href=\"https://opencollective.com/stylelint#sponsor\">Become a sponsor</a>.</p>\n<p><a href=\"https://opencollective.com/stylelint/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/stylelint/sponsor/0/avatar.svg\"></a></p>\n","__filename":"index.md","__url":"/","__resourceUrl":"/index.html","__dataUrl":"/index.html.7e37703522e86f7849366a05d022886c.json"}}}</script><script src="/phenomic.browser.da68f8824aaae495e457.js"></script></body></html>