Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6790721

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

File tree

Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-5
lines changed
Open diff view settings
Collapse file

‎linters/SublimeLinter/SublimeLinter.sublime-settings‎

Copy file name to clipboardExpand all lines: linters/SublimeLinter/SublimeLinter.sublime-settings
+8-5Lines changed: 8 additions & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.