Skip to content

robinwalterfit/biome-standard

Biome configuration based on Standard

Checked with Biome Contributor Covenant Conventional Branch Conventional Commits lefthook Taskfile VSCode Zed

A port of the StandardJS ESLint configuration to Biome.

Installation / Getting Started

Run the following command to install the Biome configuration:

npm install git+ssh://git@github.com:robinwalterfit/biome-standard.git#v0.5.0

Then add to your Biome configuration:

{
    "$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
    "extends": ["biome-standard/biome"],
    // ... your individual configuration
}

Deployment

Currently, this package is not published on any registry. Follow the installation instructions, if you want to use this Biome configuration.

Development

Developing Biome Standard configuration is very simple. Biome names their rules differently from ESLint, but thankfully the Biome CLI provides a migration command. In order migrate a StandardJS configuration to Biome, all you have to do is to run the following command.

biome migrate eslint --include-inspired --include-nursery --write

Note however, that migrate will search for a typical .eslintrc file. It's not possible to provide multiple files as input. Fortunately, multiple calls to biome migrate will end up in merging the existing biome configuration with the new rules. The next section will tell you what StandardJS configuration was used to generate this Biome configuration.

Dependencies

Run

npm install --save-dev eslint-config-love@84.1.1 eslint-config-standard@17.1.0 eslint-config-standard-jsx@11.0.0 eslint-config-standard-react@13.0.0

and find the packages in node_modules. Copy the ESLint configuration to the root directory, name it .eslintrc.json and run biome migrate one by one.

NOTE: eslint-config-love won't export a typical .eslintrc configuration file. Instead you will find a index.js. Copy this file and name it .eslintrc.cjs.

Contributing

Read the contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.

Versioning

SemVer is used for versioning. For the versions available, see the tags on this repository.

To make versioning as easy as possible, this project uses Conventional Commits along with the tool Cocogitto. This way it is very easy to calculate a new version number and generate changelogs based on commit messages.

Links

License

biome-standard is MIT licensed or Apache 2.0 licensed and moderated under the Contributor Covenant Code of Conduct.