Skip to content

Commit 62a9240

Browse files
committed
Ignore prettier for .md files
1 parent 8127fc3 commit 62a9240

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
.vite
44
coverage
55
package-lock.json
6+
.md

CONTRIBUTING.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ Look for the categoryName where your snippet belongs.
3636
{
3737
"title": "Name of the snippet",
3838
"description": "A short explanation of what the snippet does",
39-
"code": ["your code goes here", " this is a newline with a space"],
39+
"code": [
40+
"your code goes here",
41+
" this is a newline with a space"
42+
],
4043
"tags": ["tag1", "tag2", "tag3"],
4144
"author": "your_github_username"
4245
}
@@ -81,7 +84,10 @@ Use this format:
8184
{
8285
"title": "Name of the snippet",
8386
"description": "A short explanation of what it does",
84-
"code": ["your code goes here", " this is a newline with a space"],
87+
"code": [
88+
"your code goes here",
89+
" this is a newline with a space"
90+
],
8591
"tags": ["tag1", "tag2", "tag3"],
8692
"author": "your_github_username"
8793
}

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ If you’d like to add a snippet for an **existing language** and **category**,
4141
{
4242
"title": "Name of the snippet",
4343
"description": "A short explanation of what the snippet does",
44-
"code": ["your code goes here", " this is a newline with a space"],
44+
"code": [
45+
"your code goes here",
46+
" this is a newline with a space"
47+
],
4548
"tags": ["tag1", "tag2", "tag3"],
4649
"author": "your_github_username"
4750
}

0 commit comments

Comments
 (0)