You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Can I write custom rules that match Dockerfile? For docker-compose.yml files I suppose I can just use "applies_to": ["yaml"] but for Dockerfile (without file extension) is this possible?
The text was updated successfully, but these errors were encountered:
If this is not yet possible. Maybe a solution for custom rules could be another type of matcher. Not based on file extension but exact filename. This could be helpful for such cases like Dockerfile.
Have you tried with applies_to_file_regex? File types are determined by extension, so I'm not sure its possible to define a something in the languages.json (to use the regular applies_to field that would do this without code changes), but I think it should work when using the file regex.
Describe the bug
Can I write custom rules that match Dockerfile? For docker-compose.yml files I suppose I can just use
"applies_to": ["yaml"]
but forDockerfile
(without file extension) is this possible?The text was updated successfully, but these errors were encountered: