Skip to content

Commit

Permalink
feat(eslint-plugin-experience): use forEach instead of for-of
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Nov 13, 2023
1 parent 2eb6cda commit 3a44152
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = {
message:
"Use `map(x => x?.foo?.bar)` instead of `pluck('foo', 'bar')`",
},
{
selector: 'ForOfStatement',
message: 'Use `forEach` instead of `for-of`',
},
],
},
},
Expand Down

0 comments on commit 3a44152

Please sign in to comment.