Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 91db4f9

Browse files
author
Marlow Payne
committed
Merge pull request #62 from mobify/wrap-iife-conflict
Make IIFE wrap inside to avoid conflict with no-extra-parens
2 parents af68683 + d4ff317 commit 91db4f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"no-extend-native": 2,
2727

2828
// Enforce wrapping immediate invocations in parentheses
29-
"wrap-iife": 2,
29+
"wrap-iife": [2, "inside"],
3030

3131
// Disallow usage of a variable before declaration; ignores functions
3232
"no-use-before-define": [2, "nofunc"],

0 commit comments

Comments
 (0)