Skip to content

Instantly share code, notes, and snippets.

@ctorgalson
Last active November 23, 2015 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctorgalson/0375ad2c300ec0c2d571 to your computer and use it in GitHub Desktop.
Save ctorgalson/0375ad2c300ec0c2d571 to your computer and use it in GitHub Desktop.
Sample Sublime config file for enabling PHP_CodeSniffer
{
"user":{
"debug":true,
"delay":0.5,
"error_color":"D02000",
"gutter_theme":"Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes":[
],
"lint_mode":"background",
"linters":{
"php":{
"@disable":false,
"args":[
],
"excludes":[
]
},
"phpcs":{
"@disable":false,
"args":[
],
"excludes":[
"*.phtml",
"*.twig"
],
"standard":"~/.composer/vendor/drupal/coder/coder_sniffer/Drupal/"
}
},
"mark_style":"outline",
"no_column_highlights_line":false,
"passive_warnings":false,
"paths":{
"linux":[
],
"osx":[
],
"windows":[
]
},
"python_paths":{
"linux":[
],
"osx":[
],
"windows":[
]
},
"rc_search_limit":3,
"shell_timeout":10,
"show_errors_on_save":false,
"show_marks_in_minimap":true,
"syntax_map":{
"html (django)":"html",
"html (rails)":"html",
"html 5":"html",
"javascript (babel)":"javascript",
"magicpython":"python",
"php":"html",
"python django":"python"
},
"warning_color":"DDB700",
"wrap_find":true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment