From f643040db2dc1c7ff5e5bbd18318093642ed3292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souchet=20C=C3=A9line?= Date: Tue, 19 Sep 2023 16:51:38 +0200 Subject: [PATCH] add unicorn/prefer-dom-node-text-content rule --- .eslintrc.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 32aaedb702..c87d3b566a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -44,6 +44,7 @@ module.exports = { 'unicorn/prefer-query-selector': 'error', 'unicorn/prefer-add-event-listener': 'error', 'unicorn/no-array-for-each': 'error', + 'unicorn/prefer-dom-node-text-content': 'error', 'import/newline-after-import': ['error', { count: 1 }], 'import/first': 'error', 'import/order': [