Skip to content

Switch linter to double quotes #157

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

Merged
merged 1 commit into from
Feb 21, 2018

Conversation

zbraniecki
Copy link
Collaborator

Back in a day when I crafted the list of eslint rules we use I made a mistake - settled on single quotes.

Nobody likes that, and its incompatible with Mozilla eslinting rules. Let's fix it.

This patch exclusively focuses on quotes because that's the only incompatibility between us and mozilla-central. We may want to further align our rules with mozilla ruleset, but that'll be optional and may be worth more discussions.

I basically ran eslint **/src --fix.

@zbraniecki zbraniecki requested a review from stasm February 21, 2018 00:00
@stasm
Copy link
Contributor

stasm commented Feb 21, 2018

Thanks for this. Should we also make fixes to eslint_test.json and the test files?

@zbraniecki
Copy link
Collaborator Author

Since the test files already use double quotes, I'd prefer to handle any test changes in a follow up if that's ok with you :)

@stasm
Copy link
Contributor

stasm commented Feb 21, 2018

Sure, sounds good.

@zbraniecki zbraniecki merged commit 8e4f284 into projectfluent:master Feb 21, 2018
@stasm
Copy link
Contributor

stasm commented Feb 21, 2018

🎉

@zbraniecki zbraniecki deleted the eslint-mozilla branch May 14, 2018 09:47
unclenachoduh added a commit to unclenachoduh/fluent.js that referenced this pull request Aug 9, 2018
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.

2 participants