File: protocolbuffer.go

package info (click to toggle)
golang-github-reviewdog-errorformat 0.0~git20240608.1d3280e-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 984 kB
  • sloc: python: 59; xml: 13; sh: 7; javascript: 4; haskell: 3; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package fmts

func init() {
	const lang = "protocolbuffer"

	register(&Fmt{
		Name: "protolint",
		Errorformat: []string{
			`[%f:%l:%c] %m`,
		},
		Description: "A pluggable linting utility for Protocol Buffer files",
		URL:         "https://github.com/yoheimuta/protolint",
		Language:    lang,
	})

	register(&Fmt{
		Name: "buf",
		Errorformat: []string{
			`%f:%l:%c:%m`,
		},
		Description: "A new way of working with Protocol Buffers.",
		URL:         "https://github.com/bufbuild/buf",
		Language:    lang,
	})
}