Commit graph

1519 commits

Author SHA1 Message Date
magic-akari
b4ee8c0dc3
feat(linter): no-empty-pattern (fix) 2023-03-03 17:53:51 +08:00
magic-akari
85de06eae7
feat(linter): no-empty-pattern (#74)
* feat(linter): no-empty-pattern

* chore(linter/no-empty-pattern): update docs and examples

* chore: fix typo
2023-03-03 17:53:00 +08:00
Shannon Rothe
92b232372f
feat(linter): implement autofix (#94)
* feat(linter): implement autofix

* remove `fs::write`
2023-03-03 17:12:47 +08:00
Yoni Feigelson
9b5c170c19 refactor(linter) Generate rule name with declare_oxc_lint 2023-03-01 06:50:36 -08:00
Yoni Feigelson
f859ee0e38 feat(linter): declare_oxc_lint proc_macro 2023-02-28 18:05:45 -08:00
Amit Dahan
3b53e0ba4e feat(linter): no-array-constructor 2023-02-27 08:12:28 -08:00
Boshen
9d4367c2cd refactor(linter): s/from_json/from_configuration 2023-02-27 12:31:57 +08:00
Boshen
8b9ebcd6e5 feat(linter): read rule configuration from json 2023-02-27 12:31:57 +08:00
Boshen
b4a5f13fb6 feat(linter): make no-empty configure from json 2023-02-27 12:31:57 +08:00
Boshen
5c64b4874c feat(linter): configure rules from json 2023-02-27 12:31:57 +08:00
Boshen
a342a01c4a feat(linter): add rule name and make the Tester test via rule names 2023-02-27 12:31:57 +08:00
Boshen
73ea3d6361 feat(ast,lexer,linter): save and check comments 2023-02-27 12:31:57 +08:00
Boshen
f3ca02f596 feat(linter): access parent of ast nodes 2023-02-27 12:31:57 +08:00
Boshen
f72c96270e feat(linter): no-empty 2023-02-27 12:31:57 +08:00
Boshen
915518b614 refactor(oxc_diagnostics): s/PError/Error 2023-02-26 02:02:05 +08:00
Boshen
4f36f7d2ef
ci: attempt to fix miri with "-Zmiri-disable-isolation" 2023-02-26 00:49:19 +08:00
Boshen
4c2e57224b
ci: ignore miri for insta 2023-02-26 00:00:04 +08:00
Boshen
28916f96af feat(linter): setup tests 2023-02-25 23:45:03 +08:00
Boshen
c86cca37a8 feat(linter): linter prototype 2023-02-25 16:56:10 +08:00