Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6790721

Browse files
committed
Merge pull request airbnb#29 from airbnb/enforce-single-quotes
[jshint] Enforce single quotes
2 parents c3f8a79 + 6eed6bd commit 6790721

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

linters/SublimeLinter/SublimeLinter.sublime-settings

+8-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* 3. Paste the contents of this file into your settings file
88
* 4. Save the settings file
99
*
10-
* @version 0.2.0
10+
* @version 0.3.0
1111
* @see https://github.com/SublimeLinter/SublimeLinter
1212
* @see http://www.jshint.com/docs/
1313
*/
@@ -37,25 +37,28 @@
3737
// with underscores.
3838
"camelcase": true,
3939

40-
// Prohibit the use of == and != in favor of === and !==.
40+
// Prohibit use of == and != in favor of === and !==.
4141
"eqeqeq": true,
4242

4343
// Suppress warnings about == null comparisons.
4444
"eqnull": true,
4545

46-
// Enforce a tab width of 2 spaces.
46+
// Enforce tab width of 2 spaces.
4747
"indent": 2,
4848

49-
// Prohibit the use of a variable before it was defined.
49+
// Prohibit use of a variable before it is defined.
5050
"latedef": true,
5151

5252
// Require capitalized names for constructor functions.
5353
"newcap": true,
5454

55+
// Enforce use of single quotation marks for strings.
56+
"quotmark": "single",
57+
5558
// Prohibit trailing whitespace.
5659
"trailing": true,
5760

58-
// Prohibit the use of explicitly undeclared variables.
61+
// Prohibit use of explicitly undeclared variables.
5962
"undef": true,
6063

6164
// Warn when variables are defined but never used.

0 commit comments

Comments
 (0)