-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy path.prettierignore
More file actions
188 lines (165 loc) · 7.87 KB
/
Copy path.prettierignore
File metadata and controls
188 lines (165 loc) · 7.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# pnpm files - can have formatting differences between environments
pnpm-lock.yaml
pnpm-workspace.yaml
# Changesets
.changeset/
# Build outputs
packages/shadcn/registry/
# Private, hash-recorded React DOM experiment output (never authored source).
experiments/react-compat/patch/generated/
# Vendored pinned upstream sources a port is written against (byte-exact
# provenance; do not reformat)
packages/*/upstream/
# Pinned npm-artifact evidence retained beside a lock-pinned source tree
# (tarballs, artifact manifests, artifact declarations); byte-exact by hash.
packages/*/upstream-artifact/
# Adapted upstream suites mirror pinned upstream bytes plus committed patches
# (react-port:materialize regenerates them for lock-based ports); reformatting
# would drift the mirror away from its patch or hash evidence.
packages/*/tests/upstream/
# Attribution-compatible application input frozen byte-exact by its adoption test.
packages/markdown/tests/adoption/public-app/MarkdownBlock.react.tsx
# Adapted Markdown assertions carry independently pinned row/declaration hashes.
packages/markdown/tests/conformance/sync.server.test.ts
# Syntax Highlighter's generated published surface is formatted and verified by
# its generator; running the repository formatter would make that check stale.
packages/syntax-highlighter/src/
# This adapted source intentionally mirrors the pinned upstream declaration
# layout; its parity control treats a formatter-only rewrite as structural drift.
packages/tanstack-devtools/src/index.ts
# DefinitelyTyped suites are preserved byte-exact as pinned provenance.
packages/*/upstream-types/
# Formisch's legacy pristine React and adapted type evidence is hash-owned by
# its parity verifier and must remain byte-exact until its pin is migrated.
packages/formisch/audit/pristine-react/
packages/formisch/typetests/upstream/
# One-for-one adapted type-suite mirrors must stay structurally identical to
# the vendored upstream typetests after permitted import rewrites only.
packages/solana-kit/typetests/__typetests__/
packages/solana-kit/typetests/query/__typetests__/
# popper adapted typings mirrors stay printer-identical to upstream.
packages/popper/typetests/main-test.tsx
packages/popper/typetests/svg-test.tsx
# xstate adapted type suites stay byte-identical to the vendored upstream
# typetests below their header, so the permitted-transformation ledger in each
# package's audit/type-parity.json is verifiable by diff.
packages/xstate/typetests/types.test-d.tsx
packages/xstate-store/typetests/types.test-d.tsx
packages/shadcn/tests/differential/upstream/
# The framework-neutral half of @vis.gl/react-mapbox is reused byte-for-byte, so
# an upstream bump stays a clean diff against packages/react-map-gl/upstream/.
# Provenance and per-file hashes live in packages/react-map-gl/UPSTREAM.md.
packages/react-map-gl/src/mapbox/
packages/react-map-gl/src/types/common.ts
packages/react-map-gl/src/types/events.ts
packages/react-map-gl/src/types/internal.ts
packages/react-map-gl/src/types/lib.ts
packages/react-map-gl/src/types/style-spec.ts
packages/react-map-gl/src/utils/assert.ts
packages/react-map-gl/src/utils/compare-class-names.ts
packages/react-map-gl/src/utils/deep-equal.ts
packages/react-map-gl/src/utils/set-globals.ts
packages/react-map-gl/src/utils/style-utils.ts
packages/react-map-gl/src/utils/transform.ts
# Upstream's own mapbox-gl mock, reused byte-for-byte by the component double.
packages/react-map-gl/tests/_mocks/mapbox-gl-mock/
# react-image-crop's framework-neutral helpers and compiled stylesheet stay
# byte-exact against the pinned upstream/npm artifacts.
packages/image-crop/src/utils.ts
packages/image-crop/src/types.ts
packages/image-crop/src/addons/browserCrop.ts
packages/image-crop/src/ReactCrop.css
# Vendored pinned upstream shadcn style sheet (byte-exact below its header)
playground/octane/src/styles/style-nova.css
**/dist/
**/dist-active/
**/build/
# Cargo build artifacts and Tauri's generated ACL schemas
**/src-tauri/target/
**/src-tauri/gen/
**/.netlify/
**/.nitro/
**/.output/
**/.astro/
**/.tanstack/
**/.vercel/
**/.wrangler/
# Generated declaration files
**/*.d.tsrx.ts
packages/streamdown/**/*.tsrx.d.ts
packages/visx/**/*.tsrx.d.ts
# TanStack Router owns this generated module's formatting.
website/src/routeTree.gen.ts
benchmarks/tanstack-start/octane/src/routeTree.gen.ts
# The current TSRX Prettier parser cannot safely round-trip several valid
# upstream React-shaped TypeScript/JSX constructs used by the Visx port.
packages/visx/**/*.tsrx
# Drei preserves React-shaped callback expressions and Octane component bodies
# that the current TSRX Prettier parser cannot round-trip without syntax errors.
packages/drei/**/*.tsrx
# Generated bench datasets (written by benchmarks/news/gen.mjs)
benchmarks/news/*/src/data.js
# js-framework octane-jsx row template is authored with INLINE <td> children on
# purpose: the @tsrx/core parser trips on a whitespace-only text node between a
# <td> and its child element inside a `<tbody>{items.map((row) => <tr>…)}`, which
# Prettier's multi-line attribute/child wrap would reintroduce. Keep it as-is.
benchmarks/js-framework/octane-jsx/src/Main.tsx
# TanStack Form's renderer modules and upstream conformance tests preserve deeply
# generic inline component signatures. The TSRX Prettier plugin currently strips
# required parentheses from typed arrow expressions, duplicates nested JSDoc, and
# cannot parse some valid compiled fixtures; keep the clean source stable until
# that formatter bug is fixed.
packages/tanstack-form/src/*.tsrx
packages/tanstack-form/src/*.tsrx.d.ts
packages/tanstack-form/tests/_fixtures/upstream/*.tsrx
# Dependencies
**/node_modules/
.pnpm-store/
# Agent session worktrees (gitignored working copies — never in CI's checkout;
# sweeping them makes local format:check disagree with CI while a background
# session is active)
.claude/worktrees/
.codex/worktrees/
# Editor/IDE generated files
**/.cache/
**/coverage/
# Differential test rig precompile caches (generated by the test global setup).
# Prettier only reads the ROOT .gitignore, so a cache dir ignored via a nested
# .gitignore still needs an entry here.
**/.react-cache/
**/.react-cache-ssr/
# Compiler debug dumps from `pnpm debug-*` (scripts/debug-mode.js writes raw
# compiler output; ignored for git only by playground/octane/.gitignore)
playground/octane/debug/
# Playwright test output (regenerated each run; .last-run.json has no trailing newline)
**/test-results/
# Markdown is hand-authored — Prettier should not reformat docs (prose wrap, tables)
**/*.md
# Byte-exact upstream evidence for the react-resizable-panels binding.
packages/resizable-panels/upstream/
# RuleSync generated files (source lives in .rulesync/; run `pnpm rules:generate`).
# The .md outputs are already covered above; .cursor/ holds a .mdc with no Prettier parser.
.cursor/
# TanStack AI's TSRX hook modules and their declaration companions preserve
# deeply generic inline signatures the TSRX Prettier plugin currently mangles;
# keep the clean source stable until that formatter bug is fixed.
packages/tanstack-ai/src/*.tsrx
packages/tanstack-ai/src/*.tsrx.d.ts
packages/tanstack-ai/tests/_fixtures/*.tsrx
# TanStack Devtools' TSRX component module and its declaration companion: the
# TSRX Prettier plugin currently duplicates JSDoc blocks on round-trip. Keep the
# clean source stable until that formatter bug is fixed.
packages/tanstack-devtools/src/*.tsrx
packages/tanstack-devtools/src/*.tsrx.d.ts
packages/tanstack-devtools/tests/_fixtures/*.tsrx
# Byte-exact evidence pinned from input-otp; formatting would invalidate provenance.
packages/input-otp/upstream/
# SWR's source-near root hook preserves deeply nested generic callbacks from the
# pinned source. The TSRX Prettier parser is not idempotent for this module.
packages/swr/src/index/use-swr.tsrx
packages/swr/src/infinite/infinite.tsrx
packages/swr/src/mutation/mutation.tsrx
dist-redact
.content-collections
# Pristine Vitest caches
packages/*/.vite-pristine/