mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-08-23 08:01:28 +02:00
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> (cherry picked from commit 3cd64949ae1402a4ff45fba0a27c4acca1c5aead)
4 lines
105 B
JavaScript
4 lines
105 B
JavaScript
import $ from 'jquery';
|
|
|
|
window.$ = window.jQuery = $; // eslint-disable-line no-jquery/variable-pattern
|