agentsclimarketplace

Ts npm oxlint setup

Skill kongyo2/ts-npm-oxlint-setup/ts-npm-oxlint-setup

Install
npx -y skills add kongyo2/ts-npm-oxlint-setup --skill ts-npm-oxlint-setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Set up Oxlint in a TypeScript project.

SKILL.md

2.0 KB, 518 tokens by cl100k_base, as published. Nobody here has run it

TS + npm Oxlint Setup

Use this when a project uses TypeScript + npm and you want a fast lint baseline.

Expected Outcome

  • oxlint exists in devDependencies
  • scripts contains lint, lint:strict, check:file
  • .oxlintrc.json exists with baseline categories/rules/ignore patterns

Setup

npm add -D oxlint

package.json scripts

{
  "scripts": {
    "lint": "oxlint --silent",
    "lint:strict": "oxlint --deny-warnings",
    "check:file": "oxlint"
  }
}
  • If scripts.lint already exists, replace it with oxlint --silent.
  • Keep non-lint scripts (for example test, dev, build) unchanged.
  • Add missing lint:strict and check:file without deleting other scripts.

.oxlintrc.json

{
  "plugins": ["promise", "import", "node"],
  "categories": {
    "correctness": "error",
    "suspicious": "warn"
  },
  "rules": {
    "no-console": "warn",
    "typescript/no-explicit-any": "error"
  },
  "ignorePatterns": ["node_modules", "dist", "build", "coverage", "*.min.js"]
}
  • If .oxlintrc.json does not exist, create it from the baseline above.
  • If it already exists, merge with this rule:
    • Keep existing project values on conflicts.
    • Add only missing keys/items from the baseline.
    • For arrays (plugins, ignorePatterns), keep existing order and append only missing baseline items (no duplicates).
    • Never delete existing project-specific rules.

Verification

Run required check:

npm run lint
  • npm run lint should pass (exit code 0) before considering setup complete.
  • Optional strict check (recommended):
npm run lint:strict
  • npm run lint:strict may fail if warnings exist (--deny-warnings behavior). That is expected and does not mean setup failed.
  • check:file must be exactly oxlint.
  • npm run check:file runs a full-project lint.
  • npm run check:file -- src/example.ts runs lint for the provided path only.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 327,069. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.