Skip to content

feat: prefer nullish coalescing#494

Merged
camc314 merged 17 commits intooxc-project:mainfrom
RTVision:feature/prefer-nullish-coalescing
Dec 13, 2025
Merged

feat: prefer nullish coalescing#494
camc314 merged 17 commits intooxc-project:mainfrom
RTVision:feature/prefer-nullish-coalescing

Conversation

@kalvenschraut
Copy link
Copy Markdown
Contributor

@kalvenschraut kalvenschraut commented Dec 9, 2025

Similar to my other PR, heavily made with AI. still a WIP putting up for any initial feedback would be appreciated, plan to review everything myself before marking as ready for review

closes #198

@kalvenschraut kalvenschraut force-pushed the feature/prefer-nullish-coalescing branch from e559831 to 8fe74ef Compare December 9, 2025 22:47
@camc314
Copy link
Copy Markdown
Contributor

camc314 commented Dec 12, 2025

@kalvenschraut i've made some changes locally, can you allow edits by maintainers so I can get this merged?

@kalvenschraut kalvenschraut marked this pull request as ready for review December 12, 2025 14:14
@kalvenschraut kalvenschraut marked this pull request as draft December 12, 2025 15:42
@camc314 camc314 marked this pull request as ready for review December 13, 2025 13:14
@autofix-ci
Copy link
Copy Markdown
Contributor

autofix-ci bot commented Dec 13, 2025

Hi! I'm autofix logoautofix.ci, a bot that automatically fixes trivial issues such as code formatting in pull requests.

I would like to apply some automated changes to this pull request, but it looks like I don't have the necessary permissions to do so. To get this pull request into a mergeable state, please do one of the following two things:

  1. Allow edits by maintainers for your pull request, and then re-trigger CI (for example by pushing a new commit).
  2. Manually fix the issues identified for your pull request (see the GitHub Actions output for details on what I would like to change).

@camc314 camc314 merged commit 3e44cb9 into oxc-project:main Dec 13, 2025
7 checks passed
graphite-app bot pushed a commit to oxc-project/oxc that referenced this pull request Dec 14, 2025
Miodec added a commit to monkeytypegame/monkeytype that referenced this pull request Dec 15, 2025
- main linting is now done by oxlint. eslint remains for linting json
files in the frontend (until oxlint adds support)
 - move type checking to the lint step (with --type-check)
this improves performance by removing a duplicated typescript parse task
(instead of parsing for linting then again for type checking, it parses
once for both)
- add a `lint-fast` npm script to get some fast fail behavior. it simply
lints with no type information
- oxc plugins are still in preview, so the custom plugin that checks for
`__testing` usage outside of tests runs outside the main linting job
until performance is improved
- fixes some type issues (and config issues) that were not visible due
to a missing type check on some files. now type checking will run on
every file that is linted
 - split up oxc config for easier management

waiting oxc-project/tsgolint#494

seeing around 3x improvement in type aware linting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants