-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lint scripts, configs and docs (#178)
* Run prettier on all the scripts * Run prettier on JS API docs * Run prettier on markdown and YAML files * Dry run prettier
- Loading branch information
Showing
44 changed files
with
1,391 additions
and
1,342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,12 @@ jobs: | |
- name: Install Go 🧑💻 | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.18' | ||
go-version: "1.18" | ||
|
||
- name: Run prettier for linting scripts, configs and docs 🧹 | ||
uses: creyD/[email protected] | ||
with: | ||
dry: True | ||
|
||
- name: Lint code issues 🚨 | ||
uses: golangci/golangci-lint-action@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ linters: | |
- exhaustruct | ||
- gocognit | ||
- gochecknoinits | ||
- gocyclo | ||
- gocyclo |
Oops, something went wrong.