You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
Disadvantages:
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
The text was updated successfully, but these errors were encountered: