diff --git a/test/cli.js b/test/cli.js index 5fee631..0a3694a 100644 --- a/test/cli.js +++ b/test/cli.js @@ -11,6 +11,8 @@ const regexpEscape = require('regexp.escape'); const sinon = require('sinon'); const stream = require('node:stream'); +// https://github.com/import-js/eslint-plugin-import/issues/2844 +// eslint-disable-next-line import/extensions let swaggerSpecValidator = require('..'); const packageJson = require('../package.json'); diff --git a/test/swagger-spec-validator.js b/test/swagger-spec-validator.js index 30cb30c..612f056 100644 --- a/test/swagger-spec-validator.js +++ b/test/swagger-spec-validator.js @@ -13,6 +13,8 @@ const stream = require('node:stream'); const url = require('node:url'); const packageJson = require('../package.json'); +// https://github.com/import-js/eslint-plugin-import/issues/2844 +// eslint-disable-next-line import/extensions const swaggerSpecValidator = require('..'); const defaultUrl = new URL(swaggerSpecValidator.DEFAULT_URL);