-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: prefer ES6 syntax #22
Conversation
I just ran your last change with --fix on hexojs/hexo master and got:
97 files changes :) That is a lot of changes |
I propose |
Pending #25, if that is approved, this PR needs to remove some conflicting rules. |
Reverted one-var rule as it's not related to es6. |
suggest to hold off merging for now, let's refactor hexo first to see if this PR is actually viable. |
Pending hexojs/hexo#3717 |
Refactored hexo:
I'm merging this since this PR is viable. |
based on eslint-config-airbnb.