FreaKzero
3/19/2015 - 8:56 AM

JSHINT Sublime 3 Settings

JSHINT Sublime 3 Settings

{
  // Simply using `node` without specifying a path sometimes doesn't work :(
  // https://github.com/victorporof/Sublime-JSHint#oh-noez-command-not-found
  // http://nodejs.org/#download
  "node_path": {
    "windows": "D:/node/node.exe",
    "linux": "/usr/bin/nodejs",
    "osx": "/usr/local/bin/node"
  },

  // Automatically lint on edit (Sublime Text 3 only).
  "lint_on_edit": false,

  // Configurable duration before re-linting.
  "lint_on_edit_timeout": 1,

  // Automatically lint when a file is loaded.
  "lint_on_load": true,

  // Automatically lint when a file is saved.
  "lint_on_save": true,

  // Highlight problematic regions when selected.
  "highlight_selected_regions": true,

  // Log the settings passed to JSHint from `.jshintrc`.
  "print_diagnostics": true
}
{
  "browser": true,
  "esnext": true,
  "globals": {
    "require": true,
    "define": true,
    "app": true
  },
  "jquery": true,
  "globalstrict": false,
  "quotmark": true,
  "undef": true,
  "unused": true,
  "browser": true,
  "devel": true,
  "validthis": true,
  "plusplus": false,
  "evil": true,
  "eqnull": true,
  "debug": false,
  "boss": true,
  "curly": true,
  "camelcase": true
}