--- id: [[P-Reinforce|P-Reinforce]]-AUTO-ESPL-001 category: Dev confidence_score: 0.96 tags: [auto-reinforced, [[ESLint|ESLint]], plugin-development, static-[[Analysis|Analysis]], ast, [[JavaScript|JavaScript]], dev-tooling, automation] last_reinforced: 2026-04-20 --- # [[ESLint-Plugin-Development|ESLint-Plugin-Development]] ## πŸ“Œ ν•œ 쀄 톡찰 (The Karpathy Summary) > "우리 νŒ€λ§Œμ˜ λ³΄μ•ˆ ν•„ν„°: λ‹¨μˆœν•œ κ·œμΉ™ μ‚¬μš©μ„ λ„˜μ–΄, ν”„λ‘œμ νŠΈ 고유의 섀계 μ›μΉ™μ΄λ‚˜ λ³΄μ•ˆ 취약점 정책을 κ°μ§€ν•˜λŠ” μ»€μŠ€ν…€ λ‘œμ§μ„ ν”ŒλŸ¬κ·ΈμΈ ν˜•νƒœλ‘œ νŒ¨ν‚€μ§•ν•˜μ—¬ μ „μ‚¬μ μœΌλ‘œ λ°°ν¬ν•˜κ³  μ½”λ“œ ν’ˆμ§ˆμ„ μˆ˜ν‰ μ „κ°œν•˜λŠ” 도ꡬ μ œμž‘κΈ°." ## πŸ“– κ΅¬μ‘°ν™”λœ 지식 (Synthesized Content) ESLint ν”ŒλŸ¬κ·ΈμΈ 개발(ESLint-Plugin-Development)은 μ—¬λŸ¬ ESLint κ·œμΉ™(Rules)κ³Ό μ„€μ •(Configs)을 ν•˜λ‚˜μ˜ λͺ¨λ“ˆλ‘œ λ¬Άμ–΄ λ‹€λ₯Έ ν”„λ‘œμ νŠΈμ—μ„œ μž¬μ‚¬μš©ν•  수 있게 λ§Œλ“œλŠ” κ³Όμ •μž…λ‹ˆλ‹€. 1. **ꡬ쑰 μš”μ†Œ**: * **Rules**: μ‹€μ œ μ½”λ“œλ₯Ό κ²€μ‚¬ν•˜λŠ” 둜직 (AST λ°©λ¬Έ 주체). ([[Custom-ESLint-Rules|Custom-ESLint-Rules]]와 μ—°κ²°) * **Configs**: ꢌμž₯λ˜λŠ” κ·œμΉ™ μ„€μ • μ„ΈνŠΈ (예: `plugin:my-plugin/recommended`). * **Processors**: `.md`λ‚˜ `.vue` 같은 λΉ„ JS νŒŒμΌμ—μ„œ JS μ½”λ“œλ₯Ό μΆ”μΆœν•˜λŠ” μ „μ²˜λ¦¬κΈ°. 2. **μ™œ μ€‘μš”ν•œκ°€?**: * λŒ€κ·œλͺ¨ μ‘°μ§μ—μ„œ 맀번 각 ν”„λ‘œμ νŠΈμ˜ 린트 섀정을 볡사-λΆ™μ—¬λ„£κΈ° ν•  ν•„μš” 없이, 쀑앙 κ΄€λ¦¬ν˜• ν”ŒλŸ¬κ·ΈμΈ 정책을 톡해 μ½”λ“œ ν‘œμ€€ 정책을 μΌνšŒμ„±μœΌλ‘œ μ „νŒŒν•  수 있기 λ•Œλ¬Έμž„. ([[Efficiency|Efficiency]]와 μ—°κ²°) ## ⚠️ λͺ¨μˆœ 및 μ—…λ°μ΄νŠΈ (Contradictions & RL Update) - **κ³Όκ±° λ°μ΄ν„°μ™€μ˜ 좩돌**: κ³Όκ±°μ—λŠ” λ‹¨μˆœν•œ μ •κ·œν‘œν˜„μ‹ μ •μ±… 검사에 κ°€κΉŒμ› μœΌλ‚˜, ν˜„λŒ€ 정책은 κ°•λ ₯ν•œ 'νƒ€μž… 정보 μ •μ±…(Type-aware linting)'을 ν™œμš©ν•˜μ—¬ νƒ€μž…μŠ€ν¬λ¦½νŠΈμ˜ νƒ€μž… 관계 μ •μ±…κΉŒμ§€ κ²€μ¦ν•˜λŠ” κ³ μˆ˜μ€€ ν”ŒλŸ¬κ·ΈμΈ μ •μ±…μœΌλ‘œ λ°œμ „ν•¨(RL Update). - **μ •μ±… λ³€ν™”(RL Update)**: μ΄μ œλŠ” λ‹¨μˆœ μ—λŸ¬ 감지 정책을 λ„˜μ–΄, λ³΅μž‘ν•œ λ¦¬νŒ©ν† λ§ 정책을 μ½”λ“œκ°€ 써진 μˆœκ°„ μžλ™μœΌλ‘œ μˆ˜ν–‰(Fixer)ν•΄ μ£ΌλŠ” λ³΄μ’Œμ§„ 역할을 μˆ˜ν–‰ν•¨. ([[Quality-Control|Quality-Control]]와 μ—°κ²°) ## πŸ”— 지식 μ—°κ²° (Graph) - [[Custom-ESLint-Rules|Custom-ESLint-Rules]], [[Efficiency|Efficiency]], [[Quality-Control|Quality-Control]], [[Technical-Architecture|Technical-Architecture]], Standard-Operating-Procedure, Automation - **Key Tools**: Yeoman generator-eslint, AST Explorer. ---