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

Add The Perfectionist plugin #11

Open
Glitches opened this issue Dec 20, 2024 · 0 comments
Open

Add The Perfectionist plugin #11

Glitches opened this issue Dec 20, 2024 · 0 comments

Comments

@Glitches
Copy link
Member

Do you think it might be interesting to introduce this plugin The Perfectionist plugin into the Facile config?
The goal is to standardize a whole series of lists and arrays in the codebase, such as import order, switch case order, etc. It can even be used to sort the arrangement of props within a React component's tag.
I especially appreciate this two things:

  • Readability: Finding declarations in a sorted, large list is quicker and easier. Remember, you read code much more often than you write it.
  • Maintainability: Sorting imports and properties is considered a best practice in software development. It enhances code quality and ensures consistency across the codebase.

See: https://perfectionist.dev/guide/introduction

It should be a breaking change, Do you think it worth the effort?

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

No branches or pull requests

1 participant