Boshen
693145107c
refactor(linter): less a global hashmap to reduce rule timer macro expansion ( #822 )
...
closes #819
2023-09-01 10:32:17 +08:00
Boshen
12798e075f
refactor: improve code coverage a little bit
2023-08-25 23:07:14 +08:00
Boshen
98e4240fe1
refactor(linter): manually declare lint rules because cargo fmt breaks ( #671 )
2023-07-31 15:16:21 +08:00
Boshen
1bc564eafc
feat(linter): add style category and change no-empty-interface to style
...
It's officially change in typescript-eslint
2023-07-29 11:02:51 +08:00
Boshen
252d3342a1
feat(linter): add a run_once callback ( #647 )
...
For situations where you want to inspect the scopes and trivias.
2023-07-27 18:15:15 +08:00
Boshen
d587065436
chore(rust): update crate info, add minimal rust-version, add categories
2023-07-27 13:33:18 +08:00
Shannon Rothe
21f8abe273
feat(cli): add support for TIMING env var ( #535 )
2023-07-25 11:14:36 +08:00
Boshen
e1f815fd8e
feat(linter): print plugin names for --rules
2023-06-25 22:47:58 +08:00
Boshen
42b97fc270
feat(linter): add suspicious and pedantic categories
2023-06-21 13:58:26 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate ( #460 )
2023-06-19 20:20:59 +08:00
Boshen
ad2835f11b
chore(rustfmt): run cargo fmt
2023-05-21 11:52:26 +08:00
Boshen
1004a1d197
chore: clean up workspace dependencies ( #320 )
2023-04-27 11:38:39 +08:00
Boshen
4801e68b56
chore: bump deps ( #311 )
2023-04-22 22:09:53 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files
2023-04-22 15:58:59 +08:00
Boshen
5b3b757290
chore(linter): add test to ensure documentation exists ( #296 )
2023-04-18 22:14:54 +08:00
Boshen
043a751dc7
chore(linter) move bad_bitwise_operator to restriction category
...
closes #243
2023-04-05 14:29:32 +08:00
Boshen
abcda95e8e
deps: bump deps
2023-04-02 16:48:45 +08:00
Boshen
9e3675a575
chore: clean up Cargo.toml
2023-03-30 23:27:26 +08:00
Boshen
d46c7aabd9
chore: do not publish some of the crates
2023-03-30 22:41:52 +08:00
yangchenye
88cd82b698
feat(macros): property generate declarations for nested modules ( #212 )
2023-03-27 10:30:47 +08:00
Boshen
ef19895cc3
feat(cli): add -A all -D isolated-declarations ( #211 )
...
* feat(linter): add restriction category for lint rules
* feat(cli): add "--allow" and "--deny" commands
* feat(linter): use a single instance of linter
* feat(cli): derive rules from args
* feat(cli): print number of rules
2023-03-26 04:34:31 -07:00
yangchenye
0d8d67b593
feat(linter): implement eslint(no-const-assign) ( #199 )
...
* feat(linter): implement eslint(no-const-assign)
* feat(semantics & linter): resolve symbols
* Use run_on_symbol
* Add resolved_reference to SymbolTable
2023-03-23 12:55:40 +08:00
Boshen
b5af93575f
deps: update dependencies ( #183 )
2023-03-15 10:30:12 +08:00
Boshen
99dbf8e946
feat(linter): use only correctness rules for now
2023-03-11 22:36:58 +08:00
Boshen
e1971577cb
fix(oxc_macros): fix clippy warnings
2023-03-08 23:35:34 +08:00
Amit Dahan
2687d7868f
refactor(linter): add declare_all_lint_rules proc macro ( #121 )
2023-03-07 07:39:38 -08:00
Shannon Rothe
d6b52167d3
feat(linter): implement rule categories ( #131 )
2023-03-05 04:14:24 -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