This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@jszymanowski/biomejs-config

1.2.0 • Public • Published

This is my personal biome configuration. It's currently based on the 2.0.0 beta, as I've experienced a number of issues with recent stable 1.9.x release in multi-root workplaces. 2.0.0-beta1 seems to resolve these.

Key features

  • Uses .gitignore to avoid formatting unuseful files and directories
  • Up to 100 chars per line
  • Spacing: spaces instead of tabs, 2 instead of 4
  • JavaScript: double quotes, trailing commas, semicolons

Usage

Firstly, install biome and this configuration:

pnpm i -D --save-exact @jszymanowski/biomejs-config @biomejs/biome@beta

Then, add the following to your biome.json:

{
  "$schema": "https://biomejs.dev/schemas/2.0.0-beta.1/schema.json",
  "extends": ["@jszymanowski/biomejs-config"]
}

And finally, add the following scripts to your package.json to easily format and lint your code:

{
  "scripts": {
    "format": "biome format --write .",
    "lint": "biome check .",
    "lint:ci": "biome ci .",
    "lint:fix": "biome check --write --unsafe ."
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @jszymanowski/biomejs-config

Weekly Downloads

4

Version

1.2.0

License

MIT

Unpacked Size

4.83 kB

Total Files

4

Last publish

Collaborators

  • jszymanowski