From c5a66aa6eb7a9477de92c63a58815f98ea655a37 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Thu, 22 Sep 2022 12:44:12 +0000 Subject: [PATCH] chore: update repository templates to https://github.com/ory/meta/commit/935cc0443464fd76fbf41dff1081b368080c9353 --- CONTRIBUTING.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c91e723..afcc4a9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -178,11 +178,9 @@ request, go through this checklist: changes against the `master` branch. 1. Run the full project test suite with the `go test -tags sqlite ./...` (or equivalent) command and confirm that it passes. -1. Run `make format` if a `Makefile` is available, `gofmt -s` if the project is - written in Go, `npm run format` if the project is written for NodeJS. +1. Run `make format` 1. Add a descriptive prefix to commits. This ensures a uniform commit history - and helps structure the changelog. - Please refer to this + and helps structure the changelog. Please refer to this [list of prefixes for Ory Hydra Maester](https://github.com/ory/hydra-maester/blob/master/.github/semantic.yml) for an overview. @@ -234,11 +232,7 @@ Please disclose vulnerabilities exclusively to ## Code style -Please follow these guidelines when formatting source code: - -- Go code should match the output of `gofmt -s` and pass `golangci-lint run`. -- NodeJS and JavaScript code should be prettified using `npm run format` where - appropriate. +Please run `make format` to format all source code following the Ory standard. ### Working with forks