SublimeLinter-csslint
SublimeLinter plugin for CSS, using csslint.
Details
Installs
- Total 225K
- Win 122K
- Mac 67K
- Linux 35K
Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 4 | 2 | 1 | 3 | 4 | 7 | 6 | 1 | 1 | 1 | 0 | 4 | 1 | 3 | 2 | 3 | 1 | 1 | 4 | 3 | 5 | 6 | 3 | 2 | 4 | 4 | 6 | 4 | 3 | 10 | 2 | 7 | 2 | 5 | 4 | 10 | 4 | 2 | 3 | 5 | 3 | 8 | 5 | 1 |
Mac | 1 | 3 | 2 | 3 | 0 | 0 | 0 | 3 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 2 | 4 | 0 | 1 | 4 | 1 | 4 | 2 | 0 | 0 | 1 | 1 | 3 | 1 | 3 | 1 | 1 | 1 | 2 | 0 | 3 | 1 | 2 | 1 | 0 | 1 | 1 | 2 | 3 | 2 |
Linux | 0 | 2 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 6 | 0 | 2 | 1 | 0 | 1 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 2 | 1 | 0 | 0 | 1 | 1 | 3 | 1 | 1 | 2 | 1 | 0 | 1 | 0 | 3 | 1 | 1 | 3 | 1 | 2 | 2 | 2 | 0 |
Readme
- Source
- raw.githubusercontent.com
SublimeLinter-csslint
This linter plugin for SublimeLinter provides an interface to csslint.
It will be used with files that have the “CSS” syntax, or within <style>
tags in HTML files.
Installation
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, ensure that csslint
(version 0.10.0 or later) is installed on your system.
To install csslint
, do the following:
npm install -g csslint
- If you are using
nvm
andzsh
, ensure that the line to loadnvm
is in.zshenv
and not.zshrc
.
Please make sure that the path to csslint
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html
Additional SublimeLinter-csslint settings:
Setting | Description |
---|---|
errors | A comma-separated list of rules to include as errors |
warnings | A comma-separated list of rules to include as warnings |
ignore | A comma-separated list of rules to ignore |
To get a list of the available rule names, execute csslint --list-rules
from a terminal.
You may also use any of the csslint
configuration options, including .csslintrc
files and embedded rules. Please see the csslint documentation for more information.