class RuboCop::Cop::Chef::RedundantCode::StringPropertyWithNilDefault

Properties have a nil value by default so there is no need to set the default value to nil.

@example

### incorrect
property :config_file, String, default: nil
property :config_file, [String, NilClass], default: nil

### correct
property :config_file, String
property :config_file, [String, NilClass]