From 7a142bbafd6aa6ca5fe296ba3012158d8f2e75dc Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 27 Jan 2024 04:01:37 -0500 Subject: Remove unneeded eslint disables (#554) * Install eslint-plugin-eslint-comments * Update rules, fix issues --- test/deinflector.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/deinflector.test.js') diff --git a/test/deinflector.test.js b/test/deinflector.test.js index e90704f1..660b909a 100644 --- a/test/deinflector.test.js +++ b/test/deinflector.test.js @@ -16,8 +16,6 @@ * along with this program. If not, see . */ -/* eslint-disable no-multi-spaces */ - import fs from 'fs'; import {fileURLToPath} from 'node:url'; import path from 'path'; @@ -62,6 +60,7 @@ function hasTermReasons(deinflector, source, expectedTerm, expectedRule, expecte /** */ function testDeinflections() { + /* eslint-disable no-multi-spaces */ const data = [ { valid: true, @@ -933,6 +932,7 @@ function testDeinflections() { ] } ]; + /* eslint-enable no-multi-spaces */ /** @type {import('deinflector').ReasonsRaw} */ const deinflectionReasons = parseJson(fs.readFileSync(path.join(dirname, '..', 'ext', 'data/deinflect.json'), {encoding: 'utf8'})); -- cgit v1.2.3