Skip to content

Commit

Permalink
dependencies, eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Jul 20, 2024
1 parent 5789d7f commit 1d4369a
Show file tree
Hide file tree
Showing 4 changed files with 780 additions and 489 deletions.
1 change: 0 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint perfectionist/sort-objects: "error" */
import { antfu } from '@antfu/eslint-config'

/** @type {typeof antfu} */
Expand Down
6 changes: 3 additions & 3 deletions lib/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export default class {
accessory.control.disconnect()
}
})
} catch (err) {
} catch (err) { // eslint-disable-line unused-imports/no-unused-vars
// No need to show errors at this point
}
}
Expand Down Expand Up @@ -1374,7 +1374,7 @@ export default class {
this.api.updatePlatformAccessories([accessory])
devicesInHB.set(accessory.UUID, accessory)
}
} catch (err) {
} catch (err) { // eslint-disable-line unused-imports/no-unused-vars
// Catch any errors during the process
}
}
Expand All @@ -1393,7 +1393,7 @@ export default class {
this.api.updatePlatformAccessories([accessory])
devicesInHB.set(accessory.UUID, accessory)
}
} catch (err) {
} catch (err) { // eslint-disable-line unused-imports/no-unused-vars
// Catch any errors during the process
}
}
Expand Down
Loading

0 comments on commit 1d4369a

Please sign in to comment.