1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

Merge pull request #12950 from twbs/jscs-null-trick

re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS
This commit is contained in:
Chris Rebert
2014-03-06 13:23:43 -08:00
2 changed files with 2 additions and 0 deletions

View File

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

View File

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