Skip to content

Option for Biome instead of ESLint/Prettier #48

@devuxer

Description

@devuxer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions