diff --git a/extensions/vscode/.eslintrc.json b/extensions/vscode/.eslintrc.json index 151335b6b..8e2982291 100644 --- a/extensions/vscode/.eslintrc.json +++ b/extensions/vscode/.eslintrc.json @@ -25,8 +25,14 @@ "@typescript-eslint/semi": "warn", "curly": "warn", "eqeqeq": "warn", - "no-throw-literal": "warn", - "semi": "off" + "no-throw-literal": "error", + "semi": "off", + "no-restricted-syntax": [ + "error", + { + "selector": "ThrowStatement" + } + ] }, "ignorePatterns": ["out", "dist", "**/*.d.ts", "api"] }