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

Patch Prettier Linting Rules #4030

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Patch Prettier Linting Rules #4030

merged 1 commit into from
Aug 24, 2023

Conversation

joeizang
Copy link
Collaborator

This pr basically updates the glob pattern for lint-staged so it goes through every folder with a {.js,.ts,.tsx} file and runs prettier on it. I also simplified the prettier rules so it adds basically 5 rules:

  • enforce the use of spaces and not tabs
  • tab should use 2 spaces
  • code wrapping
  • remove semi colons
  • use single quotes

Most of the noise we have from linting previously had to do with bracket spacing, adding brackets and many other rules which I have stripped out in this pr. This should help us keep things clean.

@joeizang joeizang added the ready-to-review PR ready to review label Aug 24, 2023
@joeizang joeizang self-assigned this Aug 24, 2023
@netlify
Copy link

netlify bot commented Aug 24, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 6afb260
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/64e724f1f98312000814e6fd
😎 Deploy Preview https://deploy-preview-4030--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yann300 yann300 merged commit 8a6368c into master Aug 24, 2023
34 checks passed
@yann300 yann300 deleted the patch-linting branch August 24, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants