ts-lint-setup

Set up strict TypeScript/JavaScript linting with Oxlint, dprint, jscpd, and knip via Gatefile.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/pyronaur/ngents --skill ts-lint-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ts-lint-setup
Source: https://github.com/pyronaur/ngents/tree/main/skills/ts-lint-setup
Command: npx skills add https://github.com/pyronaur/ngents --skill ts-lint-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up or upgrade strict TypeScript/JavaScript linting with Oxlint (type-aware), dprint (formatter), jscpd (0% duplication), and knip, routed through gate. Use when a repo needs lint tooling installed, Gatefile validation wired, or lint configuration standardized without silencing rules.

Core Features & Use Cases

This skill provides a standardized, maintainable baseline for linting across TypeScript/JavaScript projects. It coordinates installation of lint tooling, Gatefile integration for policy control, and the application of shared configuration templates (dprint.json, .oxlintrc.json, .jscpd.json, .jscpd.tests.json, knip.json). It enables consistent lint policy enforcement and delta reporting when comparing repos to the skill, including rule presence/absence, rule values, custom messages, duplication thresholds, and coverage. It emphasizes safe, non-disruptive wiring and clear governance for lint-related changes.

Quick Start

Follow the workflow to install lint tooling, update Gatefile entries, copy templates, wire lint through Gatefile, and validate with gate.

Frequently Asked Questions about ts-lint-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up strict TypeScript linting with Oxlint and dprint?

To set up strict TypeScript linting, this skill installs Oxlint, dprint, jscpd, and knip, then wires them through Gatefile to enforce standardized configuration policies without silencing rules.

What is the best way to enforce zero code duplication in a JavaScript project?

Enforcing zero code duplication requires configuring jscpd with a strict threshold. This skill applies standardized .jscpd.json configuration templates routed through Gatefile to validate JavaScript repositories.

How do I integrate lint configuration into a Gatefile?

Integrating lint configuration into a Gatefile involves adding validation entries for your tooling. This skill wires Oxlint, dprint, jscpd, and knip through Gatefile references to control policy enforcement.

Does this strict linting setup silence any existing TypeScript rules?

No, this strict linting setup does not silence TypeScript rules. It applies standardized baseline configurations using Oxlint and knip to enforce policy without disrupting existing project governance.

Can I use knip for dead code removal alongside Oxlint?

Yes, you can use knip alongside Oxlint. This skill coordinates the installation of both tools, applying shared knip.json configurations to detect unused code while Oxlint handles type-aware linting.

What files does a TypeScript linting baseline modify in a repository?

A TypeScript linting baseline modifies package.json, Gatefile references, and shared configuration templates like .oxlintrc.json and dprint.json to apply standardized lint policies across projects.