本文へスキップ
Kitbay
スキル公式

lint-new

NOASSERTION2026年11月11日 更新45,751GitHubスター

A maintainer skill in Sentry's repository for adding a new rule, with tests, to its own @sentry/scraps ESLint plugin that enforces front-end design-system conventions.

スキルの内容

A maintainer skill in Sentry's repository for adding a new rule, with tests, to its own @sentry/scraps ESLint plugin that enforces front-end design-system conventions. The agent picks one of four rule types (rewriting imports, checking style values per CSS property, restricting JSX in certain props, or scanning static CSS text), reuses the plugin's shared syntax-tree helpers, and writes the rule and a spec file with the typescript-eslint rule tester. Autofix is added by default unless the change is ambiguous, needs type information or could alter behaviour, in which case every invalid test case must still state its expected output. The rule is then exported, enabled in the ESLint config and checked by running its spec.

できること

  • Scaffold a new ESLint rule and its tests
  • Reuse shared syntax-tree helpers
  • Decide whether a rule gets an autofix
  • Register and enable the rule