Claude-skill-registry ESLint
General rules for linting this project; use when handling lint errors or adding ESLint to a package.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/eslint" ~/.claude/skills/majiayu000-claude-skill-registry-eslint && rm -rf "$T"
manifest:
skills/data/eslint/SKILL.mdsource content
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.
-
Dependencies (devDependencies in the package's
):package.json
:eslint^9
:@zerospin/utilsworkspace:*
-
Config file - add
in the package root:eslint.config.ts
import { baseConfig, defineConfig } from '@zerospin/utils' const eslintConfig = defineConfig({}, baseConfig) export default eslintConfig
-
Script (if missing):
in"lint": "eslint ."
scripts.package.json -
Optional overrides - pass more args to
(same pattern asdefineConfig
): e.g.apps/platform/eslint.config.ts
,ignores
,rules
.settings