jquery/eslint-config-jquery

Add potential rule for IIFE case

markelog opened this issue · 2 comments

See eslint/eslint#6613

That's what holds up adding indent rule to this config

Tried it, failed, first of all there is lots of inconsitancies we have in the core and indent autofix feature is not ideal and second of all we need eslint/eslint#6690 to be fixed

Update for anyone following this thread: indent auto-fix will be improved with today's eslint@3.6.0 release (it can fix spaces to tabs and vice versa, and even fix mixed spaces/tabs to the proper indentation).

However, we still need eslint/eslint#6690 to really be able to use indent in jQuery projects.