aboutsummaryrefslogtreecommitdiff
path: root/test/deinflector.test.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-01-27 04:01:37 -0500
committerGitHub <noreply@github.com>2024-01-27 09:01:37 +0000
commit7a142bbafd6aa6ca5fe296ba3012158d8f2e75dc (patch)
tree698be195228b5b739a2acf77e34906b56fb80eca /test/deinflector.test.js
parenta3224f688f44c9c913f32add1223e922ce88e65a (diff)
Remove unneeded eslint disables (#554)
* Install eslint-plugin-eslint-comments * Update rules, fix issues
Diffstat (limited to 'test/deinflector.test.js')
-rw-r--r--test/deinflector.test.js4
1 files changed, 2 insertions, 2 deletions
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 <https://www.gnu.org/licenses/>.
*/
-/* 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'}));