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

Bug 1468658 - Fix & enable more ESLint rules #3665

Merged
merged 6 commits into from
Jun 14, 2018
Merged

Bug 1468658 - Fix & enable more ESLint rules #3665

merged 6 commits into from
Jun 14, 2018

Conversation

edmorley
Copy link
Contributor

@edmorley edmorley commented Jun 14, 2018

I held off landing this until #3621 merged to reduce the number of conflicts.

There will likely still be conflicts with some of the other WIP React conversion PRs, but there's never going to be a perfect time - and I think we need to get more of these rules enabled sooner rather than later, since there are already quite a few AirBnb style deviations being introduced into the new code (unsurprisingly since without the linter its hard to avoid). For conflicts that do occur, since these rules are all --fixable, resolving them should be easier.

Other than a few tweaks to the style of multi-line comments for the spaced-comment commit, all of the other changes were entirely the result of --fix.

See individual commits for more details.

@edmorley edmorley self-assigned this Jun 14, 2018
@edmorley edmorley requested a review from camd June 14, 2018 00:52
@edmorley edmorley merged commit 94100a2 into master Jun 14, 2018
@edmorley edmorley deleted the eslint-fixes branch June 14, 2018 05:43
This pull request was closed.
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