Skip to content

Instantly share code, notes, and snippets.

@alekseykulikov alekseykulikov/.jscsrc

Last active Aug 29, 2015
What would you like to do?
Code Style: ~/.jscsrc and atom's linter + linter-jscs
"preset": "node-style-guide",
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", // for external APIs
"requireCapitalizedComments": null, // why???
"requireCurlyBraces": null, // allow one lines
"requireTrailingComma": null, optional
// personal style
"maximumLineLength": { // 80 is a goal, but sometimes it's necessary
"value": 120,
"allowComments": true
"requireSpacesInConditionalExpression": true, // a == b ? 1 : 2
"requireSpacesInsideObjectBrackets": "all" // force { my: "key" },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.