Skip to content

Commit

Permalink
add linting for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedle committed Mar 1, 2019
1 parent b303155 commit ac29160
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ script:
- task test
- task integration-test
- task lint
- task lint-markdown
- task coveralls-analysis
- task sonar-analysis
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ Yet another tp-link HS100 library for golang

## Usage

install library ``go get github.com/jaedle/golang-tplink-hs100``
install library `go get github.com/jaedle/golang-tplink-hs100`

use the following code as main and replace `YOUR_HS100_DEVICE` with the address of your HS100-device.
use the following code as main and replace `YOUR_HS100_DEVICE` with the
address of your HS100-device.

```golang
package main
Expand All @@ -42,18 +43,25 @@ func main() {

## Acknowledgements

- [tplink-smarthome-api](https://github.com/plasticrake/tplink-smarthome-api): Thanks for the inspiration!
- [tplink-smarthome-crypto](https://github.com/plasticrake/tplink-smarthome-crypto) Thanks for the excellent documentation/test-cases for encrypting/decrypting the communication
- [tplink-smarthome-simulator](https://github.com/plasticrake/tplink-smarthome-simulator) Thanks for providing a device simulator for integration tests!
- [hs1xxplug](https://github.com/sausheong/hs1xxplug): Thanks for the blueprint in golang!
- [tplink-smarthome-api](https://github.com/plasticrake/tplink-smarthome-api):
Thanks for the inspiration!

- [tplink-smarthome-crypto](https://github.com/plasticrake/tplink-smarthome-crypto)
Thanks for the excellent documentation/test-cases for encrypting/decrypting
the communication

- [tplink-smarthome-simulator](https://github.com/plasticrake/tplink-smarthome-simulator)
Thanks for providing a device simulator for integration tests!

- [hs1xxplug](https://github.com/sausheong/hs1xxplug):
Thanks for the blueprint in golang!

## Development

### Prerequisites

1. go-task
2. docker
1. go-task
1. docker

## Project structure

Expand Down
5 changes: 5 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ tasks:
silent: true
cmds:
- golangci-lint run
lint-markdown:
dir: ./
silent: true
cmds:
- docker container run --rm -it -v "$PWD/README.md:/lint/input/README.md" zemanlx/remark-lint --quiet --frail README.md --no-stdout
coveralls-analysis:
silent: true
cmds:
Expand Down

0 comments on commit ac29160

Please sign in to comment.