Marketplace lint-typecheck
Run ESLint and TypeScript type checking on the frontend codebase. Use when user mentions "lint", "type check", "check code", "eslint", "tsc", or before committing changes.
install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/applelamps/lint-typecheck" ~/.claude/skills/aiskillstore-marketplace-lint-typecheck && rm -rf "$T"
manifest:
skills/applelamps/lint-typecheck/SKILL.mdsource content
Lint and Type Check
Instructions
-
Navigate to frontend directory and run lint:
cd frontend && npm run lint -
Run TypeScript compilation check (no emit):
cd frontend && npx tsc -b --noEmit -
If errors are found:
- List all errors with file locations
- Offer to fix auto-fixable ESLint issues:
npm run lint -- --fix - For TypeScript errors, identify the type mismatches
-
Report summary: X lint warnings, Y lint errors, Z type errors
Examples
- "Run lint on the frontend"
- "Check for type errors"
- "Validate code before commit"
Guardrails
- Run in read-only mode first; only apply
with user confirmation--fix - Do not modify tsconfig.json to suppress errors
- Report all issues before attempting fixes