Replace prettier with oxfmt
The options and ignores have been ported to the `.oxfmtrc.json` file (oxfmt `printWidth` default is 100 characters, so preserving 80 for now). While the configuration with Prettier is the same, oxfmt seems to modify some things slightly differently, apparently due to the use of a pre-3.9 Prettier layout for union types that break onto their own line so we still end up with about 30 files changed.
Files with actual changes are:
- `.prettierignore`.`prettier.config.js`: Deleted. Replaced with `.oxfmtrc.json`
- `package.json`: `format` script changed to `oxfmt`. Added `oxfmt` and `svelte` as `devDependencies`; removed `prettier` and `prettier-plugin-svelte`.
- `pnpm-lock.yaml`: Lockfile update for the dependency changes above.
- `scripts/generate-labeler-config.ts`: Formats with oxfmt's `format()` API instead of Prettier's. It reads `.oxfmtrc.json` itself, because the API doesn't find config files on its own, and throws if formatting reports errors. Its output is identical to what Prettier produced.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* chore: replace eslint with oxlint
Migrates to oxlint as the replacement linter for eslint.
Keeps the existing ruleset, runs js plugins for non-native oxlint rules and the local no-restricted-syntax plugin
Svelte packages keep a slim ESLint config for the svelte/* rules, which need the component template.
React examples that use the query eslint plugin also still use eslint for now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: use oxlint disable directives
ESLint no longer lints these files, so switch eslint-disable comments to
oxlint-disable and the @typescript-eslint/ prefix to typescript/. Remove
directives that oxlint reports as unused, and name the rule in the
cspell oxlint-enable comments, which oxlint does not match to a
rule-specific disable otherwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: lint expectTypeOf with vitest valid-expect
Oxlint's native vitest/valid-expect only checks `expect` calls, so load
@vitest/eslint-plugin as a JS plugin for this rule to keep flagging
`expectTypeOf` calls without a matcher, and restore the directives for
the intentional ones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(react-query*): rename local 'useRef' and 'createContext' variables to follow '@eslint-react' naming conventions
* test(react-query): follow '@eslint-react' recommended rules with 'useState' value and setter pairs, stable keys, and disables for nested component false positives
* chore(*): update '@eslint-react/eslint-plugin' to v5 and apply its 'recommended' config that was overridden
* chore(*): list 'react-hooks' rules before '@eslint-react' rules to match the config order
* chore(*): update 'eslint-plugin-react-hooks' to v7 and remove the '@ts-expect-error' for its config
* chore(*): use stable 'recommended' config of 'eslint-plugin-react-hooks' instead of 'recommended-latest'
* chore(*): remove 'react-hooks/rules-of-hooks' override that duplicates the 'recommended' config
* ci(.github/workflows/autofix): run 'generate-docs' to keep reference docs current
* ci: apply automated fixes
* fix(scripts/generate-docs): build referenced packages and fail on TypeDoc conversion errors
* ci: apply automated fixes
* fix(package.json): build referenced packages as part of 'generate-docs'
* ci(.github/workflows/autofix): only generate reference docs on push
* ci(.github/workflows/autofix): skip runs started from its own commit
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* chore: tsup -> tsdown
* revert size-limit and fix the build instead
* fix angular and devtools build
* fix nextJs builds
* more solid related things
* fix: import order
* chore: move consume aware signal logic to utils
* fix: add consume aware signal to streamedQuery
* test: add a test for not a signal that is not consumed by streamFn
* chore: add changeset
* fix: made queryFn of streamedQuery not consume signal directly (so that only streamFn can consume it)
* fix: made onCancelled get called only once
* fix: memoized getSignal and made sure it is called only once
* fix: no-unnecessary-condition
* chore: size-limit
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* feat: size-limit
* fix: script
* fix: add test:size to nx
* fix: skip install and build
* really
* fix: size-limit options
* ok we need build step
* fix: test-size runs as part of its own action
* fix: update react and nextJs
and add a nextJs16 integration test
* ci: apply automated fixes
* oops
* Update patch versions for React and TanStack packages
Updated the patch versions for various React and TanStack packages.
* fix: streamline dependencies
* bundle size
* fix lock file
* fix: update react in example
* skip test for now
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>