-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add prettier formatting verification to CI #17
Comments
@JoshuaKGoldberg about this, looks like prettier has to be set up from scratch for the repo ? |
Do you have a specific prettier config you love ? |
I normally just go with the default settings. Though for accessibility (see: prettier/prettier#7475) I'm planning on switching all my repos to use tabs instead of spaces. So just that one setting difference: |
Hey @JoshuaKGoldberg , I want to use the below configuration.. but the project codes (arrays, generics, etc.) .. don't follow the semi-colon rule.. which would make a whole lot of file change if I run {
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true,
"useTabs": true
} |
Oh! Forgive me, I'd forgotten whether |
Yea I perfer semicolons too. |
How about the tabWidth ? Do you like it as four ? or two ? |
Hmm, let's just go with the defaults. |
Okay ✅ |
.js
,.json
,.md
,.ts
,.tsx
, and.yml
should all be Prettier-ed. And the Github Actions builds should verify it. 🧹The text was updated successfully, but these errors were encountered: