Skip to content

Commit 6a2e580

Browse files
committed
Add prettier config
f
1 parent 2d102eb commit 6a2e580

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.prettierrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 120,
3+
"tabWidth": 4,
4+
"endOfLine": "auto",
5+
"trailingComma": "all"
6+
}

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"bin": "bin/publish-extensions",
2525
"main": "publish-extensions",
2626
"scripts": {
27-
"publish": "node publish-extensions"
27+
"publish": "node publish-extensions",
28+
"format": "prettier --write ."
2829
},
2930
"dependencies": {
3031
"@vscode/vsce": "^2.18.0",
@@ -36,6 +37,7 @@
3637
"minimist": "^1.2.5",
3738
"octokit": "^3.1.2",
3839
"ovsx": "latest",
40+
"prettier": "^3.2.5",
3941
"semver": "^7.1.3"
4042
},
4143
"devDependencies": {

0 commit comments

Comments
 (0)