re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS & use `null` to override it for Gruntfile

This commit is contained in:
Chris Rebert 2014-03-06 13:10:40 -08:00
parent dec1c21e34
commit 310465b035
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ module.exports = function (grunt) {
},
grunt: {
options: {
'requireCamelCaseOrUpperCaseIdentifiers': null,
'requireParenthesesAroundIIFE': true
},
src: '<%= jshint.grunt.src %>'

View File

@ -8,6 +8,7 @@
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireLeftStickedOperators": [","],
"requireLineFeedAtFileEnd": true,
"requireRightStickedOperators": ["!"],