ack is peculiar in that it doesn’t have a blacklist of file types to ignore, but rather a whitelist of file types that it will search in.
To quote from the man page:
With no file selections,
ack-greponly searches files of types that it recognizes. If you have a file calledfoo.wango, andack-grepdoesn’t know what a .wango file is,ack-grepwon’t search it.
(Note that I’m using Ubuntu where the binary is called ack-grep due to a naming conflict)
ack --help-types will show a list of types your ack installation supports.