Ignore file directive works in the whole file
bartlomieju opened this issue · 2 comments
bartlomieju commented
When working on a blog post @lucacasonato discovered that ignore directive for the file (in our case deno-fmt-ignore-file
) makes dprint
to ignore file if it's placed anywhere in the file.
Ideally this directive should only have effect if it's placed on the first line.
dsherret commented
@bartlomieju oops... looks like I forgot an ^
in the regex.
Will fix this later.
bartlomieju commented
No problem, thank you!