Open pixelastic opened 7 years ago
The following (invalid) code will pass through pug-lint:
pug-lint
body input(type="text") Foo
But, if passed through pug will yield the following error:
pug
input is a self closing element: <input/> but contains nested content.
I think that everything that would make pug fail to compile should be caught by pug-lint, when possible.
I'm using pug-lint v2.4.0 on Ubuntu (installed through yarn).
yarn
The following (invalid) code will pass through
pug-lint
:But, if passed through
pug
will yield the following error:I think that everything that would make
pug
fail to compile should be caught bypug-lint
, when possible.I'm using
pug-lint
v2.4.0 on Ubuntu (installed throughyarn
).