Home
Pages 49
- Home
- About
- Avoid un anchored hovers
- Beware of box model size
- Build System
- Build System Integration
- Bulletproof font face
- Command line interface
- Contributing
- Developer Guide
- Disallow !important
- Disallow @import
- Disallow adjoining classes
- Disallow box sizing
- Disallow duplicate background images
- Disallow duplicate properties
- Disallow empty rules
- Disallow IDs in selectors
- Disallow negative text indent
- Disallow non alphabetical
- Disallow outline:none
- Disallow overqualified elements
- Disallow qualified headings
- Disallow selectors that look like regular expressions
- Disallow star hack
- Disallow too many floats
- Disallow underscore hack
- Disallow units for zero values
- Disallow universal selector
- Disallow unqualified attribute selectors
- Don't use too many font size declarations
- Don't use too many web fonts
- Headings should only be defined once
- IDE integration
- Ignoring parts of CSS during linting
- New Release
- Require all gradient definitions
- Require compatible vendor prefixes
- Require fallback colors
- Require properties appropriate for display
- Require shorthand properties
- Require standard property with vendor prefix
- Require use of known properties
- Rules
- Rules by ID
- Source Code
- Unit Tests
- Using in a Node.js Application
- Working with Rules
- Show 34 more pages…
Clone this wiki locally
About
Learn more about CSS Lint, its origins, and what the heck it is.
Rules
Not sure why a rule is important? This guide talks about each of the CSS Lint rules and explains how the rule is designed to improve your CSS.
Ignoring parts of CSS during linting
Sometimes you want to make an exception for a specific rule on a specific line. Other times you want to ignore all linting for parts of your CSS. Look here for examples on how to handle these situations.
Command Line Interface
All about the command line interface for CSS Lint. If you'd rather use a CLI program to verify your CSS instead of using the web site, then this guide is your best friend.
Build System Integration
Once you're familiar with the CSS Lint command line interface, the next step is to integrate it into your build system. This guide walks through using CSS Lint as part of your build.
IDE Integration
You can integrate CSS Lint into your favorite IDE to make checking your CSS code quality easy. In fact, some IDEs already have CSS Lint built in.
Developer Guide
The developer guide contains information for CSS Lint developers. If you want to contribute to the project, or even just tinker on your own, this guide explains how to get the source and work with it.