-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
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:
- Extremely fast
- Significantly reduces the number of libraries needed
- Greatly simplifies configuration
- Linting and formatting are nearly 100% compatible with ESLint/Prettier
- Great docs
Disadvantages:
- Not as mature as ESLint/Prettier
- Fewer blog posts/resources
- 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
- Follow the Code of Conduct.
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.