mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Ax the arbitrary long line warning
It's not 80 or 132. ;)
This commit is contained in:
parent
8393a49148
commit
6aa75a328f
@ -38,8 +38,6 @@ end
|
||||
|
||||
class Msftidy
|
||||
|
||||
LONG_LINE_LENGTH = 200 # From 100 to 200 which is stupidly long
|
||||
|
||||
# Status codes
|
||||
OK = 0x00
|
||||
WARNINGS = 0x10
|
||||
@ -425,10 +423,6 @@ class Msftidy
|
||||
error("Unicode detected: #{ln.inspect}", idx)
|
||||
end
|
||||
|
||||
if (ln.length > LONG_LINE_LENGTH)
|
||||
warn("Line exceeding #{LONG_LINE_LENGTH} bytes", idx)
|
||||
end
|
||||
|
||||
if ln =~ /[ \t]$/
|
||||
warn("Spaces at EOL", idx)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user