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

build: optimize eslint setup #44

Merged
merged 4 commits into from
Oct 18, 2023
Merged

build: optimize eslint setup #44

merged 4 commits into from
Oct 18, 2023

Conversation

alexplischke
Copy link
Contributor

  1. Change order of eslint extensions. This is very important as the last one in the list (bottom) gets to override conflicting rules of extensions that came before that. Since prettier is our enforcer here, it needs to be at the bottom, not top.
  2. The IDE now properly recognizes prettier rules and can yell at you.
  3. Use plugin:prettier/recommended instead of prettier, as it configures the entire setup correctly.

@alexplischke alexplischke requested a review from a team as a code owner October 18, 2023 19:47
@alexplischke alexplischke merged commit 2d6d332 into main Oct 18, 2023
5 checks passed
@alexplischke alexplischke deleted the ap-code-hygiene-part-2 branch October 18, 2023 20:40
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