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 recommended config instead of eslint-config-airbnb #242

Merged
merged 5 commits into from
May 9, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented May 9, 2020

Marp team had adopted eslint-config-airbnb as a primary ESLint config. However, it becomes a little obsoleted by evolving Node and JavaScript.

So we have determined the change the primary config to eslint:recommended + plugin:import/recommended. They would reduce stresses when using modern features (e.g. Iterators and generators)

A only rule we manually enabled is import/order. Sometimes I had arranged the import order implicitly, but it's not required effort for us. And now, developer can fix easily to the consistent order, by just running yarn lint:js --fix.

If Marpit's change did work well, we would follow this rule in our related packages (Marp Core, Marp CLI, and so on: Including the work for migration from TSLint to ESLint)

@yhatt yhatt merged commit c23ec59 into master May 9, 2020
@yhatt yhatt deleted the eslint-recommended branch May 9, 2020 13:46
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.

1 participant