Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json15
1 files changed, 11 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index ffb5dd9079..a4897899ca 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -35,9 +35,12 @@
"build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16",
"build": "npm run build-base -- --sourcemap",
"watch": "npm run build-base -- --sourcemap --watch",
- "lint": "prettier --check . && eslint -c .eslintrc.js --ext ts ./src ./tests",
- "fix": "prettier --write . && eslint -c .eslintrc.js --ext ts ./src ./tests --fix",
- "pretest": "tsc && npm run build",
+ "format": "prettier --write .",
+ "format:check": "prettier --check .",
+ "lint": "eslint -c .eslintrc.js --ext ts ./src ./tests",
+ "lint:fix": "npm run lint -- --fix",
+ "typecheck": "tsc",
+ "pretest": "npm run typecheck && npm run build",
"test": "node ./out/tests/runTests.js"
},
"dependencies": {
@@ -1801,13 +1804,17 @@
},
{
"id": "escapeSequence",
- "description": "Style for char escapes in strings"
+ "description": "Style for char or byte escapes in strings"
},
{
"id": "formatSpecifier",
"description": "Style for {} placeholders in format strings"
},
{
+ "id": "invalidEscapeSequence",
+ "description": "Style for invalid char or byte escapes in strings"
+ },
+ {
"id": "label",
"description": "Style for labels"
},