about summary refs log tree commit diff
path: root/clippy_lints/src/utils/conf.rs
AgeCommit message (Collapse)AuthorLines
2020-01-25add size parameter for lintMikhail Babenko-0/+2
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+2
Specifically caused by https://github.com/rust-lang/rust/pull/67786
2019-12-24do minor cleanupsLzu Tao-2/+0
* ToString and AsRef are in prelude, no need to import them
2019-11-13Add new lint: large stack arrayAreredify-0/+2
added documentation minor style fix change as to ::from add ignore to doc include threshold in lint message/make suggestion more apparent/use Scalar api instead of matching style fix shange snippet_opt to snippet
2019-10-14new lints around `#[must_use]` fnsAndre Bogus-0/+2
`must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation.
2019-09-27Rustup to rust-lang/rust#64813flip1995-2/+2
2019-07-31Update all the code to pass the updated `use_self` lint.Jakub Wieczorek-3/+3
One struct required a temporary `#[allow(dead_code)]` annotation due to a bug in the Rust compiler: https://github.com/rust-lang/rust/issues/63151.
2019-05-17Prevent symbocalypseOliver Scherer-2/+1
2019-05-14Rustfmt all the thingsOliver Scherer-1/+1
2019-05-14Use symbols instead of stringsOliver Scherer-1/+2
2019-05-09use `derive` feature over `serde_derive` crateAndy Russell-1/+1
2019-03-18Cargo fmtMateusz Mikuła-3/+1
2019-03-18name -> check_nameMateusz Mikuła-1/+1
2019-03-18NestedMetaItemKind -> NestedMetaItemMateusz Mikuła-2/+2
2019-03-10Various cosmetic improvements.Alexander Regueiro-1/+1
2019-03-06Renamed: Cyclomatic Complexity -> Cognitive ComplexityFélix Fischer-6/+19
* Ran automatic naming update * Formalized rename of `cyclomatic_complexity` to `cognitive_complexity` ** Added the rename to `lib.rs` ** Added rename test * Added warning for deprecated key `cyclomatic_complexity_threshold` and tests for it * Added deprecation status for Clippy's builtin attribute * Updated tests for new builtin attribute renaming
2019-02-10removing redundant closures in the whole projectGrzegorz-1/+1
2019-02-02Let CLIPPY_CONF_DIR be used to start search for config, and fall back toJeremy Fitzhardinge-2/+7
CARGO_MANIFEST_DIR if it isn't set. If CARGO_MANIFEST_DIR isn't set, fall back "." rather than panicing. Issue #3663
2019-02-01Adding back tests, but also reducing threshold by 1Unknown-1/+1
2019-02-01Adding lint for too many lines.Araam Borhanian-0/+2
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-29Remove crate:: prefixes from crate pathsKonrad Borowski-1/+1
This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix.
2018-12-11Add 'CamelCase' to doc_valid_identsPhilipp Hansch-0/+1
2018-12-07typo: emum → enumPhilipp A-1/+1
2018-11-27Run rustfmt on clippy_lintsflip1995-24/+16
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2018-09-26fix all clippy::use_self pedantic warnings found in the codebase.Matthias Krüger-1/+1
cc #3172
2018-09-15Reintroduce `extern crate` for non-Cargo dependencies.Eduard-Mihai Burtescu-1/+1
2018-09-04Make `Default` do what `default` used to doNick Cameron-2/+9
2018-09-03Make `Conf::default` availableNick Cameron-1/+1
Fixes RLS
2018-09-01Merge pull request #2977 from flip1995/tool_lintsManish Goregaokar-1/+1
Implement tool_lints
2018-08-29Adapt codebase to the tool_lintsflip1995-1/+1
2018-08-28Make clippy_lints::{utils,consts} modules private, remove unused items.Corey Farwell-15/+0
2018-08-19codemap -> source_mapManish Goregaokar-3/+3
https://github.com/rust-lang/rust/pull/52953
2018-08-06Remove #[allow(rust_2018_idioms)] workaroundDale Wijnand-9/+0
2018-07-23RustupOliver Schneider-1/+1
2018-07-19Remove import of lazy_staticManish Goregaokar-0/+2
2018-07-19Remove import of serdeManish Goregaokar-3/+2
2018-06-25Enable rust_2018_idioms warningMateusz Mikuła-1/+10
2018-06-15Allow configuring the trivial copy size limitWim Looman-0/+2
2018-05-30Merge pull request #2821 from mati865/rust-2018-migrationOliver Schneider-2/+2
Rust 2018 migration
2018-05-30Run rustfixMateusz Mikuła-2/+2
2018-05-29Remove unused define_conf-macro definitionsflip1995-23/+0
2018-05-03Fixed build for latest nightly (again)Alexander Regueiro-1/+1
2018-04-07Fix compilation for nightly 2018-04-06Michael Wright-1/+1
Breakages for introduced by rust pull request 'AST: Give spans to all identifies' - rust-lang/rust/pull#49154 Closes #2639
2018-03-27Version bumpOliver Schneider-1/+1
2018-02-06Make decimal_literal_representation a restriction lintflip1995-1/+1
2018-01-23Apply requested changesflip1995-1/+1
2018-01-23Add configurable threshold, default: 4096flip1995-0/+2
2018-01-02Add "NaNs" and "GitLab" to `doc-valid-idents`Trevor Spiteri-2/+2