Commit graph

14 commits

Author SHA1 Message Date
Boshen
5241e1e127
refactor(cli): improve --help documentation 2024-04-22 11:14:51 +08:00
Boshen
ee1c0e5df7
feat(cli): implement --format checkstyle (#3044)
closes #2355
2024-04-21 16:30:28 +08:00
Boshen
4425b961cd
feat(cli): implement --format unix (#3039)
closes #1462
2024-04-21 01:24:22 +08:00
Yuji Sugiura
ba2121f17d
feat(linter): Add --jsdoc-plugin flag (#2935)
Add flag to:

```sh
$ oxlint --jsdoc-plugin
```


![image](https://github.com/oxc-project/oxc/assets/6259812/0e12ceab-966f-47e1-b4b9-5bc2eb6bdb56)
2024-04-12 10:39:12 +08:00
Boshen
c250b288ef
fix(cli): return error if --format receives an unknown value 2024-04-11 21:38:39 +08:00
Boshen
98bf7e6767
fix(cli): fix oxlint --format json yields 0 files to lint (#2940)
closes #2930
2024-04-11 16:03:31 +08:00
Andi Pabst
4c5abb590e
feat(cli): wildcard expansion in paths for windows (#2767)
Unlike on other OS, on Windows there is no wildcard expansion/globbing
by the shell. Instead the application has to handle this. Therefore I
used the `glob` package to handle wildcards on Windows.

I also had to make the parent directory check more strict due to the
glob package resolving `..` in the middle of the path as well.

This closes #2695.
2024-03-22 00:21:30 +08:00
Boshen
c72675e89e
chore: Rust v1.76.0 (#2643) 2024-03-08 20:54:36 +08:00
Boshen
02c82c3f78
feat(cli,linter): provide tsconfig path from the cli (#2526)
closes #891
2024-02-27 20:00:11 +08:00
Boshen
195d76e6a5
feat(cli,diagnostics): add json reporter (#2451) 2024-02-20 15:28:27 +08:00
Boshen
399c3a6234
feat(cli): add --format option (#2450) 2024-02-20 15:23:37 +08:00
Boshen
9cfc97c30d
refactor(cli): move --rules into LintOptions (#2449) 2024-02-20 12:59:07 +08:00
Boshen
fca6e02f84
refactor(cli): remove the codeowners feature (#2448)
I should've done a better job at selecting features. Every feature
requires more than just code to get it right.

linting by codeowners' files sounds good on paper but actually not that
useful.
2024-02-20 12:54:16 +08:00
Boshen
6b18b7c198
refactor(cli): split the command files (#2447) 2024-02-20 12:43:13 +08:00