diff --git a/src/rules/no-unused-modules.js b/src/rules/no-unused-modules.js index f0348773f5..094f75e3a8 100644 --- a/src/rules/no-unused-modules.js +++ b/src/rules/no-unused-modules.js @@ -236,7 +236,7 @@ const prepareImportsAndExports = (srcFiles, context) => { } const localImport = imports.get(key) || new Set(); value.declarations.forEach(({ importedSpecifiers }) => - importedSpecifiers.forEach(specifier => localImport.add(specifier)), + importedSpecifiers.forEach(specifier => localImport.add(specifier)) ); imports.set(key, localImport); }); @@ -552,13 +552,13 @@ module.exports = { if (exportStatement.whereUsed.size < 1) { context.report( node, - `exported declaration '${value}' not used within other modules`, + `exported declaration '${value}' not used within other modules` ); } } else { context.report( node, - `exported declaration '${value}' not used within other modules`, + `exported declaration '${value}' not used within other modules` ); } };