Skip to content

Instantly share code, notes, and snippets.

@brichards
Last active December 11, 2015 07:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brichards/4565379 to your computer and use it in GitHub Desktop.
Save brichards/4565379 to your computer and use it in GitHub Desktop.
Sublime Linter Settings
{
"sublimelinter_delay": 0.5,
"sublimelinter_mark_style": "fill",
"jshint_options" :
{
"evil": true,
"regexdash": true,
"browser": true,
"wsh": true,
"trailing": true,
"sub": true,
"smarttabs": true
},
// CSSLint options:
// Each rule can have three values: error|warning|true|false
// false => rule is disabled.
// true => alias to 'error'
// All rules are enabled by default.
// Currently the only difference between warnings and errors is in the prefix of the message in the Sublime status bar.
"csslint_options":
{
"adjoining-classes": "warning",
"box-model": false,
"box-sizing": "warning",
"compatible-vendor-prefixes": "warning",
"display-property-grouping": true,
"duplicate-background-images": "warning",
"duplicate-properties": true,
"empty-rules": true,
"errors": true,
"fallback-colors": "warning",
"floats": "warning",
"font-faces": "warning",
"font-sizes": "warning",
"gradients": "warning",
"ids": false,
"import": false,
"important": false,
"known-properties": true,
"outline-none": "warning",
"overqualified-elements": false,
"qualified-headings": false,
"regex-selectors": "warning",
"rules-count": "warning",
"shorthand": false,
"text-indent": "warning",
"unique-headings": false,
"universal-selector": "warning",
"vendor-prefix": false,
"zero-units": "warning"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment