diff --git a/rules/imports.js b/rules/imports.js index a958dcf..496b92e 100644 --- a/rules/imports.js +++ b/rules/imports.js @@ -172,7 +172,7 @@ module.exports = { // Forbid require() calls with expressions // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-dynamic-require.md - 'import/no-dynamic-require': 'error', + 'import/no-dynamic-require': 'warn', // prevent importing the submodules of other modules // https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-internal-modules.md