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

@fluid-project/eslint-config-infusion-6

v1.0.0

Published

The ESLint configuration of Infusion 6 - the rules of eslint-config-fluid, which it replaces, with Infusion's own settings, as an ESLint flat configuration

Readme

@fluid-project/eslint-config-infusion-6

The ESLint configuration of Infusion 6, as a flat configuration for ESLint 10. It replaces eslint-config-fluid 2.1.1, together with the settings that Infusion's own .eslintrc.json made over it, and keeps the effective settings they gave.

  • eslint-config-fluid's rules, at the same severities and options. Its formatting rules, deprecated in ESLint's core, come from @stylistic/eslint-plugin. Wherever @stylistic's defaults differ from the core's, the core's behaviour is stated: SwitchCase: 0 for indent, and the core's exceptions for comma-style.
  • Its JSDoc rules, through eslint-plugin-jsdoc, in "jsdoc" mode as version 39 used. Infusion's own setting prefers any over Any.
  • Its environments as globals: the browser's and jQuery's, plus fluid and $.
  • Infusion's own settings:
    • strict is set to "global".
    • no-console and no-loop-func are off.
    • Double quotes are required, but template literals are allowed, and so are single quotes to avoid escaping.
    • ECMAScript 2022 is used, with .js files parsed as scripts.
  • fluid-lint's rules, plus its processor for Single File Components, from eslint-plugin-fluid-lint.

Some defaults changed between ESLint 8 and 10, and the old behaviour is kept:

  • no-unused-vars doesn't report an unused caught error.
  • An unused eslint-disable comment isn't reported.

Use

"use strict";

const infusion = require("@fluid-project/eslint-config-infusion-6");

module.exports = [
    {ignores: ["**/lib/**"]},
    ...infusion.recommended,
    // Files run by node: CommonJS, with node's globals - what /* eslint-env node */ once declared
    {files: ["bin/**/*.js"], ...infusion.node},
    // ES modules
    {files: ["src/esm/**/*.js"], ...infusion.module},
    // Other environments, from the globals package, which this package re-exports
    {files: ["extension/**/*.js"], languageOptions: {globals: infusion.globals.webextensions}}
];

ESLint 10 reports /* eslint-env */ comments as errors, so environments must be given in the configuration, by file. Infusion's own eslint.config.js is a complete example.

Installation

The package is released from this repository with Infusion's other packages, as a tarball attached to its GitHub release, e.g. @fluid-project/[email protected] - see the releases. A project installs it, and the two packages it requires, which it names as peer dependencies, by the URLs of their tarballs, together with ESLint 10:

"devDependencies": {
    "eslint": "10.15.0",
    "@fluid-project/fluid-lint": "https://github.com/fluid-project/infusion-6/releases/download/%40fluid-project/fluid-lint%401.0.0/fluid-project-fluid-lint-1.0.0.tgz",
    "@fluid-project/eslint-plugin-fluid-lint": "https://github.com/fluid-project/infusion-6/releases/download/%40fluid-project/eslint-plugin-fluid-lint%401.0.0/fluid-project-eslint-plugin-fluid-lint-1.0.0.tgz",
    "@fluid-project/eslint-config-infusion-6": "https://github.com/fluid-project/infusion-6/releases/download/%40fluid-project/eslint-config-infusion-6%401.0.0/fluid-project-eslint-config-infusion-6-1.0.0.tgz"
}

The peer dependencies must be named so, since they are not in the npm registry, from which npm would otherwise install them. node scripts/useRelease.js <project> points a project which names them at the versions of this checkout. fluid-lint's summary formatter, as npm run lint uses it, is ./node_modules/@fluid-project/fluid-lint/eslint-summary-formatter.cjs. Within this repository the three are workspaces, linked into node_modules/@fluid-project/ by npm install.