# Anti-pattern: Slow 'length' for Text
[[check]]
id = "STAN-0208"
file = "src/Stack/PackageDump.hs"
type = "Exclude"
but that did not exclude what I wanted to be excluded. I had to specify:
# Anti-pattern: Slow 'length' for Text
[[check]]
id = "STAN-0208"
file = "src\\Stack\\PackageDump.hs"
type = "Exclude"
I think that means that file-specific exclusions have to be stated twice in each .stan.toml file that is going to be used on both Windows and Unix-like operating systems. I assume the same is true for directory-specific exclusions.
It would be good if they only had to be specified once.
On Windows, I tried:
but that did not exclude what I wanted to be excluded. I had to specify:
I think that means that file-specific exclusions have to be stated twice in each
.stan.toml
file that is going to be used on both Windows and Unix-like operating systems. I assume the same is true for directory-specific exclusions.It would be good if they only had to be specified once.