Skip to content

Commit d2ec0c8

Browse files
author
Gergely Nemeth
committed
Adding camelCase
1 parent 74b563f commit d2ec0c8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

linter_configs/.jshintrc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
{
2-
"curly": true, // true: Require {} for every new block or scope
3-
"eqeqeq": true, // true: Require triple equals (===) for comparison
4-
"immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
5-
"latedef": true, // true: Require variables/functions to be defined before being used
6-
"newcap": true, // true: Require capitalization of all constructor functions e.g. `new F()`
7-
"noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
8-
"undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
2+
"curly": true, // Require {} for every new block or scope
3+
"eqeqeq": true, // Require triple equals (===) for comparison
4+
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
5+
"latedef": true, // Require variables/functions to be defined before being used
6+
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`
7+
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`
8+
"undef": true, // Require all non-global variables to be declared (prevents global leaks)
9+
"unused": true, // Warns when you define and never use your variables
910
"node": true , // Node.js
1011
"bitwise": true, // Prohibits the use of bitwise operators such as ^ (XOR), | (OR)
1112
"indent": 2, // Enforces specific tab width for your code
1213
"noempty": true, // Warns when you have an empty block in your code
1314
"quotmark": "single", // Enforces the consistency of quotation marks
1415
"strict": false, // Requires all functions to run in ECMAScript 5's strict mode
1516
"trailing": true, // Makes it an error to leave a trailing whitespace in your code
16-
"forin": true // Requires all for in loops to filter object's items
17+
"forin": true, // Requires all for in loops to filter object's items
18+
"camelCase": "true" // Force all variable names to use either camelCase style or UPPER_CASE with underscores
1719
}

0 commit comments

Comments
 (0)