Commit ef2a3e9c authored by Robert Knight's avatar Robert Knight

Allow the use of double quotes to avoid escaping

See https://github.com/hypothesis/client/pull/32#discussion_r70957311
parent c6a44861
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
], ],
"no-useless-concat": "error", "no-useless-concat": "error",
"one-var-declaration-per-line": ["error", "always"], "one-var-declaration-per-line": ["error", "always"],
"quotes": ["error", "single"], "quotes": ["error", "single", {"avoidEscape": true}],
"semi": "error", "semi": "error",
"strict": ["error", "safe"], "strict": ["error", "safe"],
}, },
......
...@@ -85,7 +85,7 @@ describe('groups', function() { ...@@ -85,7 +85,7 @@ describe('groups', function() {
assert.equal(group.id, 'id2'); assert.equal(group.id, 'id2');
}); });
it('returns null if the group doesn\'t exist', function() { it("returns null if the group doesn't exist", function() {
var group = service().get('foobar'); var group = service().get('foobar');
assert.isNull(group); assert.isNull(group);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment