stacks-lint

Lint and format Stacks projects using Pickier configuration.

622|17|Updated Apr 26, 2022
One-click install
npx skills add https://github.com/stacksjs/stacks --skill stacks-lint
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stacks-lint
Source: https://github.com/stacksjs/stacks/tree/main/.claude/skills/stacks-lint
Command: npx skills add https://github.com/stacksjs/stacks --skill stacks-lint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Linting and formatting in Stacks projects is centralized to Pickier, ensuring consistent code quality and discouraging direct eslint usage.

Core Features & Use Cases

  • Lint and format Stacks projects with Pickier as the core tool.
  • Auto-fix issues using the pickier workflow (bunx --bun pickier . --fix).
  • Use project-level configuration at config/lint.ts and the buddy lint/format commands to enforce formatting and style.

Quick Start

Run buddy lint to lint and format your Stacks project using the configured pickier setup.

Frequently Asked Questions about stacks-lint

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

FAQPage Schema
How do I lint and format a Stacks project using pickier?▼

To lint and format a Stacks project, run the buddy lint command, which utilizes the pickier configuration defined in config/lint.ts to enforce code quality and style.

What is the recommended way to auto-fix linting issues in a Stacks project?▼

The recommended way to auto-fix linting issues is using the pickier workflow directly by running bunx --bun pickier . --fix to automatically resolve formatting, indentation, and quote style violations.

Does the Stacks linting setup support JSON, YAML, and Markdown files?▼

Yes, the Stacks linting setup supports JSON, YAML, and Markdown files, applying the pickier configuration to enforce consistent formatting and code quality across these formats alongside TypeScript and JavaScript.

Can I use eslint directly for code quality in a Stacks project?▼

Direct eslint usage is discouraged in Stacks projects; instead, code quality and formatting are centralized through pickier and the buddy lint/format integration to ensure consistent linting.

Where do I configure formatting rules like indentation and quotes for pickier?▼

You configure formatting rules like indentation and quotes for pickier by defining your PickierOptions within the project-level configuration file located at config/lint.ts.