Skip to content

Commit

Permalink
Only include relevant files in linter samples
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Nov 28, 2024
1 parent 9ec39a8 commit 7f4c213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cds-lint/examples/examples.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let data: Record<string, string> = {};

export default {
// Watch files in <rule>/<type>/
watch: ['./**/.*', './**/**'],
watch: ['./**/*.cds', './**/*.csv', './**/*.json'],
load(watchedFiles: string[]) {
watchedFiles.forEach((file) => {
if (__filename.includes(file) || file.match(/@cds-models/)) return
Expand Down

0 comments on commit 7f4c213

Please sign in to comment.