🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@kontent-ai/biome-config

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kontent-ai/biome-config

Biome configuration shared for Kontent.ai projects

latest
npmnpm
Version
0.5.1
Version published
Maintainers
0
Created
Source

Contributors npm Forks Stargazers Issues MIT License

Discord

Kontent.ai Biome configuration

This is the Biome configuration that Kontent.ai uses for its TypeScript packages. Biome is a fast formatter, linter, and more for JavaScript, TypeScript, JSX, and JSON.

Getting Started

  • Install the package and Biome.

    # Install Biome if you don't already have it
    npm i --save-dev @biomejs/biome
    # Install the shared configuration
    npm i --save-dev @kontent-ai/biome-config
    
  • Extend your Biome configuration by creating a biome.json file in your project root:

    // biome.json
    {
        "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
        "extends": ["@kontent-ai/biome-config/base"]
    }
    

    For React projects, you can extend the React-specific configuration:

    // biome.json
    {
        "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
        "extends": [
            "@kontent-ai/biome-config/base",
            "@kontent-ai/biome-config/react"
        ]
    }
    
  • Run Biome commands based on your project needs:

    # Format your code
    npx biome format --write .
    
    # Lint your code
    npx biome lint .
    
    # Check both formatting and linting
    npx biome check .
    

Available configurations are:

  • @kontent-ai/biome-config/base (base configuration for any TypeScript/JavaScript file)
  • @kontent-ai/biome-config/react (React specific rules, should be used together with the base configuration)

License

Distributed under the MIT License. See LICENSE.md for more information.

FAQs

Package last updated on 30 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts