Xuan
c2fb3613bd
feat(oxc_cli): support ignore-pattern
2023-02-28 08:38:33 -08:00
Boshen
a3ffee8b21
ci: trigger release_ci.yaml
2023-03-01 00:34:38 +08:00
Boshen
4f78d69e0e
chore(rust): remove symbols in release profile
2023-03-01 00:33:24 +08:00
Boshen
bd4730ccfc
ci: add back binary permissions after download in release_cli
2023-03-01 00:32:25 +08:00
Boshen
9852c2e49f
ci: trigger release_ci.yaml
2023-02-28 23:44:22 +08:00
Boshen
5f651df156
ci: add write permissions to release_cli.yaml
2023-02-28 23:34:18 +08:00
Boshen
825e27178c
ci: add release_cli.yaml with build binary and upload artifact steps
2023-02-28 07:21:03 -08:00
Boshen
b0c67c3a69
chore(README): credit @jfmengels and elm-review
2023-02-28 10:27:15 +08:00
Amit Dahan
3b53e0ba4e
feat(linter): no-array-constructor
2023-02-27 08:12:28 -08:00
Boshen
3b887dbeaf
feat(parser): print json in parser example
2023-02-28 00:05:54 +08:00
Boshen
665e8723c0
refactor(ast): remove acorn feature
...
This is a left over from where I tried to be compatible with estree,
but the implementation deviated from estree.
2023-02-27 23:44:13 +08:00
thepassle
33e5f8dd8d
feat(cli): support --quiet flag for lint command
2023-02-27 07:43:00 -08:00
Boshen
00cdf703f6
chore(README): credit author of the TypeScript parser
2023-02-27 14:04:55 +08:00
Boshen
91e10d5e16
chore(README.md): add discord channel
2023-02-27 13:04:28 +08:00
Boshen
ab0b764dfc
chore(README.md): include third party licenses
2023-02-27 12:46:07 +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
Ye Yangchen
0bf8f817f5
feat(oxc_parser): Port isStartOfDeclaration form tsc
2023-02-27 12:27:44 +08:00
Xuan
6b43cbbe71
fix(oxc_parser): support export type with star symbol
2023-02-27 12:26:23 +08:00
Xuan
b6d09643e5
fix(oxc_parser): check access correctly
2023-02-27 03:10:02 +08:00
Amit Dahan
e2207b9b15
feat(cli): support linting glob patterns
2023-02-26 22:25:16 +08:00
Amit Dahan
6bd6b12795
Git ignore benchmark/package-lock.json
2023-02-26 20:17:05 +08:00
Boshen
8dc4d82cc5
chore: igore .js(x), .ts(x) in root directory
2023-02-26 02:02:05 +08:00
Boshen
78de22a3af
refactor(cli): clean up and report total number of diagnostics
2023-02-26 02:02:05 +08:00
Boshen
915518b614
refactor(oxc_diagnostics): s/PError/Error
2023-02-26 02:02:05 +08:00
thepassle
eaeafa0a82
feat(cli): exit codes
...
chore: remove foo.js
chore: review comments
chore: shut clippy up
chore: ran cargo fmt
chore: unnecessary return
2023-02-26 01:32:17 +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
9a53673bd5
Update README.md
2023-02-25 21:49:04 +08:00
Boshen
b2610387d3
chore(rust): comment on profile.release and set abort = "panic" for performance
2023-02-25 21:09:01 +08:00
Boshen
f17bd87f65
fix: try disable miri with custom allocators
2023-02-25 21:04:52 +08:00
Boshen
bf76f6d8b6
chore: ignore miri on global allocators
...
error: unsupported operation: can't call foreign function `_rjem_malloc` on OS `linux`
--> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.5.0/src/lib.rs:104:13
|
104 | ffi::malloc(layout.size())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't call foreign function `_rjem_malloc` on OS `linux`
|
= help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
= note: BACKTRACE:
= note: inside `<jemallocator::Jemalloc as std::alloc::GlobalAlloc>::alloc` at /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/jemallocator-0.5.0/src/lib.rs:104:13: 104:39
note: inside `_::__rg_alloc`
--> tasks/benchmark/src/main.rs:13:16
|
12 | #[global_allocator]
| ------------------- in this procedural macro expansion
13 | static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;
| ^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `global_allocator` (in Nightly builds, run with -Z macro-backtrace for more info)
2023-02-25 20:45:38 +08:00
Boshen
636a974686
feat(benchmark): setup hyperfine benchmark
...
closes #25
2023-02-25 18:58:31 +08:00
Boshen
aac51de446
ci: add miri
2023-02-25 17:09:25 +08:00
Boshen
1cd2c14d78
ci: fix benchmark output
2023-02-25 16:58:02 +08:00
Boshen
9098962ec3
ci: cancel previous job runs with concurrency
2023-02-25 16:57:31 +08:00
Boshen
c86cca37a8
feat(linter): linter prototype
2023-02-25 16:56:10 +08:00
Boshen
e827754aad
ci: try fix benchmark comment
2023-02-25 11:58:57 +08:00
Boshen
abb2f8c949
feat(rust): use mimalloc on windows
2023-02-25 11:58:57 +08:00
Boshen
80afce5cd3
ci: attempt to fix some benchmark issues
2023-02-25 11:27:04 +08:00
Boshen
5f7a756229
feat(semantic): add semantic builder with untyped ast tree creation
2023-02-25 10:32:48 +08:00
Boshen
0de5020d07
fix(ast): s/span/node in visit
2023-02-25 10:21:23 +08:00
Boshen
50faa7be1d
ci: setup benchmark matrix
2023-02-24 22:54:05 +08:00