Skip to content

Commit

Permalink
fix(ui-react): add templateJoin to .eslintrc.js (#3299)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebpollman authored Jan 12, 2023
1 parent a633c2b commit 13e8b01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const { templateJoin } = require('@aws-amplify/ui-react-core');
// TODO remove when `primitivePatterns` is no longer required
function templateJoin(values, template) {
return values.reduce((acc, curr) => `${acc}${template(curr)}`, '');
}

// TODO remove these once the full set of rules can be turned on for the repo
// extensions that should be ran against the entire repo
Expand Down

0 comments on commit 13e8b01

Please sign in to comment.