boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

"bare" comments are not parsed properly #5

Closed boakley closed 9 years ago

boakley commented 10 years ago

Comments that start at the left margin are thrown away. We need to preserve them, so rules can check for them (ie: some people might want to discourage such comments, but we can't write that rule if we throw those comments away)

boakley commented 9 years ago

With commit cba40b78cffefab84d9b1cdfb97a16e4874af699 we now pass the raw text to general rules, so you can write a rule that checks for any text string you want. I don't think there's any need to preserve the comments in the parsed data.