typescript-codequality-check

Run ESLint, Prettier, and tsc checks on TypeScript code via pnpm.

142|14|Updated Jan 14, 2020
One-click install
npx skills add https://github.com/marigold-ui/marigold --skill typescript-codequality-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-codequality-check
Source: https://github.com/marigold-ui/marigold/tree/main/.claude/skills/typescript-codequality-check
Command: npx skills add https://github.com/marigold-ui/marigold --skill typescript-codequality-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need to maintain high code quality in Typescript projects by automating essential checks like linting, formatting, and type-checking.

Core Features & Use Cases

  • Automated Linting: Catches stylistic and programmatic errors using ESLint.
  • Code Formatting: Ensures consistent code style with Prettier.
  • Type Checking: Verifies type safety with the TypeScript compiler (tsc).
  • Use Case: After making changes to your Typescript files, run this skill to automatically verify that the code adheres to project standards and is free of type errors before committing.

Quick Start

Run the pnpm lint command from the project root to check your code quality.

Frequently Asked Questions about typescript-codequality-check

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

FAQPage Schema
How do I check TypeScript code quality using pnpm?

To check TypeScript code quality, run the `pnpm lint` command from your project root to execute ESLint, Prettier, and tsc checks. This validates code formatting, catches stylistic errors, and verifies type safety automatically.

What is automated TypeScript linting and type checking?

Automated TypeScript linting and type checking is the process of using ESLint, Prettier, and the TypeScript compiler to enforce coding standards. It catches stylistic errors, ensures consistent formatting, and verifies type safety before code commits.

When do I need to run type checking and formatting on TypeScript files?

You need to run type checking and formatting on TypeScript files after making code changes and before committing. This ensures your code adheres to project standards, maintains consistent style, and is free of type errors.

Does this TypeScript code quality check work with ESLint and Prettier?

Yes, this TypeScript code quality check works with ESLint and Prettier. It executes automated linting to catch programmatic errors via ESLint and applies code formatting standards using Prettier alongside tsc type checking.

What's the best way to ensure code integrity in TypeScript projects?

The best way to ensure code integrity in TypeScript projects is automating checks for linting, formatting, and type-checking. Running `pnpm lint` verifies code adherence to standards and prevents type errors before committing changes.