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

@igorskyflyer/biome-config

v2.4.1

Published

👽 An opinionated Biome configuration for modern JavaScript and TypeScript projects. Strict linting, consistent formatting, and performance-minded rules, all in one shareable config. 🐺

Downloads

91

Readme

Table of Contents

Features

  • 👽 Strict linting rules for correctness, security, performance and style
  • 🔍 Catches unused variables, imports, parameters and private class members
  • 🎨 Custom formatting for JSON and JS/TS - single quotes, LF endings, 2-space indentation
  • 🧠 Complexity rules to reduce cognitive load and improve logic clarity
  • ⚡ Performance-focused rules - flags barrel files, re-export-all and top-level regex
  • 📁 Enforced filenaming conventions with strict casing and ASCII requirements
  • 🛡️ Security and suspicious checks - no dangerous patterns, console usage, overload signatures and error messaging
  • ♿ Accessibility (a11y) warnings for JSX/HTML
  • 🧪 Nursery (experimental) rules at warning level
  • ✒️ Trailing commas in JS/TS (all) + no unnecessary semicolons for cleaner diffs
  • 🧹 Import organization powered by Biome's built-in organizeImports
  • 💎 Explicit length checks and adjacent overload signatures

Usage

Install it by executing any of the following, depending on the preferred package manager:

bun add -D @igorskyflyer/biome-config
pnpm add -D @igorskyflyer/biome-config
yarn add -D @igorskyflyer/biome-config
npm i -D @igorskyflyer/biome-config

Then extend the config in biome.json:

biome.json

{
  "extends": ["@igorskyflyer/biome-config"]
}

Override any rule locally as needed:

biome.json

{
  "extends": ["@igorskyflyer/biome-config"],
  "linter": {
    "rules": {
      "suspicious": {
        "noConsole": "error"
      }
    }
  }
}

Implementation

The config is split into three concern areas - formatting, linting and assist - each with deliberate, documented decisions.

Formatting enforces single quotes, no semicolons (asNeeded), trailing commas everywhere, 2-space indentation, LF line endings and bracketSameLine: false for clean prop/content separation in JSX and HTML attributes. JSON gets its own formatter section for consistency.

Linting enables eight rule groups with clear intent:

  • Correctness - unused variables, imports, parameters and private class members
  • Security - dangerous patterns (error)
  • Accessibility (a11y) - JSX/HTML accessibility issues (warn)
  • Nursery - experimental rules (warn)
  • Complexity - simplified logic (error) and cognitive load warnings
  • Performance - barrel files, re-export-all and top-level regex (warn)
  • Style - filenaming (strictCase + ASCII), array literals, block statements, no Yoda expressions, etc.
  • Suspicious - explicit any, console usage, error messaging and adjacent overload signatures

Assist enables Biome's built-in organizeImports for automatic, consistent import ordering on save.

Motivation

Linting and formatting configurations are a source of endless inconsistency across projects. Each project ends up with its own slightly different biome.json, slightly outdated, with no single source of truth.

@igorskyflyer/biome-config solves this by providing one opinionated, versioned config that propagates across all projects via a simple extends - update once, apply everywhere.

Changelog

Read about the latest changes in the CHANGELOG.

License

Licensed under the MIT license.

Support

Related

This package is part of the dotfiles DX config suite - a curated index of independently installable configuration packages for linting, formatting, editing, JS/TS, React, Vue and many more.

Other related packages

@igorskyflyer/zing

🐌 Zing is a C# style String formatter for JavaScript that empowers Strings with positional arguments - composite formatting. 🚀

@igorskyflyer/comment-it

📜 Formats the provided string as a comment, either a single or a multi line comment for the given programming language. 💻

@igorskyflyer/my-file-path

🌟 An npm module that strongly types file paths! 🥊

@igorskyflyer/simple-exec

🕺 Command. Execution. Made. Simple. ▶

@igorskyflyer/astro-easynav-button

🧭 Add an easy-to-use navigational button (jump to top/bottom) to your Astro site. 🔼

Author

Created by Igor Dimitrijević (@igorskyflyer).