Skip to content

Commit 9f0bcd0

Browse files
committed
Allow mixed quotes if it avoids escaping
1 parent 9cb65e0 commit 9f0bcd0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.jscs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
2525
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
2626
"requireSpaceAfterBinaryOperators": [",", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
27-
"validateQuoteMarks": true,
27+
"validateQuoteMarks": { "mark": true, "escape": true },
2828
"validateIndentation": 4,
2929
"disallowTrailingWhitespace": true,
3030
"disallowKeywordsOnNewLine": ["else"],

.jshintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"newcap": true,
1111
"noarg": true,
1212
"node": true,
13-
"quotmark": true,
1413
"trailing": true,
1514
"undef": true,
1615
"unused": true,

0 commit comments

Comments
 (0)