Skip to content

Instantly share code, notes, and snippets.

@autokludge
Created February 8, 2013 01:07
Show Gist options
  • Select an option

  • Save autokludge/4735736 to your computer and use it in GitHub Desktop.

Select an option

Save autokludge/4735736 to your computer and use it in GitHub Desktop.

Revisions

  1. autokludge created this gist Feb 8, 2013.
    62 changes: 62 additions & 0 deletions SublimeLinter.sublime-settings
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,62 @@
    {
    "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"
    }
    }