Skip to content

Commit 71525f2

Browse files
committed
chore: Setup Prettier
1 parent 7623fe1 commit 71525f2

File tree

4 files changed

+35
-24
lines changed

4 files changed

+35
-24
lines changed

Diff for: .prettierignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*.code-snippets
1+
*.code-snippets
2+
CHANGELOG.md

Diff for: bun.lockb

18.1 KB
Binary file not shown.

Diff for: bunfig.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install]
2+
exact = true

Diff for: package.json

+31-23
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
{
22
"name": "vue-3-vscode-snippets",
33
"displayName": "Vue 3 VS Code Snippets",
4-
"description": "Vue 3 snippets for VS Code",
5-
"icon": "images/vue-logo.png",
64
"version": "0.6.0",
7-
"publisher": "exer7um",
5+
"description": "Vue 3 snippets for VS Code",
6+
"categories": [
7+
"Snippets"
8+
],
9+
"keywords": [
10+
"Vue",
11+
"Vue 3",
12+
"Nuxt",
13+
"Nuxt 3",
14+
"Pinia",
15+
"Vue Snippets",
16+
"Vue 3 snippets",
17+
"Nuxt snippets",
18+
"Nuxt 3 snippets",
19+
"Pinia snippets",
20+
"Composition API"
21+
],
822
"repository": {
923
"type": "git",
1024
"url": "https://github.com/ExEr7um/vue3-vscode-snippets.git"
@@ -31,25 +45,11 @@
3145
"url": "https://github.com/pixel-fabian"
3246
}
3347
],
34-
"engines": {
35-
"vscode": "^1.69.0"
48+
"publisher": "exer7um",
49+
"scripts": {
50+
"prettier": "prettier --check --ignore-unknown --no-error-on-unmatched-pattern *",
51+
"prettier:write": "prettier --write --ignore-unknown --no-error-on-unmatched-pattern *"
3652
},
37-
"keywords": [
38-
"Vue",
39-
"Vue 3",
40-
"Nuxt",
41-
"Nuxt 3",
42-
"Pinia",
43-
"Vue Snippets",
44-
"Vue 3 snippets",
45-
"Nuxt snippets",
46-
"Nuxt 3 snippets",
47-
"Pinia snippets",
48-
"Composition API"
49-
],
50-
"categories": [
51-
"Snippets"
52-
],
5353
"contributes": {
5454
"snippets": [
5555
{
@@ -149,5 +149,13 @@
149149
"path": "./snippets/vitest/nuxt.code-snippets"
150150
}
151151
]
152-
}
153-
}
152+
},
153+
"prettier": "@exer7um/prettier-config",
154+
"devDependencies": {
155+
"@exer7um/prettier-config": "0.4.2"
156+
},
157+
"engines": {
158+
"vscode": "^1.69.0"
159+
},
160+
"icon": "images/vue-logo.png"
161+
}

0 commit comments

Comments
 (0)