0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-18 19:33:22 +00:00
query/packages/angular-query-experimental/src
Ciarán Curley 833062c2fc
chore: replace prettier with oxfmt (#11939)
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>
History 2026-10-09 16:47:26 +01:00
..
__tests__ chore: replace eslint with oxlint (#11938) 2026-10-09 16:35:33 +01:00
devtools docs(*): describe 'shadowDOMTarget' as the shadow DOM the devtools styles are applied within (#11902) 2026-10-05 02:17:04 +09:00
devtools-panel docs(*): describe 'shadowDOMTarget' as the shadow DOM the devtools styles are applied within (#11902) 2026-10-05 02:17:04 +09:00
inject-queries-experimental refactor(angular-query): move injectQueries to sub-path export (#9655) 2025-09-15 02:33:04 +02:00
create-base-query.ts chore: replace eslint with oxlint (#11938) 2026-10-09 16:35:33 +01:00
index.ts refactor(angular-query): rename DeveloperToolsFeature to DevtoolsFeature (#9794) 2025-10-22 02:24:10 +02:00
infinite-query-options.ts docs(*): sort JSDoc tags and enforce 'jsdoc/sort-tags' (#11858) 2026-10-04 05:03:01 +09:00
inject-infinite-query.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
inject-is-fetching.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
inject-is-mutating.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
inject-is-restoring.ts docs(angular-query-experimental): add JSDoc across the package (#11406) 2026-09-06 12:12:24 +09:00
inject-mutation-state.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
inject-mutation.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
inject-queries.ts chore: replace eslint with oxlint (#11938) 2026-10-09 16:35:33 +01:00
inject-query-client.ts feat(angular-query): move devtools to conditional sub-paths (#9270) 2025-09-16 00:07:53 +02:00
inject-query.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
mutation-options.ts docs(*): sort JSDoc tags and enforce 'jsdoc/sort-tags' (#11858) 2026-10-04 05:03:01 +09:00
pending-tasks-compat.ts chore: replace prettier with oxfmt (#11939) 2026-10-09 16:47:26 +01:00
providers.ts docs(angular-query-experimental): add JSDoc to the properties of the exported interfaces and type aliases (#11898) 2026-10-05 01:52:37 +09:00
query-options.ts chore: replace prettier with oxfmt (#11939) 2026-10-09 16:47:26 +01:00
signal-proxy.ts docs(angular-query-experimental): add JSDoc to the exported interfaces and type aliases (#11873) 2026-10-04 11:47:56 +09:00
types.ts docs(angular-query-experimental): add JSDoc to the properties of the exported interfaces and type aliases (#11898) 2026-10-05 01:52:37 +09:00