chore: lint

This commit is contained in:
typicode
2023-02-22 22:34:39 +01:00
parent 39f615c530
commit ed2767416a
11 changed files with 2638 additions and 1178 deletions

View File

@ -15,7 +15,7 @@ function ResourceList({ db }) {
ResourceItem({
name,
length: Array.isArray(db[name]) && db[name].length,
})
}),
)
.join('')}
</ul>
@ -40,7 +40,7 @@ window
.then((response) => response.json())
.then(
(db) =>
(document.getElementById('resources').innerHTML = ResourcesBlock({ db }))
(document.getElementById('resources').innerHTML = ResourcesBlock({ db })),
)
function CustomRoutesBlock({ customRoutes }) {
@ -56,7 +56,7 @@ function CustomRoutesBlock({ customRoutes }) {
`<tr>
<td>${rule}</td>
<td><code>⇢</code> ${customRoutes[rule]}</td>
</tr>`
</tr>`,
)
.join('')}
</table>
@ -72,5 +72,5 @@ window
(customRoutes) =>
(document.getElementById('custom-routes').innerHTML = CustomRoutesBlock({
customRoutes,
}))
})),
)