mcarton
|
c2444c6043
|
Lint about else { if .. } with useless braces
|
2016-01-13 18:32:55 +01:00 |
|
Manish Goregaokar
|
140c34f85e
|
Tests shouldn't be executable (fixes #444)
|
2015-11-09 08:49:20 +05:30 |
|
Georg Brandl
|
bcd95aec1c
|
all: make style of lint messages consistent
* start first sentence lowercased
* use backticks to delimit code snippets
* use "this is wrong. Consider doing X." consistently
|
2015-08-12 10:47:09 +02:00 |
|
Georg Brandl
|
e318328d63
|
all: whitespace cleanup
* 4-space indentation
* no trailing whitespace
* no tabs
|
2015-08-11 20:22:50 +02:00 |
|
llogiq
|
1ee2e4ffe8
|
Fixed block check, also added macro test to collapsible_if and inline_always
|
2015-06-01 15:09:17 +02:00 |
|
Matthew Hall
|
7e16822925
|
Add lint for ifs that could be collapsed
"Collapsible" ifs are ones which contain only a then block, and the then
block consists of an if that only has a then block.
|
2015-05-29 15:41:25 +01:00 |
|