Closed mitranim closed 6 years ago
first_line_match does not have implicit ^$. As a result, the rule was matching things like import blah from 'blah', which occasionally marked non-docker files without explicit file extensions, or in unsaved buffers, as dockerfiles. This PR fixes it.
first_line_match
^$
import blah from 'blah'
made a patch release
first_line_match
does not have implicit^$
. As a result, the rule was matching things likeimport blah from 'blah'
, which occasionally marked non-docker files without explicit file extensions, or in unsaved buffers, as dockerfiles. This PR fixes it.