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

ESLint tweaks #10

Merged
merged 1 commit into from
Aug 25, 2024
Merged

ESLint tweaks #10

merged 1 commit into from
Aug 25, 2024

Conversation

doubleedesign
Copy link
Contributor

  • Turn off the automatic "no-irregular-whitespace" rule that seems unnecessary yet problematic
  • Add detail to indent rules so the auto-fix will indent things a bit more neatly and not allow extra or missing indents (e.g., function body should be one indent in from the lines that open and close the function declaration)
  • Remove image extensions from the structure check because that runs the regular lint as well, tries to interpret them as code, and has a bad time
  • Add js and jsx extensions to the base check, because some people aren't using TypeScript
  • Add auto-fix script to package.json

@doubleedesign doubleedesign requested a review from a team as a code owner May 16, 2024 10:53
@doubleedesign doubleedesign merged commit de1dcf2 into main Aug 25, 2024
1 check passed
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