lint

Lint JavaScript and TypeScript codebases to surface style and runtime issues.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Postalocity/template-microsite --skill lint-postalocity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/Postalocity/template-microsite/tree/main/.opencode/skills/lint
Command: npx skills add https://github.com/Postalocity/template-microsite --skill lint-postalocity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code linting and static analysis to catch errors, style issues, and potential bugs early.

Core Features & Use Cases

  • Linting across codebases to enforce style rules and detect common mistakes
  • Static analysis to find potential runtime issues and anti-patterns
  • Use cases include CI checks before merges and local development quality gates

Quick Start

Run a lint pass on your project to surface issues in your codebase.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I automate JavaScript and TypeScript code linting in a CI pipeline?

Automate code linting by configuring project-specific rules in package.json and executing lint commands via Node.js in your CI pipeline. This surfaces style issues, unused imports, and potential runtime problems before code merges.

What static analysis checks can I run to catch unused imports in TypeScript?

Static analysis checks identify unused imports and anti-patterns by applying linting rules across your TypeScript codebase. Running a lint pass locally or in CI catches these potential runtime issues early.

Do I need Node.js to run static analysis on a JavaScript codebase?

Yes, you need Node.js installed to execute lint commands for static analysis on a JavaScript codebase. The linter integrates into package.json and requires the Node.js environment to run its checks.

Can I configure custom linting rules for my project?

Yes, you can configure custom linting rules specific to your project. The linter integrates directly into your package.json, allowing you to define style checks and static analysis rules tailored to your codebase.

What's the difference between local development linting and CI checks?

Local development linting acts as a quality gate during coding, while CI checks enforce style rules before merges. Both apply the same static analysis to detect anti-patterns and potential bugs early in the workflow.

When should I use static analysis to find anti-patterns in my codebase?

Use static analysis to find anti-patterns when you need to catch errors and style issues early. Running linting passes locally or in CI pipelines helps surface potential runtime problems before they reach production.