From 7f4c21378fe6349bbff06100005167d53b2a2e39 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Thu, 28 Nov 2024 11:12:36 +0100 Subject: [PATCH] Only include relevant files in linter samples --- tools/cds-lint/examples/examples.data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cds-lint/examples/examples.data.ts b/tools/cds-lint/examples/examples.data.ts index ba1e3b784..d33569a56 100644 --- a/tools/cds-lint/examples/examples.data.ts +++ b/tools/cds-lint/examples/examples.data.ts @@ -8,7 +8,7 @@ let data: Record = {}; export default { // Watch files in // - watch: ['./**/.*', './**/**'], + watch: ['./**/*.cds', './**/*.csv', './**/*.json'], load(watchedFiles: string[]) { watchedFiles.forEach((file) => { if (__filename.includes(file) || file.match(/@cds-models/)) return