Oliver Schneider
|
bf227f4729
|
split clippy into lints, plugin and cargo-clippy
|
2016-05-27 13:03:58 +02:00 |
|
mcarton
|
a878916ad5
|
rustfmt all the things
|
2016-04-14 20:14:03 +02:00 |
|
mcarton
|
c24ba91123
|
Rustup to 1.9.0-nightly (bf5da36f1 2016-04-06)
|
2016-04-08 02:23:14 +02:00 |
|
Manish Goregaokar
|
bd45cfd273
|
rustfmt
|
2016-02-29 21:35:51 +05:30 |
|
mcarton
|
b6443b9928
|
Replace all format!("{}", foo) calls
|
2016-02-20 21:03:45 +01:00 |
|
mcarton
|
00b27bf7be
|
Fix suggestion in COLLAPSIBLE_IF lint
|
2016-02-15 17:43:16 +01:00 |
|
mcarton
|
83a82a1d86
|
Remove redundancy in lint documentation
The default level is always given in the declare_lint! macro, no need to
add it inconsistently in the documentation.
|
2016-02-06 00:41:54 +01:00 |
|
Oliver Schneider
|
07ace32ac9
|
fallout
|
2016-02-01 11:29:04 +01:00 |
|
mcarton
|
95599c6a62
|
Synchronise comments with wiki
Wiki commits bfa439b and 9b8ced8.
|
2016-01-29 22:42:19 +01:00 |
|
mcarton
|
c2444c6043
|
Lint about else { if .. } with useless braces
|
2016-01-13 18:32:55 +01:00 |
|
Manish Goregaokar
|
c9342d0121
|
fmt clippy
|
2016-01-04 09:56:12 +05:30 |
|
llogiq
|
5bbc1427fd
|
added wiki comments + wiki-generating python script
|
2015-12-11 01:22:27 +01:00 |
|
Manish Goregaokar
|
f4da7d09d2
|
Upgrade Rust to rustc 1.5.0-nightly (cff041170 2015-09-17)
LintPass was split and ExprParen was removed from the HIR
Fixes #338
|
2015-09-19 08:23:04 +05:30 |
|
Georg Brandl
|
58fee220a9
|
fix indentation
|
2015-09-17 07:27:23 +02:00 |
|
Andre Bogus
|
54393f0ef5
|
More strict macro check
|
2015-09-06 10:53:55 +02:00 |
|
Manish Goregaokar
|
eca185438b
|
Update rust to 0efb9dab8c7c07fa28e9df0eccc5c07ea3c17fbb (HIR+lints, Thu Sep 3 18:59:56 2015 +0530)
fixes #294
|
2015-09-03 23:12:19 +05:30 |
|
Georg Brandl
|
92a3394065
|
all: remove unneeded deref and/or ref operations
|
2015-08-25 14:41:35 +02:00 |
|
Georg Brandl
|
d5c808acd0
|
collapsible_if: remove extraneous note output
This was probably a debug addition.
|
2015-08-25 13:27:21 +02:00 |
|
Georg Brandl
|
47b605304d
|
all: organize imports
* remove unused imports
* separate external and internal imports
* consistent import of rustc::lint
* move #[allow(unused_imports)] to local impl
|
2015-08-16 08:55:34 +02:00 |
|
Manish Goregaokar
|
83487c060f
|
Add trim_multiline utility (fixes #139)
|
2015-08-13 23:18:33 +05:30 |
|
Manish Goregaokar
|
09db7f3fee
|
fix
|
2015-08-13 21:45:42 +05:30 |
|
Georg Brandl
|
2c2716f045
|
all: DRY for lint descriptions
* use the rustc style for lint descriptions
* add a script to parse all lint descriptions
and put the generated table into README
|
2015-08-13 11:14:05 +02:00 |
|
Manish Goregaokar
|
ca3b4330f1
|
Use snippet, pprust methods expand AST
|
2015-08-12 15:19:57 +05:30 |
|
Georg Brandl
|
7b3299e009
|
collapsible_if: do not show Debug display of expression
Instead, pretty-print the inner block and use the same style as for
the "single match => if let" lint.
|
2015-08-12 11:00:08 +02:00 |
|
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 |
|
Manish Goregaokar
|
0e8e8cfc9b
|
Basic framework for structured logging
|
2015-07-27 00:39:09 +05:30 |
|
llogiq
|
30de91d3e9
|
moved in_macro to (new) utils.rs
|
2015-06-01 22:30:34 +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 |
|