Last active
August 29, 2015 14:18
-
-
Save alekseykulikov/6b4d9b99973921270046 to your computer and use it in GitHub Desktop.
Code Style: ~/.jscsrc and atom's linter + linter-jscs
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
{ | |
"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