How to use -skipPackagePluginValidation in Xcode Cloud

Locally I resolved the error “SwiftLintPlugin” was disabled by passing the --skipPackagePluginValidation to xcodebuild command in the terminal.

Can I use the same xcodebuild command in the Xcode Cloud custom script ci_post_xcodebuild.sh to resolve the issue “SwiftLintPlugin” was disabled?

Is it ideal to use xcodebuild command in the Xcode Cloud custom script ci_post_xcodebuild.sh?

Thanks in advance.