Commit graph

15 commits

Author SHA1 Message Date
Cameron
7da9a39b5d
fix(rulegen): update lint rule template (#7502) 2024-11-27 17:40:38 +08:00
dalaoshu
705051560e
feat(rulegen): add diagnostic for rule template (#6187)
When writing new rules, it is always inevitable to add `diagnostic`.
Perhaps we can preset it in the `template`.

In addition, guide users to view relevant documents.
2024-10-01 11:04:50 +08:00
Don Isaac
a266b45167
feat(rulegen): improve examples in documentation (#4815) 2024-08-10 18:48:59 -04:00
heygsc
bd56b6b56b
chore(tasks): change comment fix-dangerous to fix_dangerous (#4756) 2024-08-08 18:42:29 +08:00
DonIsaac
247b2afae7 feat(rulegen): add fix capabilities to new rule template (#4558) 2024-07-31 03:28:17 +00:00
Wang Wenzhe
8212090a43
feat(tasks/rulegen): support generate fix cases (#3600) 2024-06-10 17:16:50 +08:00
Boshen
dd42f279f7
chore: change website url to https://oxc.rs 2024-06-05 22:05:08 +08:00
Boshen
736232ee26
refactor(rulegen): clean up diagnostics 2024-05-12 00:34:11 +08:00
Dunqing
64cd8a9d69 feat(rulegen): support filename option (#3240) 2024-05-11 14:53:48 +00:00
Boshen
d91b688f3a
chore(rulegen): default rule to nursery 2024-05-06 17:17:36 +08:00
Boshen
b386177af2
refactor(linter): move away from tuples for test cases (#2011)
closes #1956
2024-01-13 16:23:16 +08:00
Boshen
a75582046b
refactor(codegen): do not use (code, option) tuple if there are no configurations (#1038)
closes #1035
2023-10-23 16:40:56 +08:00
Devin-Yeung
a041fbd96b
fix(rulegen): import thiserror correctly (#735)
close #734
2023-08-14 10:20:25 +08:00
Carter Snook
a518bcbb3b
fix(tasks/rulegen): use correct Span import (#433) 2023-06-12 11:09:02 +08:00
Shannon Rothe
da8355f418
feat(rulegen): refactor to visitor pattern (#162)
* feat(rulegen): refactor to visitor pattern

* convert `parse_test_code` to visitor pattern
2023-03-09 17:33:30 +08:00
Renamed from tasks/rule_generator/template.txt (Browse further)