yeonjuan / html-eslint

ESLint plugin for linting HTML
https://html-eslint.org
MIT License
161 stars 28 forks source link

[indent] - falsy error on multiline element #129

Closed DerHerrGammler closed 1 year ago

DerHerrGammler commented 1 year ago

With a html element like this the indent of the attributes are showed as error but the indent there should be correct.

        <script
            defer
            data-domain="example.com"
            src="https://analytics.example.com/js/script.js"
        ></script>
yeonjuan commented 1 year ago

@DerHerrGammler Thanks for the report! I'll fix it as soon

yeonjuan commented 1 year ago

@DerHerrGammler It's fixed and published! v0.17.2. Thanks!

npm install -D @html-eslint/eslint-plugin@latest
DerHerrGammler commented 1 year ago

Thank you for fixing this fast 👍