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 183K
  • Win 96K
  • OS X 58K
  • Linux 29K
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 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8
Windows 24 46 58 56 60 56 24 34 48 52 54 56 40 33 42 59 50 50 62 41 30 25 42 54 58 53 54 41 46 55 57 50 81 46 28 29 46 53 57 70 62 22 38 50 58 61
OS X 13 17 20 21 17 15 7 13 15 16 15 25 15 13 9 11 17 26 23 16 10 12 13 22 19 24 17 13 9 17 22 20 17 18 12 11 17 17 28 20 15 12 14 27 17 26
Linux 9 12 13 11 16 11 8 10 12 9 12 13 15 10 9 10 11 7 9 7 13 8 10 6 12 10 11 16 7 11 9 8 10 10 11 5 13 19 12 13 12 8 14 10 10 14

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.