Matthias Krüger
|
2a31937cc9
|
fix all clippy::use_self pedantic warnings found in the codebase.
cc #3172
|
2018-09-26 22:24:18 +02:00 |
|
Eduard-Mihai Burtescu
|
9219fc6c5c
|
Reintroduce extern crate for non-Cargo dependencies.
|
2018-09-15 11:10:51 +03:00 |
|
Nick Cameron
|
4050a68989
|
Make Default do what default used to do
|
2018-09-04 09:13:48 +12:00 |
|
Nick Cameron
|
d6f01f3a6c
|
Make Conf::default available
Fixes RLS
|
2018-09-03 13:57:50 +12:00 |
|
Manish Goregaokar
|
c81d70e6bd
|
Merge pull request #2977 from flip1995/tool_lints
Implement tool_lints
|
2018-09-01 11:22:23 +05:30 |
|
flip1995
|
f3bb161f0e
|
Adapt codebase to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
Corey Farwell
|
05f637cf88
|
Make clippy_lints::{utils,consts} modules private, remove unused items.
|
2018-08-28 21:32:20 -05:00 |
|
Manish Goregaokar
|
76321d3300
|
codemap -> source_map
https://github.com/rust-lang/rust/pull/52953
|
2018-08-19 19:06:54 -07:00 |
|
Dale Wijnand
|
1a310bfdf7
|
Remove #[allow(rust_2018_idioms)] workaround
|
2018-08-06 17:51:04 +01:00 |
|
Oliver Schneider
|
afd91248ed
|
Rustup
|
2018-07-23 13:01:12 +02:00 |
|
Manish Goregaokar
|
00ba67a12b
|
Remove import of lazy_static
|
2018-07-19 00:11:15 -07:00 |
|
Manish Goregaokar
|
c1745cde82
|
Remove import of serde
|
2018-07-19 00:02:08 -07:00 |
|
Mateusz Mikuła
|
a6601f2d02
|
Enable rust_2018_idioms warning
|
2018-06-25 20:56:25 +02:00 |
|
Wim Looman
|
700ece5648
|
Allow configuring the trivial copy size limit
|
2018-06-15 16:53:34 +02:00 |
|
Oliver Schneider
|
bb2f6a5011
|
Merge pull request #2821 from mati865/rust-2018-migration
Rust 2018 migration
|
2018-05-30 15:55:11 +02:00 |
|
Mateusz Mikuła
|
424a33720d
|
Run rustfix
|
2018-05-30 10:15:50 +02:00 |
|
flip1995
|
3a41e0172c
|
Remove unused define_conf-macro definitions
|
2018-05-29 14:51:16 +02:00 |
|
Alexander Regueiro
|
00b549ad40
|
Fixed build for latest nightly (again)
|
2018-05-03 23:28:48 +01:00 |
|
Michael Wright
|
fe8068c41b
|
Fix compilation for nightly 2018-04-06
Breakages for introduced by rust pull request
'AST: Give spans to all identifies' - rust-lang/rust/pull#49154
Closes #2639
|
2018-04-07 07:32:30 +02:00 |
|
Oliver Schneider
|
96d5af36f8
|
Version bump
|
2018-03-27 12:14:46 +02:00 |
|
flip1995
|
63a7daf78c
|
Make decimal_literal_representation a restriction lint
|
2018-02-06 13:05:20 +01:00 |
|
flip1995
|
600147926b
|
Apply requested changes
|
2018-01-23 15:29:31 +01:00 |
|
flip1995
|
23f90afa1b
|
Add configurable threshold, default: 4096
|
2018-01-23 12:34:40 +01:00 |
|
Trevor Spiteri
|
a5d0569a20
|
Add "NaNs" and "GitLab" to doc-valid-idents
|
2018-01-02 13:51:35 +01:00 |
|
Johannes Hofmann
|
3efa07f959
|
Ignore identifier 'OpenStreetMap' for DOC_MARKDOWN lint
|
2017-11-18 19:13:07 +01:00 |
|
Paul Florence
|
406931381b
|
Fixed some code in clippy to pass the new, removed formatting changes.
|
2017-10-20 10:17:41 -04:00 |
|
Oliver Schneider
|
bc76f397c6
|
Merge pull request #2084 from ykrivopalov/bit_mask_verbosity_threshold
Configuration option for VERBOSE_BIT_MASK threshold
|
2017-09-29 08:49:27 +02:00 |
|
Yury Krivopalov
|
5c56c924fc
|
Clarify verbose_bit_mask_threshold description
|
2017-09-27 10:31:39 +03:00 |
|
Yury Krivopalov
|
a3ad409341
|
Configuration option for VERBOSE_BIT_MASK threshold
By default is 1. u64, because I didn't figure out how to deserialize
u128 option from config.
|
2017-09-25 23:38:49 +03:00 |
|
Andre Bogus
|
1e0268fda8
|
avoid linting ptr_arg if .capacity() is called. Also suggest removing .as_str() where applicable.
THis fixes #2070.
Also fixes a few formatting mishaps
|
2017-09-20 23:59:23 +02:00 |
|
Martin Carton
|
0b64222a68
|
Fix case in doc_valid_idents
BibTeX and BibLaTeX use the usual capitalization of TeX tools:
- https://www.ctan.org/pkg/bibtex
- https://www.ctan.org/pkg/biblatex
|
2017-09-18 22:40:00 +02:00 |
|
Luca Bruno
|
62ae6d2251
|
lints/doc_markdown: add two more entries
|
2017-09-18 14:44:28 +00:00 |
|
Oliver Schneider
|
e4524ac4de
|
Run nightly rustfmt
|
2017-09-05 12:39:27 +02:00 |
|
Oliver Schneider
|
b25b6b3355
|
Rustfmt
|
2017-08-14 09:43:26 +02:00 |
|
Oliver Schneider
|
dfc7d2afd4
|
Run rustfmt
|
2017-05-12 12:09:52 +02:00 |
|
Oliver Schneider
|
d2dab198fa
|
Forgot doc comments
|
2017-05-09 16:02:48 +02:00 |
|
Oliver Schneider
|
31b2bf4ab9
|
Update our config reading to serde 1.0
|
2017-05-09 15:23:38 +02:00 |
|
Niklas Fiekas
|
956043e319
|
Add KiB to doc-valid-idents
|
2017-05-06 21:31:54 +02:00 |
|
Trevor Spiteri
|
45bbff66cd
|
Add "MinGW" to doc-valid-idents
|
2017-04-25 11:38:37 +02:00 |
|
Sander Maijers
|
5ab8e7d95a
|
Add ECMAScript to default doc-valid-idents
FYI, https://en.wikipedia.org/wiki/ECMAScript .
|
2017-03-03 12:28:15 +01:00 |
|
Nathan Musoke
|
f2603ba2b2
|
doc-markdown: Allow LaTeX-related words
Add "TeX", "LaTeX", "BibTeX" and "BibLaTeX" to the default list of allowed
words.
|
2017-02-08 09:14:18 +13:00 |
|
Oliver Schneider
|
82dd50d0e2
|
large_enum_variants lint suggests to box variants above a configurable limit
|
2017-01-30 13:17:56 +01:00 |
|
Oliver Schneider
|
009c6d95d7
|
manually fix the overlong lines
|
2016-12-21 12:30:41 +01:00 |
|
Oliver Schneider
|
ed9d71f2c9
|
remove nondeterminism by adjusting thresholds
|
2016-12-21 10:25:14 +01:00 |
|
Oliver Schneider
|
4a4e1ea2c5
|
also run rustfmt on clippy-lints
|
2016-12-20 18:21:30 +01:00 |
|
mcarton
|
c35f82b823
|
Rustup to *rustc 1.15.0-nightly (7b3eeea22 2016-11-21)*
|
2016-11-23 21:31:55 +01:00 |
|
Sébastien Santoro
|
0e6807e86b
|
Recognize quux as a metasyntactic variable
quux is another metasyntactic variable like foo and so
should be detected by the blacklisted names linter.
|
2016-11-11 05:57:29 +01:00 |
|
mcarton
|
d52af53e04
|
Search for clippy.toml recursively
|
2016-10-25 19:41:24 +02:00 |
|
Patrick Horlebein
|
4fbd8906e1
|
doc_markdown: Added "iOS" and "macOS" to the doc-valid-idents list
|
2016-10-12 15:32:44 +02:00 |
|
mcarton
|
3f43996aa5
|
Rustup to *1.13.0-nightly (eac41469d 2016-08-30)*
|
2016-08-31 18:22:35 +02:00 |
|
mcarton
|
9a2aadf872
|
Deny missing_docs_in_private_items in some modules
|
2016-08-23 19:39:36 +02:00 |
|
mcarton
|
a34beedfe5
|
Add "DirectX" and "OpenGL" to doc_valid_idents
|
2016-08-17 15:46:33 +02:00 |
|
Georg Brandl
|
fa0df69a97
|
Add a configurable threshold for enum variants before name lints trigger (fixes #1138)
|
2016-08-06 20:59:27 +02:00 |
|
Andre Bogus
|
75b85a55ec
|
added OAuth and TrueType to doc whitelist
|
2016-08-03 22:49:54 +02:00 |
|
Oliver Schneider
|
81c5757f44
|
lint on by ref patterns for references
|
2016-08-01 16:59:14 +02:00 |
|
mcarton
|
a01d7c93e7
|
Add IPv4 and IPv6 to the valid doc idents list
|
2016-07-31 01:07:28 +02:00 |
|
Manish Goregaokar
|
c1421c6e82
|
Don't warn when boxing large arrays
|
2016-07-12 18:49:34 +05:30 |
|
David Tolnay
|
33c767c510
|
Add "JavaScript" to doc-valid-idents
|
2016-07-06 21:27:29 -07:00 |
|
Oliver Schneider
|
a976401171
|
round 2
|
2016-06-16 12:20:05 +02:00 |
|
Oliver Schneider
|
4701f13551
|
round 1
|
2016-06-16 12:20:05 +02:00 |
|
Andre Bogus
|
8756ae5082
|
added GPLv{2,3} to doc-valid-idents
|
2016-06-10 00:06:50 +02:00 |
|
mcarton
|
c5affa2efc
|
Whitelist Nan in DOC_MARKDOWN
|
2016-06-09 23:33:28 +02:00 |
|
Oliver Schneider
|
bf227f4729
|
split clippy into lints, plugin and cargo-clippy
|
2016-05-27 13:03:58 +02:00 |
|