Skip to content

Commit bd7f159

Browse files
Update eslint to v8 (#2196)
1 parent 4ff29b6 commit bd7f159

File tree

5 files changed

+141
-733
lines changed

5 files changed

+141
-733
lines changed

.eslintrc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
no-implied-eval: error
1616
no-mixed-spaces-and-tabs: [error, smart-tabs]
1717
no-unused-vars:
18-
- error
19-
- vars: local
20-
args: none
18+
- error
19+
- vars: local
20+
args: none
2121
no-shadow: error
2222
no-unsafe-negation: error
2323
no-with: error

Extensions/xkit_patches.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3114,6 +3114,8 @@ XKit.extensions.xkit_patches = new Object({
31143114
$("#xkit_notification_" + m_notification_id).slideDown('slow');
31153115
}, 100);
31163116
$("#xkit_notification_" + m_notification_id).click(function() {
3117+
// TODO: fix this erroneous comparison
3118+
// eslint-disable-next-line valid-typeof
31173119
if (typeof callback !== undefined) {
31183120
try {
31193121
callback();

0 commit comments

Comments
 (0)