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

prettier formatting consistency #817

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

nk1tz
Copy link
Contributor

@nk1tz nk1tz commented Jan 12, 2024

What

  • ensure format script applies to all root files and e2e/ as well as src/
  • include prettier.config.mjs in tsconfig to avoid eslint complaint in prettier.config.mjs
  • apply new format script
  • readme typo

Also WHY tabWidth: 4, ? :D :D :D my eyes...

Copy link
Collaborator

@benthecarman benthecarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, i think the iOS build failure is because you're not part of the org

@@ -9,7 +9,7 @@
"check-types": "tsc --noemit",
"eslint": "eslint src",
"pre-commit": "pnpm run eslint && pnpm run check-types && pnpm run format",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
"format": "prettier --write \"{.,src/**,e2e/**}/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
Copy link
Contributor Author

@nk1tz nk1tz Jan 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root + src + e2e

{.,src/**,e2e/**}

avoids linting node_modules etc..., can be added to easily

@nk1tz nk1tz changed the title prettier formatting conssitency prettier formatting consistency Jan 13, 2024
@futurepaul
Copy link
Collaborator

Also WHY tabWidth: 4, ? :D :D :D my eyes...

trying to discourage deeply nested anything... although I've recently heard a good argument for just using real tabs, so then the display of the tabs can be preferable per dev

@futurepaul
Copy link
Collaborator

thank you for this!

since it seems somewhat related to what you're doing here, could you fix this warning for me?

Screenshot 2024-01-13 at 12 53 39 PM

Copy link
Collaborator

@futurepaul futurepaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@futurepaul futurepaul merged commit 28b48ae into MutinyWallet:master Jan 15, 2024
3 of 4 checks 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.

3 participants