You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# comment out the first `import $ from 'jquery';` line
#
# the commit before #32482
$ git checkout cad313e64f01146b34b66ed6aa1344d9002dfe6c
$ npm i && npx eslint web_src/js/features/repo-issue-content.ts
/Users/xiaoguang/work/gitea/web_src/js/features/repo-issue-content.ts
14:17 error '$' is not defined no-undef
$ git checkout main
$ npm i && npx eslint web_src/js/features/repo-issue-content.ts
(no eslint error)
(but there are other npm warnings)
Before:
After:
The text was updated successfully, but these errors were encountered:
wxiaoguang
changed the title
IDE doesn't report un-imported $ as undefined any more
IDE/eslint doesn't report un-imported $ as undefined any more
Dec 25, 2024
Maybe caused by a related dependency change by Update JS and PY dependencies (#32482) and/or some recent upgrades.
It seems that the eslint dependency is also broken.
cc @silverwind
Before:
After:
The text was updated successfully, but these errors were encountered: