ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-csslint

by SublimeLinter ST3 Top 100

SublimeLinter plugin for CSS, using csslint.

Details

Installs

  • Total 201K
  • Win 107K
  • OS X 62K
  • Linux 32K
Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 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
Windows 35 17 29 13 23 24 27 36 15 45 24 29 32 37 31 32 33 14 24 43 26 29 28 25 25 20 24 35 34 40 25 38 23 35 38 40 36 31 21 19 26 31 34 35 39 22
OS X 9 16 5 3 4 14 9 11 4 13 6 3 17 16 17 20 11 9 3 8 6 12 7 8 5 6 9 22 11 21 16 4 7 10 6 8 6 10 5 4 5 9 8 7 7 5
Linux 8 3 3 9 8 1 8 5 2 2 5 5 10 5 3 6 14 4 3 7 5 4 9 9 4 4 5 9 2 6 4 4 6 11 8 3 8 12 5 7 3 8 4 14 11 5

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-csslint

Build Status

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:

  1. Install Node.js (and npm on Linux).

  2. Install csslint by typing the following in a terminal:

npm install -g csslint
  1. If you are using nvm and zsh, ensure that the line to load nvm 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

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.