Boshen
e25f6e2dd4
chore(rust): rust cargo fmt and fix clippy warnings
2023-07-04 15:41:30 +08:00
Boshen
17a73b1eef
refactor(ast): move ModuleRecord to oxc_syntax
2023-07-03 22:54:27 +08:00
Boshen
c5402c1cae
feat(linter): implement no-import-assign (nursery)
2023-07-01 11:20:31 +08:00
Boshen
2ad1339b4e
feat(linter): implement require_yield
2023-06-28 22:24:30 +08:00
Boshen
662229ab69
refactor(semantic): use std::cell:OnceCell instead of the crate version
2023-06-26 21:48:55 +08:00
Yagiz Nizipli
3656802fd4
feat: add eslint no-setter-return rule ( #434 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-06-24 22:08:41 +08:00
Maneren
b31819d7a1
feat(cli): Basic recursive implementation of module based linting ( #468 )
2023-06-23 08:26:05 +08:00
Boshen
19b839efe9
perf(semantic): use IndexVec instead of indextree for ast nodes ( #462 )
2023-06-20 15:21:58 +08:00
Boshen
d30735677b
refactor(semantic): merge semantic2 crate into semantic crate ( #460 )
2023-06-19 20:20:59 +08:00
Boshen
57a2706c21
refactor(semantic): remove the unused mangler from oxc_semantic
2023-06-12 21:35:16 +08:00
Boshen
0dc6e025a1
refactor(semantic): move ScopeId and ScopeFlags to oxc_syntax
2023-06-12 21:10:38 +08:00
Boshen
dcb38f2277
refactor(semantic): move SymbolId and SymbolFlags to oxc_syntax
2023-06-12 20:55:16 +08:00
Boshen
664ff0cc17
fix(semantic): fix typos s/resovling/resolving
2023-06-09 10:33:48 +08:00
Boshen
180eac5523
refactor(rust): fix clippy errors
2023-06-02 10:09:32 +08:00
Boshen
a31c7ac77a
refactor(index): use static_assertions
2023-05-24 22:53:11 +08:00
Boshen
30fc21ce54
refactor(index): use index_vec crate ( #383 )
2023-05-24 21:45:06 +08:00
Boshen
bea5640458
fix(semantic): check float for leading zero
2023-05-24 21:13:23 +08:00
Boshen
6811d67eb3
refactor(ast): move NumberBase to oxc_syntax; add NumberBase::Float
2023-05-24 18:33:19 +08:00
Boshen
ad2835f11b
chore(rustfmt): run cargo fmt
2023-05-21 11:52:26 +08:00
Boshen
a0b09a3f27
refactor(ast): remove RestElement from BindingPattern
2023-05-16 22:25:52 +08:00
Boshen
af95b59a0e
feat(ast): split Property into ObjectProperty and BindingProperty ( #361 )
2023-05-16 15:51:50 +08:00
Boshen
14720e7c69
refactor: move SourceType from oxc_ast to oxc_span ( #351 )
...
related #350
2023-05-12 23:16:14 +08:00
Boshen
9465b5f596
refactor(span): move base54 function to oxc_span
2023-05-12 17:02:27 +08:00
Boshen
7f93e58f10
chore: remove all #[must_use]
2023-05-11 21:08:00 +08:00
Boshen
1b83e6c16e
feat(oxc_index): add static_assert_size for compile time evaluation ( #343 )
2023-05-08 22:20:54 +08:00
Boshen
c5c88a965d
feat(oxc_index): add crate ( #342 )
2023-05-08 22:01:18 +08:00
Boshen
65a445f512
refactor: move operator to oxc_syntax ( #341 )
2023-05-08 15:35:01 +08:00
Wenzhe Wang
52aa59bb38
feat(semantic): early check of simple assignment ( #340 )
2023-05-07 23:05:08 +08:00
Boshen
7e130e56f8
refactor(ast): remove Option around all ImportOrExportKind
2023-05-05 22:39:29 +08:00
Boshen
a2be3bd227
refactor(ast): remove unnecessary ModuleDeclarationKind
2023-05-05 22:04:26 +08:00
Boshen
99fdaad03a
chore(rust): bump bitflags to v2
2023-05-04 12:24:47 +08:00
Boshen
cd276c2850
feat: add oxc_span crate ( #323 )
2023-04-27 21:51:15 +08:00
Boshen
7f946fb75d
chore: bump nightly to nightly-2023-04-20 ( #304 )
2023-04-20 23:35:38 +08:00
Boshen
c14c82b15d
feat(printer,semantic): mangler ( #285 )
...
closes #284
2023-04-18 21:32:35 +08:00
Boshen
7f0b16fb9c
chore: remove some unused code
2023-04-17 23:25:57 +08:00
Boshen
76a287d856
refactor(semantic): remove unused AstNodeId::new
2023-04-16 22:58:46 +08:00
Boshen
f79f0eb631
refactor(oxc_ast): change SourceType::with_ methods to return Self
2023-04-16 21:32:00 +08:00
Jin Wei Tan
99894ee154
feat(linter): implement no-unused-labels ( #282 )
2023-04-16 21:10:19 +08:00
Boshen
bfea368524
chore: remove target_arch from std::mem::size_of checks
2023-04-16 21:08:12 +08:00
Boshen
4939eeab6a
refactor(oxc_ast): cleanup docs and exports
2023-04-15 18:02:17 +08:00
Shannon Rothe
7899cf545d
feat(semantic): parse jsdoc comments ( #205 )
...
Co-authored-by: Boshen <boshenc@gmail.com>
2023-04-12 16:47:19 +08:00
Boshen
bb18132da5
refactor(oxc_diagnostics): remove error declarations
...
Make this crate not dependent on `oxc_ast`
2023-04-10 22:21:05 +08:00
Boshen
aedaa1a110
refactor(linter,semantic): move syntax check from linter to semantic ( #272 )
...
Syntax checker is part of semantic analyzer,
it doesn't make sense for the user to add a linter just for semantic errors
2023-04-10 12:23:53 +08:00
yangchenye
35b19e7edf
feat(semantic): Add index mapping from span to reference id ( #270 )
...
* feat(semantic): Add index mapping from span to reference id
* Switch to BTreeMap for index
2023-04-10 10:20:15 +08:00
Boshen
181d8bcc4a
refactor(ast): make BoundNames take a closure so it does not allocate ( #249 )
...
closes #237
2023-04-04 20:55:00 +08:00
yangchenye
222dcb3bf1
perf(semantics): avoid hashing when resolving references ( #248 )
2023-04-03 14:47:59 +08:00
Boshen
f8790d4b89
feat(semantic): can turned off ModuleRecordBuilder
...
relates to #224
2023-04-01 00:41:52 +08:00
Boshen
d232199e1c
refactor(parser): return Rc<Trivias> from TriviaBuilder ( #231 )
...
closes #229
2023-03-31 09:02:48 -07:00
RiESAEX
d87250d7ff
feat(linter): no func assign ( #220 )
2023-03-28 16:36:15 +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