mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-15 15:26:31 +00:00
chore: enforce single quotes in ESLint (#1679)
We recently adopted the standardjs guidelines ESLint, which doesn't seem to enforce single quotes, even though the guidelines mention it. See: https://github.com/resin-io/etcher/pull/1663#discussion_r131623802 Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
This commit is contained in:
parent
b97d7080e5
commit
79a7a03d03
@ -265,6 +265,9 @@ rules:
|
||||
operator-assignment:
|
||||
- error
|
||||
- always
|
||||
quotes:
|
||||
- error
|
||||
- single
|
||||
quote-props:
|
||||
- error
|
||||
- as-needed
|
||||
|
@ -75,7 +75,7 @@ describe('Browser: SVGIcon', function () {
|
||||
it('should use an empty src if there is a parsererror', function () {
|
||||
// The following is invalid, because there's no closing tag for `foreignObject`
|
||||
const iconContents = '<svg><foreignObject></svg>'
|
||||
const imgData = `data:image/svg+xml,`
|
||||
const imgData = 'data:image/svg+xml,'
|
||||
$rootScope.iconContents = iconContents
|
||||
|
||||
const element = $compile('<svg-icon path="iconContents">Resin.io</svg-icon>')($rootScope)
|
||||
|
Loading…
x
Reference in New Issue
Block a user