Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 498 Bytes

no-merge.md

File metadata and controls

26 lines (18 loc) · 498 Bytes

no-merge

Disallows the $.merge utility. Prefer Array#concat.

📋 This rule is enabled in plugin:no-jquery/all.

Rule details

❌ Examples of incorrect code:

$.merge();

✔️ Examples of correct code:

merge();
'test'.merge();
'test'.merge;

Resources