Skip to content

Commit 67f6a93

Browse files
committed
fix(common): CHECKOUT-4136 Exclude json files no matter where tslint is placed
The exclude pattern is based on the directory where tslint is placed. If we want to exclude json files regardless of the location of tslint.json we need to specify a `/` so all files, no matter the location are excluded.
1 parent 0989133 commit 67f6a93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@
245245
},
246246
"linterOptions": {
247247
"exclude": [
248-
"*.json",
249-
"**/*.json"
248+
"/**/*.json"
250249
]
251250
}
252251
}

0 commit comments

Comments
 (0)