mirror of
https://github.com/awatson1978/meteor-api.git
synced 2026-05-15 22:02:11 -06:00
[GH-ISSUE #73] Code snippets use " instead of ' #59
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/meteor-api#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mortomanos on GitHub (Sep 24, 2015).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/73
The code snippets use a double quote instead of a single quote which is preferred by eslint.
@awatson1978 commented on GitHub (Sep 25, 2015):
Yeah, this has come to my attention; and I spent some time trying to reconcile the snippets, linters, and code highlighters. Unfortunately, I don't think it's possible to get it all consistent. The code is accessed in different interpretation contexts (the entire reason that
eval()exists in the first place), and setting a universal linting rule is like arguing against a diagonal proof. It's like a mobius strip. If I move the code snippets to use single quotes, it will cause doublequotes complaints elsewhere.I think my solution moving forward will be to remove the rule that detects singlequote vs doublequote from the default starrynight
.eslintfile.