Commit graph

34 commits

Author SHA1 Message Date
Boshen
767744afc1
ci: remove cargo nextest because cargo test is now faster (#1341) 2023-11-16 13:31:51 +08:00
Boshen
5cafe24bea
chore: update gitmodules for prettier 2023-11-16 10:49:07 +08:00
Trevor Manz
8f5e9831df
feat(rulegen): Add jsx-a11y rulegen (#1119)
Adds the `just new-jsx-a11y-rule` for bootstrapping
`eslint-plugin-jsx-a11y` linting rules.

One tricky thing about the tests in that repo is that the aren't
provided as array expressions
(e.g., `[case0, case1, case2, ...]`) but rather separate arguments to
`[].concat()`
(e.g., `[].concat(case0, case1, case2, ...)`). There is probably a more
elegant way to match
these expressions, but this is what I came up with.

The other thing I introduced in this PR is prefer Rust's raw strings
(`r#`) when generating the
test cases. Sometimes running `just new-*` spit out unescaped back
quotes, which caused issues.
2023-10-31 13:18:48 +08:00
Angelo Annunziata
46207c0e4b
chore: update just file (#1028)
**What I Did**
- move command short-description just above the command to show it
correctly in `just -l`
- just one git command to update local repo for both oxc and submodules
2023-10-22 12:06:49 +08:00
Cameron
72cf9ec725
chore(rulegen) Add rule gen for react rules (#1023) 2023-10-21 22:39:19 +08:00
Boshen
bd99c7f174
chore(cli): remove cmd snapshot and building oxlint binary to speed up ci 2023-10-11 20:38:59 +08:00
Boshen
f4cea34534
feat(transformer): add babel conformance test suite (#920) 2023-09-16 18:50:51 +08:00
Boshen
ceeee5909b
Remove HIR (#917)
closes #273
closes #814

HIR is removed from this PR, with the minifier being commented out.

HIR is a wonderful idea for compiling to lower languages, but after
sitting on it for a few months I found that it only adds confusion and
uncertainties to both myself and future contributors.

It also adds too much burden to maintainers if we plan to support more
downstream tools.

1 AST is the only way.
2023-09-15 23:48:32 +08:00
Boshen
1d83c561f2
chore(just): add just example tool for running examples 2023-09-04 22:22:06 +08:00
Boshen
592137586c
feat(cli): use insta_cmd for cli snapshot testing (#791)
closes #776
2023-08-25 16:26:34 +08:00
Boshen
a9a6bb800c
refactor(cli,linter): move path processing logic from cli to linter (#766) 2023-08-20 15:12:08 +08:00
Kei Sakamoto
2fde2255f9
feat(linter): implement eslint-plugin-unicorn/no-instanceof-array (#752)
implement
[eslint-plugin-unicorn/no-instanceof-array](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-instanceof-array.md).
Related issue: #684
2023-08-17 17:08:03 +08:00
Alexandr Metreniuc
f8358a148a
feat(linter): @typescript-eslint/no-namespace (#703) 2023-08-09 23:02:24 +08:00
Boshen
108bdbbdae
deps(rust): bump with cargo upgrade --incompatible 2023-07-24 23:24:31 +08:00
Wenzhe Wang
a0eba67ad9
feat(tasks): support init jest lint rule (#513) 2023-07-04 14:53:29 +08:00
Boshen
f5761a3ba0
chore: update CONTRIBUTING and justfile for better onboarding 2023-06-28 18:45:24 +08:00
Boshen
1e31acd017
chore(just): add just update and just sync 2023-05-25 22:35:53 +08:00
Boshen
4414f3e071
chore(just): add command for updating submodules 2023-05-25 18:40:35 +08:00
Boshen
c136fea535
chore(just): add alias for ready (r) and coverage (c) 2023-05-24 22:43:28 +08:00
Boshen
b4a546e3cf
chore(just): --deny warnings for cargo lint 2023-05-16 23:24:15 +08:00
Boshen
231b987c0c
chore: add just watch command for overcoming cargo-watch being slow 2023-05-16 13:22:42 +08:00
Boshen
60485669bb
ci: cache release for benchmark, benchmark use fewer files (#345) 2023-05-10 22:13:11 +08:00
Boshen
5d06600063
chore: adjust just codecov command to output html 2023-05-06 18:47:38 +08:00
Wenzhe Wang
8e401a6aa4
chore: change Just variable substitution (#331)
chore: change variable substitution
2023-04-30 23:01:52 +08:00
Boshen
9e5d6689e5
chore: add cargo check to justfile 2023-04-22 22:53:04 +08:00
Boshen
080baaa2db
chore: use taplo to reformat toml files 2023-04-22 15:58:59 +08:00
Boshen
21d4954071
Website (#281)
feat(site): init website

Co-authored-by: Gwen <guan_wy@foxmail.com>
2023-04-19 16:37:44 +08:00
Boshen
87400917e1
chore: change cargo lint to deny all warnings 2023-04-16 21:32:00 +08:00
Boshen
f1dcc5429e
refactor(tasks): clean up code around code coverage 2023-04-15 13:53:57 +08:00
Boshen
4c5ece9386
chore(tasks): remove minsize from unit tests as it is too slow 2023-04-15 13:41:52 +08:00
Boshen
3088ecac14
chore(justfile): add cargo fmt remove cargo coverage as it's too slow 2023-04-13 16:26:47 +08:00
Boshen
c16f858ae8
chore(just): add just lint to just ready 2023-04-11 23:30:43 +08:00
Boshen
2032cfd53e
chore(justfile): add typos 2023-04-10 22:26:56 +08:00
Boshen
84d252df01
chore(README): update CONTRIBUTING and add justfile 2023-04-10 00:14:43 +08:00