Skip to content

Commit 20a153b

Browse files
committed
fix prettier ignore
1 parent 3b0bd2d commit 20a153b

File tree

3 files changed

+54
-1
lines changed

3 files changed

+54
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ build
4141
.react-router
4242

4343
app/**/*.mjs
44-
!shims.mjs
44+
!_shims.mjs

.prettierignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
11
data/api/**/*.json
2+
3+
.DS_Store
4+
*.swp
5+
*.swo
6+
7+
# Generated via update-index script
8+
public/blog/feed.xml
9+
10+
node_modules/
11+
.next/
12+
out/
13+
index_data/*.json
14+
15+
# Generated via test examples script
16+
_tempFile.cmi
17+
_tempFile.cmj
18+
_tempFile.cmt
19+
_tempFile.res
20+
temp
21+
22+
.bsb.lock
23+
.merlin
24+
lib/
25+
26+
.vercel
27+
28+
src/**/*.mjs
29+
scripts/gendocs.mjs
30+
scripts/generate_*.mjs
31+
32+
# Generated via generate-llms script
33+
public/llms/manual/**/llm*.txt
34+
public/llms/react/**/llm*.txt
35+
pages/docs/**/**/llms.mdx
36+
37+
public/playground-bundles/
38+
!public/_redirects
39+
40+
41+
dist
42+
build
43+
.react-router
44+
45+
app/**/*.mjs
46+
!_shims.mjs

src/_shims.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export const runWithoutLogging = async (fn) => {
2+
let result;
3+
const originalConsoleLog = console.log;
4+
console.log = () => {};
5+
result = await fn();
6+
console.log = originalConsoleLog;
7+
return result;
8+
};

0 commit comments

Comments
 (0)