npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

biome-config-godaddy

v1.0.0

Published

Base Biome config for consistent style in JavaScript projects at GoDaddy.

Readme

biome-config-godaddy

Base Biome configuration for JavaScript applications officially used at GoDaddy.

This configuration provides a fast, Rust-based alternative to ESLint and Prettier using Biome. It implements the same linting and formatting standards as GoDaddy's ESLint configurations, ensuring consistency across projects while delivering superior performance.

Important: This package requires Biome 2.2.0 or newer. The configuration utilizes the latest linting rules introduced in Biome 2.2.0 that provide feature parity with GoDaddy's ESLint configurations. Earlier versions of Biome will not support all the rules used in this configuration.

Have a question or comment? Open an issue!

Example basic setup

{
  "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
  "extends": ["biome-config-godaddy/biome.json"]
}

Installation

Install the package and its peer dependency using pnpm:

pnpm install biome-config-godaddy @biomejs/biome --save-dev

Or with npm:

npm install biome-config-godaddy @biomejs/biome --save-dev

Configuration

Options

This package provides two configuration files:

  • biome.json - Base configuration for JavaScript projects
  • biome-ts.json - Enhanced configuration for TypeScript projects

Both configurations include:

  • Formatter settings: 2-space indentation, 130 character line width, LF line endings
  • Linter rules: Comprehensive rules aligned with eslint-config-godaddy standards
  • Fast performance: Rust-based implementation for improved build times

Example JavaScript project

Create a biome.json file in your project root:

{
  "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
  "extends": ["biome-config-godaddy/biome.json"]
}

Example TypeScript project

For TypeScript projects, use the TypeScript-specific configuration:

{
  "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
  "extends": ["biome-config-godaddy/biome-ts.json"]
}

Example with custom overrides

Extend the base configuration and add project-specific rules:

{
  "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
  "extends": ["biome-config-godaddy/biome.json"],
  "linter": {
    "rules": {
      "suspicious": {
        "noConsoleLog": "off"
      },
      "style": {
        "useNodejsImportProtocol": "error"
      }
    }
  }
}

Example package.json scripts

Add these scripts to your package.json for common development workflows:

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

Commands

format command

Formats all files in the current directory and subdirectories according to GoDaddy style rules.

Example format usage

# Format and write changes
biome format --write .

# Check formatting without making changes
biome format .

lint command

Analyzes code for potential issues using GoDaddy's linting standards.

Example lint usage

# Lint all files
biome lint .

# Lint with auto-fix
biome lint --write .

# Lint specific files
biome lint src/**/*.js

check command

Combines linting and formatting in a single operation for comprehensive code quality checks.

Example check usage

# Check and fix all issues
biome check --write .

# Dry run to see what would change
biome check .

# Check specific directories
biome check src/ tests/

Lifecycles

pre-commit

Integrate with Git hooks to ensure code quality before commits.

Example pre-commit setup

{
  "scripts": {
    "pre-commit": "biome check --write --staged"
  }
}

Continuous integration

Validate code quality in CI pipelines without making changes.

Example CI validation

{
  "scripts": {
    "ci:lint": "biome check .",
    "ci:format": "biome format ."
  }
}

How it works

This Biome configuration mirrors the linting and formatting standards established by GoDaddy's ESLint configurations (eslint-config-godaddy and eslint-config-godaddy-typescript). Biome, written in Rust, provides the same code quality enforcement with improved performance compared to equivalent ESLint + Prettier setups.

The configuration enforces GoDaddy's JavaScript style guide including 2-space indentation, 130-character line limits, consistent semicolon usage, and comprehensive linting rules for code correctness, complexity management, and style consistency. The formatter ensures consistent code appearance across all team members.

Unlike traditional ESLint + Prettier combinations, Biome provides integrated linting and formatting in a single tool, eliminating configuration conflicts and reducing the number of dependencies in your project. The configuration automatically handles JavaScript and TypeScript files for different development environments.

Related Packages

This Biome configuration is designed to be a drop-in replacement for GoDaddy's ESLint configurations:

Teams can migrate from ESLint configurations to Biome while maintaining the same code quality standards and style guidelines that GoDaddy has established across its engineering organization.

License

MIT