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

@bitforgehq/eslint-config-angular

v2.0.0

Published

ESLint flat config presets for Angular 22 projects

Readme

@bitforgehq/eslint-config-angular

ESLint flat config presets for Angular 22 projects. ESLint 9 and 10 supported.

Installation

bun add -D eslint @bitforgehq/eslint-config-angular

That's it — angular-eslint, typescript-eslint, @eslint/js, and eslint-config-prettier are bundled as dependencies of this package.

Requirements

  • Angular 22 (TypeScript >=6.0 <6.1 comes with it)
  • ESLint ^9 or ^10
  • A valid tsconfig.json (type-checked rules use the ESLint project service)

Usage

Create eslint.config.js in your project root:

// Web preset (default export is the same)
import config from '@bitforgehq/eslint-config-angular/web';
export default config;
// Ionic preset — also allows ion-* component selectors
import config from '@bitforgehq/eslint-config-angular/ionic';
export default config;

What's enabled

  • @eslint/js recommended, typescript-eslint recommended + stylistic (type-checked), angular-eslint recommended
  • Template + accessibility rules — running on standalone .html files and inside inline templates (processInlineTemplates)
  • House rules as errors: signals-first (prefer-signals, prefer-signal-model, prefer-output-emitter-ref, no-uncalled-signals), inject() + providedIn: 'root', OnPush, standalone components, @if/@for control flow, no console.log (warn/error allowed), inline type imports, _-prefixed unused-var escape hatch
  • eslint-config-prettier last — formatting stays Prettier's job
  • Deliberately NOT enabled: template/no-call-expression — it would flag every signal read in a template ({{ count() }}, @if (loading())), the core idiom of the signals-first architecture

Migrating from v1

  1. Upgrade your app to Angular 22 first (ng update).
  2. Remove the old peer deps from your project — they're bundled now: @angular-eslint/eslint-plugin, @angular-eslint/eslint-plugin-template, @angular-eslint/template-parser, @typescript-eslint/eslint-plugin, @typescript-eslint/parser. Keep eslint (v9 or v10) and typescript.
  3. Expect new violations: v1 never linted inline templates and set most rules to warn; v2 lints everything at error. Run bun x eslint . --fix first — control-flow migration, self-closing tags, type imports, and more are auto-fixable.
  4. Lint runs need a resolvable tsconfig.json (Angular CLI projects have one already).

Customization

import baseConfig from '@bitforgehq/eslint-config-angular/web';

export default [
  ...baseConfig,
  {
    files: ['**/*.ts'],
    rules: {
      // project-specific overrides
    },
  },
];