Skip to content

Instantly share code, notes, and snippets.

@BenWard
Created May 2, 2012 20:52
Show Gist options
  • Save BenWard/2580401 to your computer and use it in GitHub Desktop.
Save BenWard/2580401 to your computer and use it in GitHub Desktop.
Sublime Text 2 Settings
{
"theme": "Soda Light.sublime-theme",
"color_scheme": "Packages/Color Scheme - Default/Sunburst.tmTheme",
"font_size": 13,
"tab_size": 2,
"draw_white_space": "all",
"gutter": true,
"margin": 2,
"rulers": [78, 80],
"draw_minimap_border": false,
"highlight_line": true,
"shift_tab_unindent": false,
"show_tab_close_buttons": true,
// Completion and Corrections
"dictionary": "Packages/Language - English/en_GB.dic",
"auto_complete_commit_on_tab": false,
// File settings
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"default_line_ending": "unix",
// Bracket Matching
"match_brackets": true,
"match_brackets_content": true,
"match_brackets_square": true,
"match_brackets_braces": true,
"match_brackets_angle": true,
"match_tags": true,
// Linting
"sublimelinter_popup_errors_on_save": true,
"sublimelinter_fill_outlines": false,
"sublimelinter_gutter_marks": true,
"jshint_options": {
"sub": true, // suggest object['foo'] object.foo
// "evil": false, // do not supress warnings about eval()
// "regexdash": false, // flag unescaped - in regexes
"browser": true, // browser globals
"trailing": true, // disallow trailing whitespace
"undef": true, // flag undefined vars
"onevar": true, // One `var` per function
"laxcomma": true, // comma-first style allowed
"asi": true // allow missing semi-colons
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment