add -wp-ignore-inactive flag which ignores inactive plugin or themes (#974)

* command

* config

* ignore inactive

* fix

* add test

* fmt

* add unset test

* rename

* add test

* refactor

* fix

* refactor

* refactor

* fix golangci-lint error
This commit is contained in:
kazuminn
2020-05-29 15:27:47 +09:00
committed by GitHub
parent 835dc08049
commit 8d5ea98e50
6 changed files with 126 additions and 7 deletions

View File

@@ -152,6 +152,7 @@ type Config struct {
FormatFullText bool `json:"formatFullText,omitempty"`
GZIP bool `json:"gzip,omitempty"`
Diff bool `json:"diff,omitempty"`
WpIgnoreInactive bool `json:"wpIgnoreInactive,omitempty"`
}
// ValidateOnConfigtest validates