We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dfa229 commit c8b6020Copy full SHA for c8b6020
src/rules/prefer-default-export.js
@@ -106,10 +106,9 @@ module.exports = {
106
return;
107
}
108
if (target === 'single' && specifierExportCount === 1) {
109
- context.report(namedExportNode, SINGLE_EXPORT_ERROR_MESSAGE);
+ context.report(namedExportNode, SINGLE_EXPORT_ERROR_MESSAGE);
110
} else if (target === 'any' && specifierExportCount > 0) {
111
- context.report(namedExportNode, ANY_EXPORT_ERROR_MESSAGE);
112
- }
+ context.report(namedExportNode, ANY_EXPORT_ERROR_MESSAGE);
113
114
},
115
};
0 commit comments