Skip to content
Back to skills

Eslint

ASecurity

General rules for linting this project; use when handling lint errors or adding ESLint to a package.

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
development

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill eslint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Eslint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Eslint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-eslint/badge)](https://www.skillsdirectory.com/skills/majiayu000-eslint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ESLint
description: General rules for linting this project; use when handling lint errors or adding ESLint to a package.
---

Always run `eslint --fix` instead of just `eslint`.
Consider this skill whenever linting or addressing lint errors.

**Never disable an ESLint rule.** Fix the code or types so the rule is satisfied (e.g. add proper types, narrow with type guards, or restructure). Do not use `eslint-disable`, `eslint-disable-next-line`, or inline comment disables.

## Adding ESLint to a package (using @zerospin/utils)

Use the shared config from `@zerospin/utils` so new packages match the rest of the repo.

1. **Dependencies** (devDependencies in the package's `package.json`):
   - `eslint`: `^9`
   - `@zerospin/utils`: `workspace:*`

2. **Config file** - add `eslint.config.ts` in the package root:

```ts
import { baseConfig, defineConfig } from '@zerospin/utils'

const eslintConfig = defineConfig({}, baseConfig)

export default eslintConfig
```

3. **Script** (if missing): `"lint": "eslint ."` in `package.json` scripts.

4. **Optional overrides** - pass more args to `defineConfig` (same pattern as `apps/platform/eslint.config.ts`): e.g. `ignores`, `rules`, `settings`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.