From d18119e28814aa2555f4626f3e5a52db4ba1734d Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Thu, 2 Jan 2020 21:00:27 +0100 Subject: [PATCH] enable jsdoc/no-types rule for TS files --- .eslintrc.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 0a7fb5ca8b6..bc2ea028862 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,7 +28,7 @@ "no-unused-expressions": "off", "no-unused-labels": "warn", "no-var": "warn", - "jsdoc/no-types": "off", + "jsdoc/no-types": "warn", "semi": "off", "@typescript-eslint/semi": "warn", "@typescript-eslint/class-name-casing": "warn", @@ -607,5 +607,15 @@ "restrictions": "**/vs/**" } ] - } + }, + "overrides": [ + { + "files": [ + "*.js" + ], + "rules": { + "jsdoc/no-types": "off" + } + } + ] }