Skip to content

Instantly share code, notes, and snippets.

@A
Created March 14, 2015 16:08
Show Gist options
  • Save A/acf92afe7b9e9a48441e to your computer and use it in GitHub Desktop.
Save A/acf92afe7b9e9a48441e to your computer and use it in GitHub Desktop.
{
"disallowMultipleVarDecl": true,
"disallowPaddingNewlinesBeforeKeywords": [
"case",
"catch",
"do",
"else",
"for",
"function",
"if",
"return",
"switch",
"try",
"typeof",
"void",
"while"
],
"disallowPaddingNewlinesInBlocks": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"esnext": true,
"maximumLineLength": 120,
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
"requireCapitalizedConstructors": true,
"requireCurlyBraces": [
"case",
"catch",
"default",
"do",
"else",
"for",
"if",
"try",
"while"
],
"requireDotNotation": true,
"requireLineBreakAfterVariableAssignment": true,
"requireParenthesesAroundIIFE": true,
"requireSpaceAfterBinaryOperators": true,
"requireSpaceBeforeBinaryOperators": true,
"requireSpaceAfterKeywords": [
"else",
"while",
"catch",
"?",
":"
],
"requireSpaceBeforeKeywords": [
"else",
"while",
"catch",
"?",
":"
],
"requireSpaceAfterLineComment": true,
"requireSpaceBeforeObjectValues": true,
"requireSpaceBetweenArguments": true,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": {
"beforeOpeningCurlyBrace": true
},
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"validateQuoteMarks": "'"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment