Skip to content

Commit f7d3e1d

Browse files
committed
fix: ignore underscore-prefixed unused args in eslint
The compositionGuardPlugin added in 5d89a69 declares _view/_event handler args that are intentionally unused, prefixed with _ per the existing convention. no-unused-vars only had varsIgnorePattern, so these args failed the lint step and broke CI on main. Add argsIgnorePattern: '^_' to honor the prefix convention. https://claude.ai/code/session_01KndTBoSS4psob1CTs9q5cs
1 parent 5d89a69 commit f7d3e1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineConfig([
2323
},
2424
},
2525
rules: {
26-
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
26+
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]', argsIgnorePattern: '^_' }],
2727
},
2828
},
2929
])

0 commit comments

Comments
 (0)