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

Use ESLint to replace double quotes #30107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nschonni
Copy link
Contributor

Thought this might be easier since the Prettier way makes many more changes.
Ran npx eslint --fix --rule 'quotes: [error, "single", {"avoidEscape": true}]' "**/*.jsx" and npx eslint --fix --rule 'quotes: [error, "single", {"avoidEscape": true}]' "**/*.js" to just fix the quotes that aren't used to avoid escaping

@@ -155,7 +155,7 @@ export default class Card extends PureComponent {
};

if (largeImage && card.get('type') === 'video') {
thumbnailStyle.aspectRatio = `16 / 9`;
thumbnailStyle.aspectRatio = '16 / 9';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially could skip these too, with the allowTemplateLiterals

@nschonni
Copy link
Contributor Author

@renchap this might conflict with some of your conversion PRs, since they reminded me of this :)

Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

Copy link
Contributor

This pull request has resolved merge conflicts and is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant