UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS and CSS.

24 lines (23 loc) 824 B
{ "preset": "jquery", "requireDotNotation": { "allExcept": ["snake_case", "keywords"] }, "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": true, "maximumLineLength": null, "requireVarDeclFirst": true, "requireSpaceAfterPrefixUnaryOperators": ["!"], "requireSpacesInsideBrackets": null, "requireSpacesInsideParentheses": { "all": true, "except": [ "{", "}", "[", "]", "function" ] }, "requireYodaConditions": ["==", "!=", "===", "!=="], "validateQuoteMarks": "'", "requireCapitalizedComments": { "allExcept": ["global", "exported", "jshint", "eslint", "jslint"] }, "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties", "requireBlocksOnNewline": true }