2024-01-15 13:46:49 +03:00
|
|
|
package config
|
|
|
|
|
|
|
|
type Formatter struct {
|
2024-05-10 12:17:49 +03:00
|
|
|
// Command is the command to invoke when applying this Formatter.
|
2024-01-15 13:46:49 +03:00
|
|
|
Command string
|
|
|
|
// Options are an optional list of args to be passed to Command.
|
|
|
|
Options []string
|
|
|
|
// Includes is a list of glob patterns used to determine whether this Formatter should be applied against a path.
|
|
|
|
Includes []string
|
|
|
|
// Excludes is an optional list of glob patterns used to exclude certain files from this Formatter.
|
|
|
|
Excludes []string
|
2024-05-24 13:42:40 +03:00
|
|
|
// Indicates the order of precedence when executing this Formatter in a sequence of Formatters.
|
2024-04-25 11:38:41 +03:00
|
|
|
Priority int
|
2024-01-15 13:46:49 +03:00
|
|
|
}
|