module Danger # A danger plugin to check Swift formatting using SwiftFormat. # # @example Check that the added and modified files are properly formatted: # # swiftformat.check_format # # @see garriguv/danger-swiftformat # @tags swiftformat # class DangerSwiftformat < Plugin # The path to SwiftFormat's executable # # @return [String] attr_accessor :binary_path # Additional swiftformat command line arguments # # @return [String] attr_accessor :additional_args # Additional message to be appended the report # # @return [String] attr_accessor :additional_message # An array of file and directory paths to exclude # # @return [Array