canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS and CSS.
21 lines (20 loc) • 644 B
JSON
{
"preset": "jquery",
"requireSpacesInsideParentheses": {
"all": true,
"ignoreParenthesizedExpression": true,
"except": [ "{", "}", "[", "]", "function", "\"" ]
},
"disallowSpacesInsideParentheses": {
"only": [ "{", "}", "[", "]", "function" ]
},
"disallowSpacesInCallExpression": true,
"requirePaddingNewLinesBeforeLineComments": null,
"requireSpaceAfterLineComment": {
"allExcept": ["#", "="]
},
"disallowMultipleLineBreaks": null,
"requireCapitalizedComments": null,
"validateIndentation": null,
"validateCommentPosition": { "position": "above" }
}