Pular para o conteúdo
Kitbay
SkillOficial

lint-fix

NOASSERTIONAtualizado em 11 de nov. de 202645.751Estrelas no GitHub

A maintainer skill in Sentry's repository for fixing violations of one of its own @sentry/scraps ESLint rules, which enforce design-system conventions in the front end, across a file or folder.

O que a skill ensina

A maintainer skill in Sentry's repository for fixing violations of one of its own @sentry/scraps ESLint rules, which enforce design-system conventions in the front end, across a file or folder. The agent reads the rule's fix notes, counts violations in a narrow path first because linting the whole app is slow, then picks a strategy by scale: the rule's autofix where it has one, manual batches of a few files under a hundred violations, folder-by-folder commits up to five hundred, and a temporary codemod or a warning-level rollout beyond that. Large changes are split into pull requests of about fifty files by code owner, and the run ends when the rule reports zero problems.

O que faz

  • Count violations of a lint rule in a path
  • Choose a fix strategy by number of violations
  • Fix violations in batches and re-lint
  • Split large rollouts by code owner