Created
February 17, 2015 03:44
-
-
Save bcomnes/8cba8a9253e47fdb2958 to your computer and use it in GitHub Desktop.
jsfmt.sublime-settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// autoformat on save | |
"autoformat": true, | |
// array of extensions for autoformat | |
"extensions": ["js", "sublime-settings"], | |
// options for jsfmt | |
"options": { | |
"preset": "default", | |
"indent": { | |
"value": " " | |
}, | |
// plugins included | |
"plugins": [ | |
//"esformatter-quotes", | |
// "esformatter-semicolons", | |
//"esformatter-braces", | |
//"esformatter-dot-notation" | |
], | |
"whiteSpace": { | |
"before": { | |
}, | |
"after": { | |
"FunctionName": 1, | |
} | |
}, | |
"lineBreak": { | |
"before": { | |
"IfStatementOpeningBrace": -1, | |
"ThrowStatement": -1 | |
}, | |
"after": { | |
"IfStatementClosingBrace": -1 | |
} | |
} | |
}, | |
"options-JSON": { | |
"plugins": [ | |
"esformatter-quotes" | |
], | |
"quotes": { | |
"type": "double" | |
} | |
}, | |
"node-path": "node", | |
"alert-errors": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment