diff --git a/Gruntfile.js b/Gruntfile.js index 0d7d0b68db94910fc2c4881e0eefd6344f1194eb..8afc650d88cbe337436084b6b376073eabdd3d7a 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 3ce1db5fcc77df51e7e2184c973d95ee0bf0540c..2da777a2221225c10077125ad72a0b344cd324d5 100644 --- a/js/.jscsrc +++ b/js/.jscsrc @@ -8,6 +8,7 @@ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"], "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], "disallowTrailingWhitespace": true, + "requireCamelCaseOrUpperCaseIdentifiers": true, "requireLeftStickedOperators": [","], "requireLineFeedAtFileEnd": true, "requireRightStickedOperators": ["!"],