Skip to content

Commit d65fd52

Browse files
authored
fix(rulegen): update template to include comma after 'pending'. (#15000)
Otherwise you end up with syntax errors when there are config options to generate.
1 parent bf09033 commit d65fd52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/rulegen/template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ declare_oxc_lint!(
5656
{{mod_name}},
5757
nursery, // TODO: change category to `correctness`, `suspicious`, `pedantic`, `perf`, `restriction`, or `style`
5858
// See <https://oxc.rs/docs/contribute/linter.html#rule-category> for details
59-
pending // TODO: describe fix capabilities. Remove if no fix can be done,
59+
pending, // TODO: describe fix capabilities. Remove if no fix can be done,
6060
// keep at 'pending' if you think one could be added but don't know how.
6161
// Options are 'fix', 'fix_dangerous', 'suggestion', and 'conditional_fix_suggestion'
6262
{{#if rule_config}}

0 commit comments

Comments
 (0)