1. /*
  2. SublimeLinter default settings
  3. */
  4. {
  5. /*
  6. Sets the mode in which SublimeLinter runs:
  7.  
  8. true - Linting occurs in the background as you type (the default).
  9. false - Linting only occurs when you initiate it.
  10. "load-save" - Linting occurs only when a file is loaded and saved.
  11. */
  12. "sublimelinter": true,
  13.  
  14. /*
  15. Maps linters to executables for non-built in linters. If the executable
  16. is not in the default system path, or on posix systems in /usr/local/bin
  17. or ~/bin, then you must specify the full path to the executable.
  18. Linter names should be lowercase.
  19.  
  20. This is the effective default map; your mappings may override these.
  21.  
  22. "sublimelinter_executable_map":
  23. {
  24. "perl": "perl",
  25. "php": "php",
  26. "ruby": "ruby"
  27. },
  28. */
  29. "sublimelinter_executable_map":
  30. {
  31. "php" : "D:/Wamp/bin/php/php5.3.8"
  32. },
  33.  
  34. /*
  35. Maps syntax names to linters. This allows variations on a syntax
  36. (for example "Python (Django)") to be linted. The key is
  37. the base filename of the .tmLanguage syntax files, and the value
  38. is the linter name (lowercase) the syntax maps to.
  39. */
  40. "sublimelinter_syntax_map":
  41. {
  42. "Python Django": "python"
  43. },
  44.  
  45. // An array of linter names to disable. Names should be lowercase.
  46. "sublimelinter_disable":
  47. ["java", "coffeescript", "objective-j", "perl", "python", "ruby", "pylint"
  48. ],
  49.  
  50. /*
  51. The minimum delay in seconds (fractional seconds are okay) before
  52. a linter is run when the "sublimelinter" setting is true. This allows
  53. you to have background linting active, but defer the actual linting
  54. until you are idle. When this value is greater than the built in linting delay,
  55. errors are erased when the file is modified, since the assumption is
  56. you don't want to see errors while you type.
  57. */
  58. "sublimelinter_delay": 0,
  59.  
  60. // If true, lines with errors or warnings will be filled in with the outline color.
  61. "sublimelinter_fill_outlines": false,
  62.  
  63. // If true, lines with errors or warnings will have a gutter mark.
  64. "sublimelinter_gutter_marks": false,
  65.  
  66. // If true, the find next/previous error commands will wrap.
  67. "sublimelinter_wrap_find": true,
  68.  
  69. // If true, when the file is saved any errors will appear in a popup list
  70. "sublimelinter_popup_errors_on_save": false,
  71.  
  72. // jshint: options for linting JavaScript. See http://jshint.com/#docs for more info.
  73. // By deault, eval is allowed.
  74. "jshint_options":
  75. {
  76. "evil": true,
  77. "regexdash": true,
  78. "browser": true,
  79. "wsh": true,
  80. "trailing": true,
  81. "sub": true
  82. },
  83.  
  84. // A list of pep8 error numbers to ignore. By default "line too long" errors are ignored.
  85. // The list of error codes is in this file: https://github.com/jcrocholl/pep8/blob/master/pep8.py.
  86. // Search for "Ennn:", where nnn is a 3-digit number.
  87. "pep8_ignore":
  88. [
  89. "E501"
  90. ],
  91.  
  92. /*
  93. If you use SublimeLinter for pyflakes checks, you can ignore some of the "undefined name xxx"
  94. errors (comes in handy if you work with post-processors, globals/builtins available only at runtime, etc.).
  95. You can control what names will be ignored with the user setting "pyflakes_ignore".
  96.  
  97. Example:
  98.  
  99. "pyflakes_ignore":
  100. [
  101. "some_custom_builtin_o_mine",
  102. "A_GLOBAL_CONSTANT"
  103. ],
  104. */
  105. "pyflakes_ignore":
  106. [
  107. ],
  108.  
  109. /*
  110. Ordinarily pyflakes will issue a warning when 'from foo import *' is used,
  111. but it is ignored since the warning is not that helpful. If you want to see this warning,
  112. set this option to false.
  113. */
  114. "pyflakes_ignore_import_*": true,
  115.  
  116. // Objective-J: if true, non-ascii characters are flagged as an error.
  117. "sublimelinter_objj_check_ascii": false
  118. }