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

@ariestools/eslint-config-flat

v10.0.7

Published

ESLint 9/10 flat config tiers for Aries Tools TypeScript packages

Readme

logo

@ariestools/eslint-config-flat

npm license

ESLint 9/10 flat config tiers for Aries Tools TypeScript packages

Install

Requires Node.js ≥ 22. pnpm is fully supported; npm / yarn / bun are experimental.

pnpm add -D @ariestools/eslint-config-flat

Peer: eslint ^10.3 and eslint-import-resolver-typescript ^4.4.

Usage

import { recommendedConfig } from '@ariestools/eslint-config-flat'

export default [
  ...recommendedConfig({ tier: 3, isTypeChecked: true }),
]

recommendedConfig accepts:

| Option | Default | Description | |--------|---------|-------------| | tier | 3 | Preset strictness level (0–4) | | isTypeChecked | true | Enable TypeScript type-checked rules |

When isTypeChecked is false, all rules that require parser type information are disabled across every tier, and a safety-net gate turns off any type-checked preset rules that would otherwise remain active.

Tiers

Each tier is a superset of the previous tier.

| Tier | Category | Description | |------|----------|-------------| | 0 | Correctness | Type safety, bug prevention, import restrictions, markdown | | 1 | Consistency | Tier 0 + formatting, member ordering, complexity limits | | 2 | Best practices | Tier 1 + unicorn, import validation, workspace rules | | 3 | Opinionated (default) | Tier 2 + unicorn opinionated rules and optional rules promoted to errors | | 4 | Experimental | Tier 3 + newer unicorn warnings (canary; may change on a minor) |

Rule tier assignments live in RULE_CATALOG (exported from this package). Named exports such as configTier3OpinionatedTypeChecked remain available but are deprecated. Prefer recommendedConfig({ tier: 3, isTypeChecked: true }).

Rules introduced only at tier 3 or 4 default to warnings. Use xy lint --strict (or XY_STRICT=1) to treat warnings as errors in CI.

Extending with custom rules

import { recommendedConfig } from '@ariestools/eslint-config-flat'

export default [
  ...recommendedConfig({ tier: 3, isTypeChecked: true }),
  {
    rules: {
      // your overrides
    },
  },
]

Individual configs

import {
  importConfig,
  rulesConfig,
  typescriptConfig,
  unicornConfig,
} from '@ariestools/eslint-config-flat'

JSON/markdown helpers: jsonConfig, docsConfig. There is no SonarJS config in this package (xy sonar is a separate, quarantined CLI command).

What's included

  • TypeScript strict linting via @typescript-eslint
  • Import sorting and validation via eslint-plugin-import-x
  • Best practices via eslint-plugin-unicorn
  • Monorepo workspace rules via eslint-plugin-workspaces
  • Markdown linting via @eslint/markdown
  • Stylistic formatting (no semicolons, single quotes, trailing commas, 2-space indent)

For React projects, use @ariestools/eslint-config-react-flat instead.

Rule ownership

Some plugins cover similar territory. This config assigns a single canonical owner per concern and disables overlapping rules. See RULE_OWNERSHIP_GROUPS and assertNoRuleOwnershipConflicts.

When upgrading ESLint plugins, run tests in this package — spec/plugin-rules.spec.ts snapshots each plugin's rule list and fails when new rules appear.

License

LGPL-3.0-only. See LICENSE (LGPLv3) and COPYING (GPLv3, incorporated by LGPL-3).

Credits

Made with 🔥 and ❄️ by Aries Tools