Fix eslint (#33002)

Fix  #32982
Related #32869

* eslint-plugin-github 5.1.x doesn't work well with eslint8
* no-undef is still needed
This commit is contained in:
wxiaoguang 2024-12-28 03:34:39 +08:00 committed by GitHub
parent a7b2707be9
commit ea198f9ea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 164 deletions

View file

@ -674,7 +674,7 @@ module.exports = {
'no-this-before-super': [2],
'no-throw-literal': [2],
'no-undef-init': [2],
'no-undef': [0],
'no-undef': [2], // it is still needed by eslint & IDE to prompt undefined names in real time
'no-undefined': [0],
'no-underscore-dangle': [0],
'no-unexpected-multiline': [2],