Skip to content

Draft: Run prettier

Marwan Zibaoui requested to merge run-prettier into next

Errors caught:

[warn] adblockpluschrome/lib/stats.js
day1.html[error] day1.html: SyntaxError: Unexpected closing tag "article". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (53:7)
[error]   51 |               data-i18n="day1_community_contact"></a>
[error]   52 |         </div>
[error] > 53 |       </article>
[error]      |       ^^^^^^^^^^
[error]   54 |
[error]   55 |       <article id="blockelement">
[error]   56 |         <div class="content columns">
desktop-options.html[error] desktop-options.html: SyntaxError: Unexpected closing tag "aside". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (77:5)
[error]   75 |         <a class="button" href="" target="_blank" data-i18n="options_premium_manage"></a>
[error]   76 |         <a class="button premium-label" href="" target="_blank" dir="ltr">Premium</a>
[error] > 77 |     </aside>
[error]      |     ^^^^^^^^
[error]   78 |     <main>
[error]   79 |       <!-- General tab content -->
[error]   80 |       <div id="content-general" role="tabpanel" aria-labelledby="tab-general" data-source="general-tab">
dist/devenv/chrome/day1.html[error] dist/devenv/chrome/day1.html: SyntaxError: Unexpected closing tag "article". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (53:7)
[error]   51 |               data-i18n="day1_community_contact"></a>
[error]   52 |         </div>
[error] > 53 |       </article>
[error]      |       ^^^^^^^^^^
[error]   54 |
[error]   55 |       <article id="blockelement">
[error]   56 |         <div class="content columns">
dist/devenv/chrome/desktop-options.html[error] dist/devenv/chrome/desktop-options.html: SyntaxError: Unexpected closing tag "aside". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (77:5)
[error]   75 |         <a class="button" href="" target="_blank" data-i18n="options_premium_manage"></a>
[error]   76 |         <a class="button premium-label" href="" target="_blank" dir="ltr">Premium</a>
[error] > 77 |     </aside>
[error]      |     ^^^^^^^^
[error]   78 |     <main>
[error]   79 |       <!-- General tab content -->
[error]   80 |       <div id="content-general" role="tabpanel" aria-labelledby="tab-general" data-source="general-tab">
dist/devenv/chrome/problem.html[error] dist/devenv/chrome/problem.html: SyntaxError: Unexpected closing tag "a". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (84:9)
[error]   82 |         <a class="email" href="mailto:support@adblockplus.org"
[error]   83 |           data-i18n-title="problem_social_email"></a>
[error] > 84 |         </a>
[error]      |         ^^^^
[error]   85 |       </p>
[error]   86 |     </div>
[error]   87 |   </article>
dist/devenv/firefox/day1.html[error] dist/devenv/firefox/day1.html: SyntaxError: Unexpected closing tag "article". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (54:7)
[error]   52 |               data-i18n="day1_community_contact"></a>
[error]   53 |         </div>
[error] > 54 |       </article>
[error]      |       ^^^^^^^^^^
[error]   55 |
[error]   56 |       <article id="blockelement">
[error]   57 |         <div class="content columns">
dist/devenv/firefox/desktop-options.html[error] dist/devenv/firefox/desktop-options.html: SyntaxError: Unexpected closing tag "aside". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (78:5)
[error]   76 |         <a class="button" href="" target="_blank" data-i18n="options_premium_manage"></a>
[error]   77 |         <a class="button premium-label" href="" target="_blank" dir="ltr">Premium</a>
[error] > 78 |     </aside>
[error]      |     ^^^^^^^^
[error]   79 |     <main>
[error]   80 |       <!-- General tab content -->
[error]   81 |       <div id="content-general" role="tabpanel" aria-labelledby="tab-general" data-source="general-tab">
dist/devenv/firefox/problem.html[error] dist/devenv/firefox/problem.html: SyntaxError: Unexpected closing tag "a". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (85:9)
[error]   83 |         <a class="email" href="mailto:support@adblockplus.org"
[error]   84 |           data-i18n-title="problem_social_email"></a>
[error] > 85 |         </a>
[error]      |         ^^^^
[error]   86 |       </p>
[error]   87 |     </div>
[error]   88 |   </article>
dist/devenv/local/day1.html[error] dist/devenv/local/day1.html: SyntaxError: Unexpected closing tag "article". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (53:7)
[error]   51 |               data-i18n="day1_community_contact"></a>
[error]   52 |         </div>
[error] > 53 |       </article>
[error]      |       ^^^^^^^^^^
[error]   54 |
[error]   55 |       <article id="blockelement">
[error]   56 |         <div class="content columns">
dist/devenv/local/desktop-options.html[error] dist/devenv/local/desktop-options.html: SyntaxError: Unexpected closing tag "aside". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (77:5)
[error]   75 |         <a class="button" href="" target="_blank" data-i18n="options_premium_manage"></a>
[error]   76 |         <a class="button premium-label" href="" target="_blank" dir="ltr">Premium</a>
[error] > 77 |     </aside>
[error]      |     ^^^^^^^^
[error]   78 |     <main>
[error]   79 |       <!-- General tab content -->
[error]   80 |       <div id="content-general" role="tabpanel" aria-labelledby="tab-general" data-source="general-tab">
dist/devenv/local/problem.html[error] dist/devenv/local/problem.html: SyntaxError: Unexpected closing tag "a". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (84:9)
[error]   82 |         <a class="email" href="mailto:support@adblockplus.org"
[error]   83 |           data-i18n-title="problem_social_email"></a>
[error] > 84 |         </a>
[error]      |         ^^^^
[error]   85 |       </p>
[error]   86 |     </div>
[error]   87 |   </article>
problem.html[error] problem.html: SyntaxError: Unexpected closing tag "a". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (84:9)
[error]   82 |         <a class="email" href="mailto:support@adblockplus.org"
[error]   83 |           data-i18n-title="problem_social_email"></a>
[error] > 84 |         </a>
[error]      |         ^^^^
[error]   85 |       </p>
[error]   86 |     </div>
[error]   87 |   </article>
test/unit/locale-linter/data/en_US/invalid.json[error] test/unit/locale-linter/data/en_US/invalid.json: SyntaxError: Unexpected token (2:1)
[error]   1 | {
[error] > 2 |
[error]     | ^
[warn] Code style issues found in the above file(s). Forgot to run Prettier?
Edited by Marwan Zibaoui

Merge request reports