ExtremeFLOW / neko

/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗
https://neko.cfd/
Other
158 stars 27 forks source link

Linting update: Boost score and adjust rules. #1294

Closed timfelle closed 2 hours ago

timfelle commented 1 month ago

This pull request fixes an issue where any line ending with end was triggered, regardless of it being an end statement. Now, a whitespace character and the word end are required.

Additionally, it includes linting improvements and extends rules to apply to type selections as well as switch cases.

Linting requirement have been adjusted to 10.0 instead of 8.0 to avoid regression. We might want to consider relaxing this if trouble shows up.

There are a few special cases that we might want to adjust: