cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
949 stars 104 forks source link

[cmake-lint] Zero error code with unknown arguments #288

Open KindDragon opened 2 years ago

KindDragon commented 2 years ago

When you pass a wrong argument to cmake-lint it doesn't return an error code. It is hard to discover wrong argument when you use it in pre-commit hooks