From dc8fdbbc0ff64670ed958950d82b3a953e7048eb Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Tue, 5 Sep 2023 08:55:22 -0600 Subject: [PATCH] Disable import/extensions for require('..') To work around https://github.com/import-js/eslint-plugin-import/issues/2844 Signed-off-by: Kevin Locke --- test/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/index.js b/test/index.js index 750d740..16ff3b8 100644 --- a/test/index.js +++ b/test/index.js @@ -11,6 +11,8 @@ const deepFreeze = require('deep-freeze'); const sinon = require('sinon'); const { inspect } = require('util'); +// https://github.com/import-js/eslint-plugin-import/issues/2844 +// eslint-disable-next-line import/extensions const OpenApiTransformerBase = require('..'); /* Specification Extension Property Ambiguity: