Closed andypiper closed 2 years ago
Thanks.
Looks like I screwed up the indentation as well. What JSON linter are you using? I though I'd setup Atom to check JSON files as well, but apparently this fails to check the layout.
I noticed that when you added the USB power option, there was a missing link to the Wiki.
Oops.
For consistency, it also capitalises Homebridge
Thanks. I've been using Homebridge for too long, from back when it was still spelled "homebridge".
and replaces "Lightbulb" with "Light"
Not happy with that; the HomeKit service is called "Lightbulb". You'd need to submit a PR to Apple to change that ;-)
Ah, in the Light/Lightbulb controversy, I’ll defer to Apple.
I’m using VSCode and it has its own JSON linter/formatter, I think. I hadn’t even noticed that it had done anything until I submitted the PR…!
I already installed the eslint-jsonlint
package in Atom, but that doesn't seem to do anything with the layout. Now installed jsonlint
and ran that manually on the JSON files of all my plugins. Found more discrepancies than I would care to admit...
I noticed that when you added the USB power option, there was a missing link to the Wiki.
This pull request adds that link and expands the information text.
For consistency, it also capitalises Homebridge, and replaces "Lightbulb" with "Light", in a couple of other informational messages.