Skip to content

refactor(linter): remove glob for windows#8390

Merged
Boshen merged 8 commits intooxc-project:mainfrom
Sysix:refactor-linter-remove-glob
Jan 10, 2025
Merged

refactor(linter): remove glob for windows#8390
Boshen merged 8 commits intooxc-project:mainfrom
Sysix:refactor-linter-remove-glob

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented Jan 9, 2025

The current implementations does not work. Under linux it tells me 0 files, under windows:

> oxc-vscode@0.15.5 lint C:\dev\oxc\editors\vscode
> npx oxlint --config=oxlint.json --tsconfig=tsconfig.json client/*.js

Finished in 5ms on 5 files with 101 rules using 24 threads.
Found 0 warnings and 0 errors.

I do not think this glob is needed. we are using ignore in our Walker, which should already covering the use case.

@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 9, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added A-cli Area - CLI C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jan 9, 2025
@Sysix Sysix marked this pull request as ready for review January 9, 2025 15:21
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 9, 2025

CodSpeed Performance Report

Merging #8390 will not alter performance

Comparing Sysix:refactor-linter-remove-glob (8d4f696) with main (6c7acac)

Summary

✅ 29 untouched benchmarks

@Boshen Boshen merged commit 4e05e66 into oxc-project:main Jan 10, 2025
27 checks passed
Boshen added a commit that referenced this pull request Jan 13, 2025
## [0.15.6] - 2025-01-13

### Features

- 457aa31 linter: Implement `no-lone-blocks` rule (#8145) (Yuichiro
Yamashita)

### Refactor

- aea9551 ast: Simplify `get_identifier_reference` of `TSType` and
`TSTypeName` (#8273) (Dunqing)
- 43ed3e1 linter: Add output formatter (#8436) (Alexander S.)
- 4e05e66 linter: Remove glob for windows (#8390) (Alexander S.)
- b19d809 linter: Split `unicorn/prefer-spread` and
`eslint/prefer-spread` into own rules (#8329) (Alexander S.)
- 3c534ae linter: Refactor `LintBuilder` to prep for nested configs
(#8034) (camc314)
- 2f9fab9 linter: Remove remapping for plugin name in diagnostics
(#8223) (Alexander S.)

### Testing

- b6c1546 linter: Use plugin name instead of category for finding rule
(#8353) (Alexander S.)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-cli Area - CLI C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants