From 4e77741d22778bd09b772fc53f1cbd64107e3d24 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 16 Feb 2024 19:37:01 -0500 Subject: Even more eslint rules (#696) * capitalized-comments * Turn rules on * Add miscellaneous rules * More rules --- ext/js/dom/dom-text-scanner.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/js/dom') diff --git a/ext/js/dom/dom-text-scanner.js b/ext/js/dom/dom-text-scanner.js index 5b3ea564..e263d9f3 100644 --- a/ext/js/dom/dom-text-scanner.js +++ b/ext/js/dom/dom-text-scanner.js @@ -551,10 +551,10 @@ export class DOMTextScanner { case 'block': case 'flex': case 'grid': - case 'list': // list-item - case 'table': // table, table-* + case 'list': // Also includes: list-item + case 'table': // Also includes: table, table-* return true; - case 'ruby': // ruby-* + case 'ruby': // Also includes: ruby-* return (pos >= 0); default: return false; -- cgit v1.2.3