diff --git a/.vscode/settings.json b/.vscode/settings.json index 69fc3204c..80b2b7412 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,5 +32,7 @@ "node_modules": false, "package-lock.json": true }, - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "lit-plugin.rules.no-missing-import": "off", + "lit-plugin.strict": true } diff --git a/packages/ui-library/tsconfig.json b/packages/ui-library/tsconfig.json index b8a2732a3..0ccdd6796 100644 --- a/packages/ui-library/tsconfig.json +++ b/packages/ui-library/tsconfig.json @@ -14,7 +14,16 @@ "experimentalDecorators": true, "skipLibCheck": true, "strict": true, - "useDefineForClassFields": false + "useDefineForClassFields": false, + "plugins": [ + { + "name": "ts-lit-plugin", + "strict": true, + "rules": { + "no-missing-import": "off" + } + } + ] }, "include": ["src"], "exclude": ["src/**/*.test.ts", "src/**/*.stories.ts"]