Add more clang-tidy checks.

This adds all the generic checks. There are some more project specific
ones that could be selected but this is a good start and has already
found some lint errors.

Change-Id: I7bb9d9347f5270862c2ff586eb7c86feead9e4bb
diff --git a/src/main.c b/src/main.c
index a23c7e8..e4957fd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -280,7 +280,7 @@
 	}
 
 	/* Fail if it's not a number. */
-	if (*it->next < '0' && *it->next > '9') {
+	if (*it->next < '0' || *it->next > '9') {
 		return false;
 	}