Sha256: afeaf4d3fed555e4b2f864501e0c1df97760e02b10fe8cd121b3bd41f4f29c39
Contents?: true
Size: 754 Bytes
Versions: 1
Compression:
Stored size: 754 Bytes
Contents
xcode_proj "Fixtures/Fixtures.xcodeproj" main_target "Fixtures" warning :line, :language => "swift" do |line| line.length > 120 ? "Length of line #{line.length} is longer than 120 characters!" : false end warning :file do |entire_file| max_number_of_lines = 500 number_of_code_or_comment_lines = entire_file.split("\n").select { |line| line.strip.length > 0 }.count if number_of_code_or_comment_lines > max_number_of_lines # Map line numbers to errors { "1" => "File is #{number_of_code_or_comment_lines} lines long" } else false end end error_regex "Please remove Copyright boilerplate", /^\/\/ Copyright \(c\).*$/, :files => ["*AppDelegate*"] warning_regex "TODO", /^\/\/\s+TODO:.*$/, :exclude => "*/Fixtures/Excluded/*"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mayday-0.0.1 | spec/fixtures/Maydayfile |