Skip to content

Commit 8e9f54f

Browse files
committed
use prettier to format the code
1 parent 4fcdb0f commit 8e9f54f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16",
3030
"build": "npm run build-base -- --sourcemap",
3131
"watch": "npm run build-base -- --sourcemap --watch",
32-
"lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests",
33-
"fix": " tsfmt -r && eslint -c .eslintrc.js --ext ts ./src ./tests --fix",
32+
"lint": "prettier --check . && eslint -c .eslintrc.js --ext ts ./src ./tests",
33+
"fix": "prettier --write . && eslint -c .eslintrc.js --ext ts ./src ./tests --fix",
3434
"pretest": "tsc && npm run build",
3535
"test": "cross-env TEST_VARIABLE=test node ./out/tests/runTests.js"
3636
},

0 commit comments

Comments
 (0)