918f15b68d022d7a667534ec7e34fd6831880583
When both a syntax error (unability to parse a document) and a cosmetic yamllint problem are found at the same place, the yamllint problem had the priority -- and the syntax error was not displayed. This had the following problem: if a rule is at the 'warning' level, its problems will not make the `yamllint` script return a failure return code (`!= 0`), even when it should (because there was a syntax error, precisely). This commit changes this behavior by preferring yamllint problems only when they have the 'error' level.
Description
Languages
Python
99.2%
Roff
0.8%