This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Preset: add more comma rules to jquery and airbnb presets

  • Loading branch information...
markelog committed Oct 2, 2015
1 parent ad9dd8d commit 94f175eec822f62528e6e5ca5aab0eb1de037243
Showing with 3 additions and 0 deletions.
  1. +2 −0 presets/airbnb.json
  2. +1 −0 presets/jquery.json
View
@@ -26,6 +26,8 @@
"disallowMixedSpacesAndTabs": true,
"disallowTrailingWhitespace": true,
"requireTrailingComma": { "ignoreSingleLine": true },
"disallowSpaceBeforeComma": true,

This comment has been minimized.

Show comment
Hide comment
@markelog

markelog Oct 12, 2015

Member

Nice catch! Would you like to send us pull request?

@markelog

markelog Oct 12, 2015

Member

Nice catch! Would you like to send us pull request?

"requireSpaceAfterComma": true,
"disallowYodaConditions": true,
"disallowKeywords": [ "with" ],
"disallowKeywordsOnNewLine": ["else"],
View
@@ -30,6 +30,7 @@
"disallowMultipleLineStrings": true,
"disallowTrailingComma": true,
"disallowSpaceBeforeComma": true,
"requireSpaceAfterComma": true,
"requireSpaceBeforeBlockStatements": true,
"requireSpacesInFunctionExpression": {

0 comments on commit 94f175e

Please sign in to comment.