lint-js
Check JavaScript/TypeScript code quality with ESLint
Best use case
lint-js is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Check JavaScript/TypeScript code quality with ESLint
Teams using lint-js should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/lint-js/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How lint-js Compares
| Feature / Agent | lint-js | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Check JavaScript/TypeScript code quality with ESLint
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# JavaScript/TypeScript Lint Skill
## 📋 Overview
Use **ESLint** to check JavaScript and TypeScript code quality:
- 🔍 **Error detection**: Find potential bugs and issues
- 📏 **Style check**: Unified code style
- 🔧 **Auto-fix**: One-click fix for common issues
- 🎯 **Configurable**: Supports multiple rule sets
## 🔧 Prerequisites
| Tool | Min Version | Check Command | Installation |
|------|-------------|---------------|--------------|
| Node.js | 16+ | `node --version` | [nodejs.org](https://nodejs.org) |
| ESLint | 8.0+ | `eslint --version` | `npm install -g eslint` |
## 🚀 Usage
### Method 1: AI Assistant
```
"Use lint-js to check my JavaScript code"
```
### Method 2: Run Script Directly
```powershell
# Windows
.\.agents\skills\lint-js\scripts\lint.ps1
# Linux/Mac
./.agents/skills/lint-js/scripts/lint.sh
```
### Method 3: With Parameters
```powershell
# Auto-fix
.\.agents\skills\lint-js\scripts\lint.ps1 -Fix
# Specific file types
.\.agents\skills\lint-js\scripts\lint.ps1 -Extensions "ts,tsx"
```
## 🎯 What It Checks
### Code Quality
- ✅ Unused variables
- ✅ Undefined variables
- ✅ Duplicate code detection
- ✅ Complexity check
### Best Practices
- ✅ Strict mode
- ✅ Arrow function usage
- ✅ Promise handling
- ✅ async/await standards
### TypeScript Specific
- ✅ Type safety check
- ✅ Interface standards
- ✅ Naming conventions
- ✅ Import sorting
> **Safety Gate**: By default, this skill skips protected folders (`.agents/`, `bmad/`) and `README.md`.
## ⚙️ Configuration
```json
// .eslintrc.json
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-unused-vars": "warn",
"no-console": "off",
"quotes": ["error", "single"],
"semi": ["error", "always"]
}
}
```
## 🔗 Related Resources
- [ESLint Documentation](https://eslint.org/)
- [TypeScript ESLint](https://typescript-eslint.io/)Related Skills
sql-lint
SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.)
rust-lint
Rust code quality check - Use Clippy and Rustfmt to ensure Rust code standards and performance optimization
lint-python
Check Python code quality with Ruff
k8s-lint
Kubernetes YAML validation - Use kube-linter and kubeconform to check K8s config security and best practices
docker-lint
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
ai-agent-lint
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
vuln-scan
Multi-language dependency security scan - Use Safety CLI and OSV-Scanner to quickly detect dependency vulnerabilities in Python/JS/Java projects
SKILL_ONBOARDING.md
> **Purpose**: Conduct a one-time "Handshake Interview" with the user to establish their Developer Persona.
usb-debug
No description provided.
serial-debug
No description provided.
security-check
Check dependency security vulnerabilities
run-tests
Run project test suite