Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enforce single quotes in ESLint #1679

Merged
merged 1 commit into from
Aug 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ rules:
operator-assignment:
- error
- always
quotes:
- error
- single
quote-props:
- error
- as-needed
Expand Down
2 changes: 1 addition & 1 deletion tests/gui/components/svg-icon.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down