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

Configure Prettier, Editorconfig and ESLint #17

Open
stijnklomp opened this issue Apr 27, 2023 · 0 comments · May be fixed by #18
Open

Configure Prettier, Editorconfig and ESLint #17

stijnklomp opened this issue Apr 27, 2023 · 0 comments · May be fixed by #18
Assignees
Labels
adjustment Adjustment to an already existing feature feature New feature or request

Comments

@stijnklomp
Copy link
Member

  • Configure Prettier, Editorconfig and ESLint to make the code consistent throughout

Prettier

  • It removes all original styling and ensures that all outputted code conforms to a consistent style
  • It changes your code after writing your code
    For example:
    • On save with the Visual Studio Code editor
    • With a CLI like prettier --write .

EditorConfig

  • Editorconfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.

  • It applies your rules before writing code
    For example:

    • When you press TAB, it leaves four spaces.

ESLint

  • ESLint statically analyzes your code to quickly find problems.
  • ESLint finds problems in your code

They all have some common features in order to do the same things. So we have to ensure that none of them are conflicting.

@stijnklomp stijnklomp added adjustment Adjustment to an already existing feature feature New feature or request labels Apr 27, 2023
@stijnklomp stijnklomp self-assigned this Apr 28, 2023
@stijnklomp stijnklomp linked a pull request Apr 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adjustment Adjustment to an already existing feature feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant