mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-31 11:40:23 +00:00
Merge pull request #12950 from twbs/jscs-null-trick
re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS
This commit is contained in:
commit
4db5164dc6
2 changed files with 2 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ module.exports = function (grunt) {
|
|||
},
|
||||
grunt: {
|
||||
options: {
|
||||
'requireCamelCaseOrUpperCaseIdentifiers': null,
|
||||
'requireParenthesesAroundIIFE': true
|
||||
},
|
||||
src: '<%= jshint.grunt.src %>'
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
||||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||||
"disallowTrailingWhitespace": true,
|
||||
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||||
"requireLeftStickedOperators": [","],
|
||||
"requireLineFeedAtFileEnd": true,
|
||||
"requireRightStickedOperators": ["!"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue