Boshen
de9be97f0f
chore: clean up Cargo.toml in tasks
2023-03-31 22:22:18 +08:00
Boshen
3e13703953
Create SECURITY.md
2023-03-31 15:55:03 +08:00
Boshen
4ac040e63f
ci: remove deploying to gh-pages. we have docs.rs now
2023-03-31 15:46:12 +08:00
Boshen
831f62b1c1
chore(README): add code size badge
2023-03-31 15:33:52 +08:00
Boshen
2964d83fc9
chore: add crates.io and docs.rs badge
2023-03-31 15:26:47 +08:00
Boshen
f8224bb4bc
fix(ast): fix is_bitwise method not including shift operators
2023-03-31 14:57:18 +08:00
Boshen
7789d7bc43
deps: fix oxc_printer
2023-03-31 00:04:08 +08:00
Boshen
79fd35c9cb
deps: fix versions depending on each other
2023-03-30 23:59:41 +08:00
Boshen
9f7758465b
Release 0.0.1
...
oxc_allocator@0.0.1
oxc_ast@0.0.1
oxc_diagnostics@0.0.1
oxc_parser@0.0.1
oxc_printer@0.0.1
oxc_semantic@0.0.1
Generated by cargo-workspaces
2023-03-30 23:37:25 +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
Boshen
f51c8135a3
ci: add cargo-llvm-lines ( #226 )
2023-03-30 10:20:36 +08:00
Boshen
f313aab48f
ci: rename yaml to yml
2023-03-29 22:07:22 +08:00
Boshen
a35d08ea23
Minifier Prototype ( #215 )
...
feat(minifier): minifier prototype
2023-03-29 06:51:50 -07:00
yangchenye
a2d0d2ddc9
feat(linter): implement eslint(array-callback-return) ( #221 )
...
* feat(linter): implement eslint(array-callback-return)
* Add more comments & use phf_set for target methods
* Revert changes to AST
* Document get_enclosing_function
* Clean up names
* Remove redundant visitor and flags
2023-03-29 05:58:39 -07:00
Boshen
282f19d27c
ci: separate test build and test run
...
https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow
2023-03-29 15:30:09 +08:00
Boshen
4a447bca4f
feat(linter): add a simple linter example
...
closes #216
2023-03-28 21:44:54 +08:00
RiESAEX
d87250d7ff
feat(linter): no func assign ( #220 )
2023-03-28 16:36:15 +08:00
Wenzhe Wang
48385f48b4
fix: skip early error check for ts definition ( #219 )
2023-03-28 11:45:32 +08:00
Boshen
3e3cbec1a8
Update README.md
2023-03-27 19:01:07 +08:00
yangchenye
88cd82b698
feat(macros): property generate declarations for nested modules ( #212 )
2023-03-27 10:30:47 +08:00
Boshen
677060fc32
chore: release 0.0.2
2023-03-26 22:31:47 +08:00
Boshen
31ec78bd8b
chore(linter): update snapshots
2023-03-26 22:24:39 +08:00
Boshen
a0cccf09f6
feat(diagnostics): bold warnings
2023-03-26 22:23:06 +08:00
Boshen
cda0c69ba1
fix(linter): change severity to warning for no_debugger and no_empty_pattern
2023-03-26 22:03:46 +08:00
Boshen
8a9cf9bed1
fix(linter): fix some checks on isolated_declaration
...
* check return type on AssignmentPattern
* do not check on return type of Constructor and Getter
2023-03-26 22:02:04 +08:00
Boshen
9487b3958e
feat(diagnostic): change termwidth and with_cause_chain on GraphicalReportHandler
2023-03-26 21:35:42 +08:00
Boshen
b65e8397de
feat(diagnostics): change color displays
...
related #203
2023-03-26 21:20:54 +08:00
Boshen
366dc3037a
feat(diagnostics): port miette GraphicalReportHandler for further tuning
2023-03-26 20:20:53 +08:00
Boshen
90f043fe66
feat(linter): improve target span and message on isolated_declaration
2023-03-26 19:55:01 +08:00
yangchenye
929b0efebb
feat(linter): implement isolated_declaration ( #209 )
...
* feat(linter): implement isolated_declaration
* Implement check for class elements
* Set up Export SymbolFlag and store declaration AST in Symbol
* Fix tests and comments
2023-03-26 04:37:10 -07: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
Boshen
d4af69930c
ci: use faster cargo-nextest to run tests
2023-03-26 13:49:40 +08:00
Boshen
95a2382860
ci: use latest runners
2023-03-26 13:46:33 +08:00
Boshen
65387809d8
ci: change spell check title
2023-03-26 13:38:55 +08:00
Boshen
5d0bbe9198
ci: fix cargo-udeps failure
2023-03-26 13:34:39 +08:00
Boshen
5a1a72204e
chore(coverage): update snapshots
2023-03-25 14:21:22 +08:00
Boshen
d095d45818
refactor(semantic): add source_text and trivias to semantic
2023-03-25 14:19:53 +08:00
Boshen
cb7c0ec007
Create FUNDING.yml
2023-03-24 22:47:05 -07:00
yangchenye
40460dd32b
feat(rulegen): fallback to empty rule template ( #208 )
2023-03-24 22:36:11 -07:00
yangchenye
5ae3f5e007
feat(linter): implement eslint(no-class-assign) ( #204 )
2023-03-24 11:23:39 +08:00
Boshen
8fea8f797c
chore(benchmark): update rules and add M2 data
2023-03-23 22:21:43 +08:00
Boshen
5939f817f0
refactor(linter): use the Span::new constructor instead of Span {}
2023-03-23 20:30:02 +08:00
RiESAEX
55ba093a85
feat(linter): implement validTypeof rule ( #202 )
2023-03-23 18:32:02 +08:00
Xuan
71e575ab41
feat(linter): implement no-new-symbol rule ( #201 )
2023-03-23 18:29:57 +08: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
7dfaf9949c
chore(README): clean up sentences with chatGPT
2023-03-22 20:34:07 +08:00
Boshen
5d7bab92b0
ci: use cargo-binstall to install cargo-unused-features
2023-03-22 13:50:10 +08:00
Boshen
19d132429e
ci: use cargo-binstall to install cargo-udeps
2023-03-22 13:36:00 +08:00
Boshen
9dfd4cd936
chore(rust): remove unnecessary missing_const_for_fn
2023-03-22 12:35:52 +08:00