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

chore: prettier format test #1031

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

chore: prettier format test #1031

wants to merge 16 commits into from

Conversation

Galimede
Copy link
Member

No description provided.

@roberttran-cc
Copy link
Member

Thanks for this preview branch, it really helps!

Overall, I'm really looking forward the benefits of this tool, although some rules are meh but we'll be able to adjust them over time.

Random feedback:

  • we should disable the rule enforcing self closing HTML tags, as they seem unnecessary
  • we should exclude some files from this formatter:
    • src/assets/*.icons.js
    • src/assets/world-110m.geo.js
    • src/stories/fixtures/*.js

@florian-sanders-cc florian-sanders-cc added enhancement New feature or request good first issue Good for newcomers easy-quick-win and removed good first issue Good for newcomers enhancement New feature or request easy-quick-win labels Jun 24, 2024
Copy link
Contributor

@pdesoyres-cc pdesoyres-cc left a comment

Choose a reason for hiding this comment

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

LGTM

.prettierignore Outdated
**/*.md

# Ignore stories
#src/components/*/*.stories.js
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm in favor of that: We should not ignore stories

Copy link
Member

Choose a reason for hiding this comment

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

Let's add them (even if it makes them a bit more verbose)

Copy link
Contributor

@florian-sanders-cc florian-sanders-cc 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 we should format story files as you suggest 👍

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.

None yet

5 participants