[lint] Update editorconfig linting:

- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
This commit is contained in:
Fabien Basmaison
2021-03-20 16:33:18 +01:00
parent 5c5fc98118
commit fa79070b59
3 changed files with 8 additions and 3 deletions

View File

@ -59,7 +59,9 @@ class TabGroup {
}
initPanels() {
let selectedPanelId = this.tablist.querySelector('[role="tab"][aria-selected="true"]').getAttribute("aria-controls");
let selectedPanelId = this.tablist
.querySelector('[role="tab"][aria-selected="true"]')
.getAttribute("aria-controls");
for(let panel of this.panels) {
if(panel.getAttribute("id") !== selectedPanelId) {
panel.setAttribute("hidden", "");