Skip to content

Commit

Permalink
revert comma changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Aug 26, 2021
1 parent 2c98ed8 commit 9f0b1df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rules/no-unused-modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down Expand Up @@ -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`
);
}
};
Expand Down

0 comments on commit 9f0b1df

Please sign in to comment.