diff --git a/language-configuration.json b/language-configuration.json index 96ccb61..2a3fda9 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -1,16 +1,16 @@ { "comments": { - "lineComment": "//", + "lineComment": "//" }, "brackets": [ ["{", "}"], ["[", "]"], - ["(", ")"], + ["(", ")"] ], "colorizedBracketPairs": [ ["{", "}"], ["[", "]"], - ["(", ")"], + ["(", ")"] ], "autoClosingPairs": [ { "open": "{", "close": "}" }, @@ -18,7 +18,7 @@ { "open": "(", "close": ")" }, { "open": "\"", "close": "\"", "notIn": ["string"] }, { "open": "'", "close": "'", "notIn": ["string"] }, - { "open": "`", "close": "`", "notIn": ["string"] }, + { "open": "`", "close": "`", "notIn": ["string"] } ], "autoCloseBefore": ";:.,=}])> \n\t", "surroundingPairs": [ @@ -28,39 +28,39 @@ ["<", ">"], ["\"", "\""], ["'", "'"], - ["`", "`"], + ["`", "`"] ], "indentationRules": { "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$", - "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]", + "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]" }, "folding": { "markers": { "start": "^\\s*// region:\\b", - "end": "^\\s*// endregion\\b", - }, + "end": "^\\s*// endregion\\b" + } }, "onEnterRules": [ { // Carry indentation from the previous line if it's only whitespace. "beforeText": "^\\s+$", - "action": { "indent": "none" }, + "action": { "indent": "none" } }, { // After the end of a function/field chain, with the semicolon on the same line. "beforeText": "^\\s+\\..*;", - "action": { "indent": "outdent" }, + "action": { "indent": "outdent" } }, { // After the end of a function/field chain, with semicolon detached from the rest. "beforeText": "^\\s+;", "previousLineText": "^\\s+\\..*", - "action": { "indent": "outdent" }, + "action": { "indent": "outdent" } }, { // Doc single-line comment e.g. ///| "beforeText": "^\\s*\\/{3}.*$", - "action": { "indent": "none", "appendText": "/// " }, - }, - ], + "action": { "indent": "none", "appendText": "/// " } + } + ] } diff --git a/package-lock.json b/package-lock.json index 81facf4..12fe750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "esbuild": "^0.21.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "prettier": "3.2.4", + "prettier": "3.4.1", "typescript": "^5.6.3", "vscode-oniguruma": "^2.0.1", "vscode-textmate": "^9.0.0" @@ -1874,10 +1874,11 @@ } }, "node_modules/prettier": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", - "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz", + "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, diff --git a/package.json b/package.json index e665f8a..2327759 100644 --- a/package.json +++ b/package.json @@ -190,7 +190,7 @@ "esbuild": "^0.21.4", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "prettier": "3.2.4", + "prettier": "3.4.1", "typescript": "^5.6.3", "vscode-oniguruma": "^2.0.1", "vscode-textmate": "^9.0.0" diff --git a/tsconfig.json b/tsconfig.json index 12c0477..c5e7509 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,8 @@ "compilerOptions": { "outDir": "out", "sourceMap": true, - "rootDir": "src", + "rootDir": "src" }, "exclude": ["node_modules", ".vscode-test"], - "include": ["src", "tests"], + "include": ["src", "tests"] }