mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS & use null
to override it for Gruntfile
This commit is contained in:
parent
dec1c21e34
commit
310465b035
@ -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 %>'
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
|
||||||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||||||
"disallowTrailingWhitespace": true,
|
"disallowTrailingWhitespace": true,
|
||||||
|
"requireCamelCaseOrUpperCaseIdentifiers": true,
|
||||||
"requireLeftStickedOperators": [","],
|
"requireLeftStickedOperators": [","],
|
||||||
"requireLineFeedAtFileEnd": true,
|
"requireLineFeedAtFileEnd": true,
|
||||||
"requireRightStickedOperators": ["!"],
|
"requireRightStickedOperators": ["!"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user