Skip to content

Adding options to `no-native-jquery` and turning it on by default

Compare
Choose a tag to compare
@ilyavolodin ilyavolodin released this 22 Feb 05:21
· 55 commits to master since this release

no-native-jquery now has two options: all and 'selector.allwill warn about all usages of jQuery inside views.selectorwill only warn about use of jQuery object with literal parameter ($(".test")). If you use jQuery and pass it an object,selectoroptions will not warn about it ($(e.target)). Default configuration has been updated.no-native-jqueryis now warning by default withselector` option.