install
source · Clone the upstream repo
git clone https://github.com/m-ret/awesome-claude-code
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/m-ret/awesome-claude-code "$T" && mkdir -p ~/.claude/skills && cp -r "$T/templates/nodejs/.claude/skills/lint" ~/.claude/skills/m-ret-awesome-claude-code-lint && rm -rf "$T"
manifest:
templates/nodejs/.claude/skills/lint/SKILL.mdsource content
Lint Skill
Run comprehensive code quality checks for Node.js/TypeScript projects.
When to Use
- Before committing code
- After making significant changes
- When user requests code quality check
- Part of pre-commit workflow
Steps
-
Type Check (TypeScript projects)
npx tsc --noEmitReport any type errors found.
-
ESLint
npm run lint # or if no script exists: npx eslint . --ext .ts,.tsx,.js,.jsxReport linting issues.
-
Prettier Check
npx prettier --check . # or npm run format:checkReport formatting issues.
-
Fix Issues (if requested)
npm run lint:fix npx prettier --write .
Output
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CODE QUALITY CHECK TypeScript: [pass/X errors] ESLint: [pass/X warnings, Y errors] Prettier: [pass/X files need formatting] [Details of any issues] Suggested fixes: [if applicable] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Auto-Fix Mode
When invoked with "fix" argument:
- Run
npm run lint:fix - Run
npx prettier --write . - Report what was fixed
- Re-run checks to confirm