Skip to content

Commit d340969

Browse files
committed
chore: linting fixing
1 parent 0368d31 commit d340969

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/github.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ class GitHub {
313313
async getNotificationDetails(notification) {
314314
if(notification.subject.type === "RepositoryInvitation" || notification.subject.type === "RepositoryVulnerabilityAlert" || !notification.subject.url) {
315315
const details = { ...notification.repository };
316+
/* eslint-disable camelcase */
316317
switch(notification.subject.type) {
317318
case "RepositoryInvitation":
318319
details.html_url = `${notification.repository.html_url}/invitations`;
@@ -332,6 +333,7 @@ class GitHub {
332333
break;
333334
default:
334335
}
336+
/* eslint-enable camelcase */
335337
return details;
336338
}
337339
const apiEndpoint = notification.subject.url;

scripts/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Storage { // eslint-disable-line no-redeclare
3030
}
3131

3232
removeValues(keys) {
33-
return browser.storage[this.area].remove(keys.map(this.getStorageKey, this));
33+
return browser.storage[this.area].remove(keys.map((key) => this.getStorageKey(key)));
3434
}
3535
}
3636
window.Storage = Storage;

0 commit comments

Comments
 (0)