Currently the following line will fail with an Unnecessary 'div' tag error.
div(data-type="text").class
If it were written as (data-type="text").class, pug will fail to render and throw an error.
Test
it('should not report necessary div tags with classes after attributes', function () {
assert.equal(linter.checkString('div(data-type="text").class').length, 0);
});
Currently the following line will fail with an
Unnecessary 'div' tag
error.div(data-type="text").class
If it were written as
(data-type="text").class
, pug will fail to render and throw an error.Test