Преглед изворни кода

chore(.jscs.json): fix .jscs.json to match our code-style

Estevão Soares dos Santos пре 10 година
родитељ
комит
a79f581094
1 измењених фајлова са 3 додато и 7 уклоњено
  1. 3 7
      .jscs.json

+ 3 - 7
.jscs.json

@@ -10,11 +10,6 @@
   ],
   "requireOperatorBeforeLineBreak": true,
   "requireCamelCaseOrUpperCaseIdentifiers": true,
-  "maximumLineLength": {
-    "value": 80,
-    "allowComments": true,
-    "allowRegex": true
-  },
   "validateIndentation": 2,
   "validateQuoteMarks": "'",
   "disallowMultipleLineStrings": true,
@@ -78,8 +73,9 @@
   "requireSpacesInFunctionExpression": {
     "beforeOpeningCurlyBrace": true
   },
-  "disallowSpacesInAnonymousFunctionExpression": {
-    "beforeOpeningRoundBrace": true
+  "requireSpacesInAnonymousFunctionExpression": {
+    "beforeOpeningRoundBrace": true,
+    "beforeOpeningCurlyBrace": true
   },
   "disallowSpacesInsideObjectBrackets": "all",
   "disallowSpacesInsideArrayBrackets": "all",