diff --git a/rules/catch-or-return.js b/rules/catch-or-return.js index c12b82fc..6d3bfb6b 100644 --- a/rules/catch-or-return.js +++ b/rules/catch-or-return.js @@ -8,7 +8,7 @@ const getDocsUrl = require('./lib/get-docs-url') const isPromise = require('./lib/is-promise') -const isMemberCallWithObjectName = require('./lib/is-member-call-with-object-name') +const isMemberCallWithObjectName = require('./lib/is-member-call-with-object-name.js') module.exports = { meta: { diff --git a/rules/lib/is-member-call-with-object-name b/rules/lib/is-member-call-with-object-name.js similarity index 100% rename from rules/lib/is-member-call-with-object-name rename to rules/lib/is-member-call-with-object-name.js diff --git a/rules/prefer-await-to-then.js b/rules/prefer-await-to-then.js index 09532477..9780edca 100644 --- a/rules/prefer-await-to-then.js +++ b/rules/prefer-await-to-then.js @@ -7,7 +7,7 @@ const { getAncestors, getScope } = require('./lib/eslint-compat') const getDocsUrl = require('./lib/get-docs-url') -const isMemberCallWithObjectName = require('./lib/is-member-call-with-object-name') +const isMemberCallWithObjectName = require('./lib/is-member-call-with-object-name.js') module.exports = { meta: {