Forbid variables containing jQuery collections not having the $
prefix (#29839)
See https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/docs/rules/variable-pattern.md --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
a889381664
commit
3cd64949ae
14 changed files with 192 additions and 192 deletions
2
web_src/js/jquery.js
vendored
2
web_src/js/jquery.js
vendored
|
@ -1,3 +1,3 @@
|
|||
import $ from 'jquery';
|
||||
|
||||
window.$ = window.jQuery = $;
|
||||
window.$ = window.jQuery = $; // eslint-disable-line no-jquery/variable-pattern
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue