v15.0.0
Major Changes
-
2d8f332
#171 Thanks @calebeby! - Add@cloudfour/prefer-early-return
rule (enabled by default)This rule suggests to change code like this:
function a() { if (_) { a(); b(); c(); } }
into:
function a() { if (!_) return; a(); b(); c(); }
Minor Changes
-
f4e2715
#164 Thanks @renovate! - Updateeslint-plugin-unicorn
to v22The new
unicorn/import-style
rule is disabled by default, so this is not a breaking change.