Skip to content

Commit

Permalink
Extend error
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Sep 29, 2024
1 parent 5cf98be commit 20156e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/no-array-reduce.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const {isNodeValueNotFunction, isArrayPrototypeProperty} = require('./utils/inde

const MESSAGE_ID = 'no-reduce';
const messages = {
[MESSAGE_ID]: '`Array#{{method}}()` is not allowed',
[MESSAGE_ID]: '`Array#{{method}}()` is not allowed. Prefer other types of loop for readability.',
};

const cases = [
Expand Down

0 comments on commit 20156e0

Please sign in to comment.