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 --- test/fixtures/dom-test.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/fixtures') diff --git a/test/fixtures/dom-test.js b/test/fixtures/dom-test.js index 578b1324..961e0a77 100644 --- a/test/fixtures/dom-test.js +++ b/test/fixtures/dom-test.js @@ -28,6 +28,7 @@ function prepareWindow(window) { // Define innerText setter as an alias for textContent setter Object.defineProperty(window.HTMLDivElement.prototype, 'innerText', { + get() { return this.textContent; }, set(value) { this.textContent = value; } }); -- cgit v1.2.3