Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4db5164d
Commit
4db5164d
authored
11 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #12950 from twbs/jscs-null-trick
re-enable requireCamelCaseOrUpperCaseIdentifiers in JSCS
parents
dec1c21e
310465b0
3 merge requests
!28721
Hot test
,
!22103
test
,
!25326
Adjust examples
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Gruntfile.js
+1
-0
Gruntfile.js
js/.jscsrc
+1
-0
js/.jscsrc
with
2 additions
and
0 deletions
+2
-0
Gruntfile.js
+
1
-
0
View file @
4db5164d
...
@@ -66,6 +66,7 @@ module.exports = function (grunt) {
...
@@ -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 %>
'
...
...
This diff is collapsed.
Click to expand it.
js/.jscsrc
+
1
-
0
View file @
4db5164d
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowTrailingWhitespace": true,
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireLeftStickedOperators": [","],
"requireLeftStickedOperators": [","],
"requireLineFeedAtFileEnd": true,
"requireLineFeedAtFileEnd": true,
"requireRightStickedOperators": ["!"],
"requireRightStickedOperators": ["!"],
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets