Skip to content

Commit bbceaa5

Browse files
committed
chore: fix prettier
1 parent 62ae8b7 commit bbceaa5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@
106106
"vscode:prepublish": "pnpm build",
107107
"clean": "del-cli dist",
108108
"build:js": "rollup -c && node dist/postbuild.js",
109-
"build": "pnpm lint && pnpm clean && pnpm build:js",
110-
"lint": "eslint"
109+
"build": "pnpm lint:fix && pnpm clean && pnpm build:js",
110+
"lint": "eslint && prettier --check src",
111+
"lint:fix": "eslint --fix && prettier --write src"
111112
},
112113
"repository": "https://github.com/gera2ld/markmap-vscode",
113114
"main": "dist/extension.js",
@@ -153,7 +154,8 @@
153154
},
154155
"lint-staged": {
155156
"*.ts": [
156-
"eslint --fix"
157+
"eslint --fix",
158+
"prettier --write"
157159
]
158160
}
159-
}
161+
}

0 commit comments

Comments
 (0)