]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS & use `null` to override... 12950/head
authorChris Rebert <code@rebertia.com>
Thu, 6 Mar 2014 21:10:40 +0000 (13:10 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 6 Mar 2014 21:15:32 +0000 (13:15 -0800)
Gruntfile.js
js/.jscsrc

index 0d7d0b68db94910fc2c4881e0eefd6344f1194eb..8afc650d88cbe337436084b6b376073eabdd3d7a 100644 (file)
@@ -66,6 +66,7 @@ module.exports = function (grunt) {
       },
       grunt: {
         options: {
+          'requireCamelCaseOrUpperCaseIdentifiers': null,
           'requireParenthesesAroundIIFE': true
         },
         src: '<%= jshint.grunt.src %>'
index 3ce1db5fcc77df51e7e2184c973d95ee0bf0540c..2da777a2221225c10077125ad72a0b344cd324d5 100644 (file)
@@ -8,6 +8,7 @@
   "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
   "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
   "disallowTrailingWhitespace": true,
+  "requireCamelCaseOrUpperCaseIdentifiers": true,
   "requireLeftStickedOperators": [","],
   "requireLineFeedAtFileEnd": true,
   "requireRightStickedOperators": ["!"],