Skip to content

Instantly share code, notes, and snippets.

@autokludge
Created February 8, 2013 01:07
Show Gist options
  • Save autokludge/4735736 to your computer and use it in GitHub Desktop.
Save autokludge/4735736 to your computer and use it in GitHub Desktop.
linter-settings
{
"sublimelinter": "load-save",
"sublimelinter_executable_map":
{
"php": "C:/php/php.exe",
"javascript" : "C:/Program Files/nodejs/node.exe",
"css" : "C:/Program Files/nodejs/node.exe"
},
"jshint_options":
{
// enforcing opts
"bitwise": true,
"curly": true,
"eqeqeq": true,
"indent": 1,
"trailing": true,
// "strict": true,
// relaxing opts
// "evil": true, // suppress warnings about eval()
"regexdash": true,
"sub": true,
// environment flags
"browser": true // standard browser env
// "wsh": true, windows script host globals
},
"csslint_options":
{
"adjoining-classes": "warning",
"box-model": true,
"box-sizing": false, // doesn't work in ie6/7, but not hacking for old browsers
"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": "warning",
"important": "warning",
"known-properties": true,
"outline-none": "warning",
"overqualified-elements": "warning",
"qualified-headings": "warning",
"regex-selectors": "warning",
"rules-count": "warning",
"shorthand": "warning",
"star-property-hack": "warning",
"text-indent": "warning",
"underscore-property-hack": "warning",
"unique-headings": "warning",
"universal-selector": false, // `*` known to be slow, but only used for reset
"vendor-prefix": true,
"zero-units": "warning"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment