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

Option for Biome instead of ESLint/Prettier #48

Open
4 tasks done
devuxer opened this issue Dec 4, 2024 · 0 comments
Open
4 tasks done

Option for Biome instead of ESLint/Prettier #48

devuxer opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@devuxer
Copy link

devuxer commented Dec 4, 2024

Clear and concise description of the problem

Linting and formatting are critical to writing good code, but ESLint and Prettier add a lot of complexity to a project. They require numerous libraries, plugins, and IDE extensions and a lots of config. ESLint recently deprecated the eslintrc file format and replaced it with a new config file format (that is arguably only a marginal improvement). Some/many of the plugins are still not ported over to the new format, and help with the new format is not easy to come by.

Used Scaffolding

create-electron

Suggested solution

Make Biome an option.

Biome is a Rust-based alternative to ESLint/Prettier.

Advantages:

  1. Extremely fast
  2. Significantly reduces the number of libraries needed
  3. Greatly simplifies configuration
  4. Linting and formatting are nearly 100% compatible with ESLint/Prettier
  5. Great docs

Disadvantages:

  1. Not as mature as ESLint/Prettier
  2. Fewer blog posts/resources
  3. Plugins not yet available (due to arrive in v2)

Alternative

No response

Additional context

The scaffolder creates an ESLint config that is not compatible with ESLint 9 (due to the deprecation of eslintrc), so work will soon be needed to bring this project up to date. My suggestion would be to add Biome as a linting/formatting alternative as part of your updating.

Validations

@devuxer devuxer added the enhancement New feature or request label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant