Ts npm oxlint setup
npx -y skills add kongyo2/ts-npm-oxlint-setup --skill ts-npm-oxlint-setupAssembled 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
oxlintexists indevDependenciesscriptscontainslint,lint:strict,check:file.oxlintrc.jsonexists 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.lintalready exists, replace it withoxlint --silent. - Keep non-lint scripts (for example
test,dev,build) unchanged. - Add missing
lint:strictandcheck:filewithout 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.jsondoes 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 lintshould pass (exit code0) before considering setup complete.- Optional strict check (recommended):
npm run lint:strict
npm run lint:strictmay fail if warnings exist (--deny-warningsbehavior). That is expected and does not mean setup failed.check:filemust be exactlyoxlint.npm run check:fileruns a full-project lint.npm run check:file -- src/example.tsruns lint for the provided path only.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.