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

@bravobit/eslint-config

v0.3.0

Published

Bravobit's shared ESLint flat config: stylistic conventions, type-checked typescript-eslint rules, and waterfall sorting for TypeScript and CSS/SCSS.

Downloads

97

Readme

@bravobit/eslint-config

Bravobit's shared ESLint flat config. One import gives you:

  • Formatting via @stylistic/eslint-plugin — 4-space indent, single quotes, semicolons, no spaces inside braces/brackets/parens ({inject}, ['token'], next('completed')), no trailing commas, x => ... arrow parens, padded class bodies, 1tbs braces, operators at the start of wrapped lines, and more. Everything is auto-fixable.
  • Consistency — const over let/var, ===, object shorthand, template literals over string concatenation, interface over type, string[] over Array<string>, no redundant type annotations (count: number = 0), generics on the constructor (new Map<string, number>()), readonly on never-reassigned private members, a?.b over a && a.b, and no yoda conditions (value === undefined over undefined === value). All auto-fixable except ===.
  • Type-aware linting via typescript-eslint recommendedTypeChecked — floating promises, misused promises, await of non-thenables, etc. The no-unsafe-* family is off by default until any boundaries are typed; re-enable it per project as modules get cleaned up.
  • Waterfall sorting via @bravobit/eslint-plugin-waterfall for imports and CSS/SCSS declarations.

Install

npm install --save-dev eslint @bravobit/eslint-config

The plugins (@stylistic/eslint-plugin, typescript-eslint, @bravobit/eslint-plugin-waterfall) come along as dependencies — no need to install them separately.

Use

eslint.config.mjs:

import {defineConfig, globalIgnores} from 'eslint/config';
import bravobit from '@bravobit/eslint-config';

export default defineConfig(
    globalIgnores(['deployment/', 'scripts/']), // project-specific extras; dist/, coverage/ and .angular/ are already ignored
    bravobit
);

Type-aware rules use typescript-eslint's projectService, which finds the nearest tsconfig.json automatically — no per-project parser configuration needed.

Override

Flat config merges left to right, so append a block to tighten or loosen rules per project:

export default defineConfig(
    bravobit,
    {
        files: ['src/app/payments/**/*.ts'],
        rules: {
            // e.g. re-enable the unsafe family for a cleaned-up module
            '@typescript-eslint/no-unsafe-assignment': 'warn'
        }
    }
);