Skip to content

Instantly share code, notes, and snippets.

@profOnno
Created December 18, 2015 16:16
Show Gist options
  • Save profOnno/3cd73649ea41804d9bfc to your computer and use it in GitHub Desktop.
Save profOnno/3cd73649ea41804d9bfc to your computer and use it in GitHub Desktop.
{
"preset": "idiomatic",
"validateIndentation": 4,
"disallowTabs": true,
"requireSpacesInsideParentheses": null,
"disallowSpacesInsideParentheses": null,
"requireSpacesInsideBrackets": null,
"disallowSpacesInsideBrackets": true,
"requireSpacesInsideObjectBrackets": null,
"requireCamelCaseOrUpperCaseIdentifiers": null,
"requireCurlyBraces": null,
"maximumLineLength": {
"value": 120,
"tabSize": 4,
"allExcept": ["urlComments", "regex"]
},
"requireSpaceBeforeBinaryOperators": [
"=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
"&=", "|=", "^=", "+=",
"-", "*", "/", "%", "<<", ">>", ">>>", "&",
"|", "^", "&&", "||", "===", "==", ">=",
"<=", "<", ">", "!=", "!=="
],
"requireSpaceAfterBinaryOperators": null
}
~
@profOnno
Copy link
Author

removed the '+' at requireSpaceBeforeBinaryOperator so "var i: "+i+"\n" is valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment