Skip to main content

@krakentech/biome-config

2.0.0

Major Changes

  • 86420c0: @biomejs/biome is now listed as a peer-dependency of the package. The version is strictly set to "2.2.2" to prevent errors caused by mismatches JSON schema versions.

1.2.0

Minor Changes

  • 8431e98: Biome now scans all supported files by default. It automatically ignores unknown file types, anything inside public folders, and everything listed in .gitignore.

    Assist actions are disabled for all package.json files to avoid unwanted key reordering. Other lint rules will still apply.

1.1.0

Minor Changes

  • 0b0b3eb: Add vcs properties to exclude files and folders specified by .gitignore.

1.0.0

Major Changes

  • 730b3d7: # @krakentech/biome-config

    This package provides a shared Biome configuration for Kraken projects.

    Usage

    To use @krakentech/biome-config, you need to install it in your project:

    pnpm i -D @biomejs/biome @krakentech/biome-config

    Then, create a biome.json file in the root of your project and extend the shared configuration:

    {
    "extends": "@krakentech/biome-config",
    "files": {
    "includes": [
    "**/*.{js,mjs,jsx,ts,tsx,mts,json,css,scss}",
    "!package.json",
    "!**/*.d.ts",
    "!**/node_modules/**",
    "!**/.next/**"
    ]
    }
    }

    Finally, update your package.json scripts to include Biome commands:

    {
    "scripts": {
    "lint": "biome check . --diagnostic-level=error",
    "lint:complete": "biome check . --max-diagnostics=none",
    "lint:fix": "biome check . --write --diagnostic-level=error",
    "lint:report": "biome check . --max-diagnostics=0 --reporter=summary"
    }
    }