diff options
| -rw-r--r-- | Gruntfile.js | 1 | ||||
| -rw-r--r-- | js/.jscsrc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 0d7d0b68d..8afc650d8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,6 +66,7 @@ module.exports = function (grunt) { }, grunt: { options: { + 'requireCamelCaseOrUpperCaseIdentifiers': null, 'requireParenthesesAroundIIFE': true }, src: '<%= jshint.grunt.src %>' diff --git a/js/.jscsrc b/js/.jscsrc index 3ce1db5fc..2da777a22 100644 --- a/js/.jscsrc +++ b/js/.jscsrc @@ -8,6 +8,7 @@ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowTrailingWhitespace": true, + "requireCamelCaseOrUpperCaseIdentifiers": true, "requireLeftStickedOperators": [","], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"], |
