Skip to content

Add The Perfectionist plugin #11

@Glitches

Description

@Glitches

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions