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

@inflexa-ai/oxlint-plugin-solid

v0.10.1

Published

The oxlint rules and configuration of Inflexa for SolidJS applications.

Readme

@inflexa-ai/oxlint-plugin-solid

The oxlint rules and the shared oxlint configuration for SolidJS applications. The package builds on @inflexa-ai/oxlint-plugin, and it installs eslint-plugin-solid. oxlint runs eslint-plugin-solid as a JS plugin.

Install

npm install --save-dev @inflexa-ai/oxlint-plugin-solid @inflexa-ai/oxlint-plugin oxlint oxlint-tsgolint

Install @inflexa-ai/oxlint-plugin beside this package. The repository imports vitest from it, and it runs its directive-guard.

Pin oxlint and oxlint-tsgolint to exact versions, because JS plugins and type-aware rules are not under semver.

Hold the two TypeScript aliases in the devDependencies of the repository:

{
  "devDependencies": {
    "@typescript/native": "npm:[email protected]",
    "typescript": "npm:@typescript/typescript6@^6.0.2"
  }
}

eslint-plugin-solid, which this package installs, sits on @typescript-eslint/utils 8.71.0. Its peer range for typescript is >=4.8.4 <6.1.0, so on TypeScript 7 the peer finds no match and npm ls --all exits 1. typescript-eslint widens the range when TypeScript 7 ships the API that it waits for; the request is typescript-eslint/typescript-eslint#10940. The two lines above hold TypeScript 7 beside it: @typescript/native serves tsc and inflexa-typecheck, the name typescript holds TypeScript 6 for the editors and for the peer of @typescript-eslint/utils, and npm ls --all exits 0. A repository that installs typescript 7 flat keeps the invalid peer; the two lines are the repair.

Use

Call the factory in oxlint.config.ts, and apply the rules of this plugin to the folders of the repository:

import { vitest } from '@inflexa-ai/oxlint-plugin'
import { solid } from '@inflexa-ai/oxlint-plugin-solid'

export default solid({
  version: 1,
  overrides: [
    {
      files: ['src/**/*.tsx'],
      rules: {
        '@inflexa-ai/solid/no-raw-context': 'error',
        '@inflexa-ai/solid/require-cleanup': 'error',
      },
    },
    { files: ['src/contexts/factory.ts'], rules: { '@inflexa-ai/solid/no-raw-context': 'off' } },
    { files: ['**/*.test.{ts,tsx}'], ...vitest },
  ],
})

solid() gives the configuration of typescript(), the rules of eslint-plugin-solid/configs/typescript, and solid/prefer-show as an error. It turns on no rule of this plugin. The repository turns them on in its own blocks.

The version option writes the major version of Solid to settings.solid.version, which eslint-plugin-solid reads. The option changes the settings only. With version: 2, the rules of eslint-plugin-solid/configs/v2 stay off, for example solid/removed-api. A repository on Solid 2 turns them on in its own blocks.

typescript() bans each raw timer, and solid() keeps the ban. To let a component use setInterval with an onCleanup, set syntax: { timers: false }. A repository can also turn the ban off in its own blocks.

oxlint gives a JS plugin no type information. Thus inflexa-typecheck of @inflexa-ai/typecheck runs the rules that read types, together with the type check of tsc --noEmit. Install @inflexa-ai/typecheck with the two TypeScript alias lines of the Install section, and write typecheck.config.ts:

import { typecheck } from '@inflexa-ai/typecheck'

export default typecheck()

Run the three tools in this sequence:

oxlint && inflexa-typecheck && directive-guard

directive-guard comes with @inflexa-ai/oxlint-plugin. It reports each disable directive that switches off a rule of @inflexa-ai/ with no entry in the lint configuration.

Documentation

License

Apache-2.0