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

Sublime​Linter-csslint

by SublimeLinter ST3 Trending Top 100

SublimeLinter plugin for CSS, using csslint.

Details

Installs

  • Total 199K
  • Win 106K
  • OS X 61K
  • Linux 31K
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 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11
Windows 24 28 46 40 47 32 41 24 21 34 19 32 26 25 24 19 35 40 45 28 32 22 19 21 39 30 40 27 21 21 21 40 23 40 34 26 21 25 43 34 34 25 35 23 37 26
OS X 6 8 6 11 6 9 13 10 5 9 11 10 15 13 2 9 11 7 9 13 12 5 6 8 8 12 15 7 9 7 9 15 10 7 18 9 11 17 15 6 13 8 3 6 11 14
Linux 1 7 9 8 3 6 5 7 3 7 3 12 4 8 6 4 7 7 5 9 8 6 5 7 8 7 5 6 5 1 4 6 7 7 9 3 5 10 2 5 7 11 6 4 5 8

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.