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 212K
  • Win 114K
  • Mac 64K
  • Linux 33K
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 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
Windows 22 12 14 10 22 15 17 19 17 9 25 11 12 12 22 16 16 16 18 19 16 20 28 13 12 13 25 19 26 20 11 17 12 16 16 13 15 11 15 23 16 21 25 21 12 12
Mac 4 12 5 4 3 9 4 4 7 4 6 6 18 7 4 5 7 14 6 8 1 13 4 7 6 3 12 5 6 3 8 4 8 8 5 9 13 5 3 2 5 5 8 5 7 3
Linux 7 7 4 3 4 5 7 2 7 1 4 2 4 6 1 3 4 1 4 2 3 2 5 4 3 3 2 6 11 5 1 1 2 2 4 11 4 5 5 9 8 3 7 3 3 4

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.