Skip to content

Instantly share code, notes, and snippets.

@mereformalities
Last active August 29, 2015 14:17
Show Gist options
  • Save mereformalities/a509cf1fcae424df1531 to your computer and use it in GitHub Desktop.
Save mereformalities/a509cf1fcae424df1531 to your computer and use it in GitHub Desktop.
Sublime Text Settings
{
"ruby": "~/.rvm/bin/rvm-auto-ruby",
"save_on_beautify": false,
"tab_size": 2,
"translate_tabs_to_spaces": true
}
{
"tab_size": 2,
"translate_tabs_to_spaces": true,
"word_wrap": false
}
{
"tab_size": 4,
"translate_tabs_to_spaces": true,
"word_wrap": false
}
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Railscasts 2.tmTheme",
"create_window_at_startup": false,
"detect_slow_plugins": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.tar",
"*.tgz",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.gitkeep",
"*.keep",
"*.class",
"*.psd",
"*.db"
],
"folder_exclude_patterns":
[
".svn",
".git",
".sass-cache",
"*.old"
],
"font_face": "Monaco",
"font_options":
[
"subpixel_antialias",
"no_bold"
],
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage",
"HexViewer"
],
"indent_guide_options":
[
"draw_active"
],
"line_padding_bottom": -1,
"margin": 0,
"match_selection": false,
"ruby_rspec_exec": "bundle exec rspec",
"ruby_unit_exec": "bundle exec ruby",
"scroll_speed": 0.94,
"theme": "Soda Light.sublime-theme",
"trim_trailing_white_space_on_save": true
}
{
"bold_folder_labels": false,
"color_scheme": "Packages/User/Themes/Monokai Bright (SL).tmTheme",
"create_window_at_startup": false,
"detect_indentation": true,
"detect_slow_plugins": true,
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
"*.dll",
"*.obj",
"*.o",
"*.a",
"*.lib",
"*.so",
"*.tar",
"*.tgz",
"*.dylib",
"*.ncb",
"*.sdf",
"*.suo",
"*.pdb",
"*.idb",
".DS_Store",
"*.gitkeep",
"*.keep",
"*.class",
"*.psd",
"*.db"
],
"folder_exclude_patterns":
[
".bundle",
".git",
".sass-cache",
".svn",
"*.old"
],
"font_options":
[
"no_bold"
],
"highlight_line": true,
"highlight_modified_tabs": true,
"indent_guide_options":
[
"draw_active"
],
"line_padding_bottom": 1,
"overlay_scroll_bars": "enabled",
"rulers":
[
82
],
"scroll_past_end": false,
"trim_trailing_white_space_on_save": true
}
/*
SublimeLinter user settings
*/
{
/*
Sets the mode in which SublimeLinter runs:
true - Linting occurs in the background as you type (the default).
false - Linting only occurs when you initiate it.
"load-save" - Linting occurs only when a file is loaded and saved.
"save-only" - Linting occurs only when a file is saved.
*/
"sublimelinter": "save-only",
// Javascript linter: "gjslint" to use the closure javascript linter (if available),
// or either "jshint" or "jslint" to use a built in linter.
"javascript_linter": "jshint",
// jshint: options for linting JavaScript. See http://www.jshint.com/options/ for more info.
// By deault, eval is allowed.
"jshint_options": {
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your
// **User** "jshint_options". This issue affects users with tabs for indentation.
// This fix was reverted due to a conflict with using the `"white": true` option.
// Documentation: http://www.jshint.com/docs/
"indent" : 1,
"evil" : false,
"regexdash" : true,
"forin" : true,
"bitwise" : true,
"eqnull" : false,
"eqeqeq" : true,
"latedef" : true,
"sub" : true,
// Syntax
"strict" : false, // Don't want to declare this in every source file
"trailing" : true,
"smarttabs" : true,
"camelcase" : true, // Yes for functions, no for json object properties
"quotmark" : true,
"newcap" : true, // Except for dynatic constructors
"noarg" : true,
"nonew" : true,
"regexp" : true,
"undef" : true, // How to predefine AppName?
"unused" : false, // This should not call out unused params
"eqeqeq" : true,
"maxlen" : 110,
"maxparams" : 4,
"immed" : true,
// Globals
"browser" : true,
"worker" : true,
"wsh" : true,
"node" : true,
"jquery" : true,
"couch" : true,
"predef" : ["define", "require", "describe", "it", "expect", "_"],
// Allow breakpoints and console
"debug" : true,
"devel" : true
},
// The set of annotation phrases to highlight
"annotations": ["TODO", "README", "FIXME"],
// Fix ruby 1.9 syntax linting
"sublimelinter_executable_map": {
"ruby": "~/.rvm/bin/rvm-auto-ruby"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment