Commit graph

8 commits

Author SHA1 Message Date
Gabe Kangas
c6c6f0233d
Expanded linting + fix warnings (#1396)
* Expand the linters and types of warnings to improve consistency and safety

* Fail lint workflow if there are errors

* golint has been replaced by revive

* Hand-pick some of the default exclude list

* Ignore error when trying to delete preview gif

* Ignore linter warning opening playlist path

* Rename user field Id -> ID

* A bunch of renames to address linter warnings

* Rename ChatClient -> Client per linter suggestion best practice

* Rename ChatServer -> Server per linter suggestion best practice

* More linter warning fixes

* Add missing comments to all exported functions and properties
2021-09-12 00:18:15 -07:00
Gabe Kangas
a01fe638cc
Increase golangci-lint timeout 2021-08-12 21:33:11 -07:00
Christian Muehlhaeuser
261fe56bad
Don't specify the linter version, as it's not required any longer (#1262) 2021-07-24 23:19:46 -07:00
leuc
e311cb53ea
let actions/checkout@v2 select the right reference for push and pull request events (#1042) 2021-05-22 10:36:21 -07:00
Gabe Kangas
0f3e818041
Do not lint dependabot 2021-05-18 10:12:52 -07:00
Gabe Kangas
36154bc4c0 Fix permissions error on automated linter.
This reverts commit bf06467f2d.
2021-04-10 19:27:24 -07:00
Gabe Kangas
bf06467f2d
Removing lint.yml and consolidating into the formatting job 2021-04-10 19:22:18 -07:00
Christian Muehlhaeuser
16e578e993
Use a golangci-lint workflow to check for common mistakes & problems (#353) 2020-11-12 14:42:39 -08:00