Commit Graph

52 Commits

Author SHA1 Message Date
Matthias Krüger f5929e0797 rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
Wayne Warren 4450b3e47a Fix awkward wording 2018-11-21 07:16:03 -06:00
Wayne Warren 30b3bc8d80 Document how to lint local Clippy changes with locally built Clippy 2018-11-21 07:12:00 -06:00
Philipp Hansch 90f31e21ab
RIIR update lints: Add check mode (update_lints.py rewrite complete)
This finishes up the rewrite of `update_lints.py` in Rust. More
specifically, this

* adds the `--check` flag and handling to clippy_dev
* tracks file changes over the different calls to `replace_region_in_file`
* only writes changes to files if the `--check` flag is *not* used
* runs `./util/dev update_lints --check` on CI instead of the old script
* replaces usage of the `update_lints.py` script with an error

`./util/dev update_lints` behaves 99% the same as the python script.
The only difference that I'm aware of is an ordering change to
`clippy_lints/src/lib.rs` because underscores seem to be sorted
differently in Rust and in Python.

🏁
2018-11-05 07:18:47 +01:00
Daniele D'Orazio e1d7f00e43 fix command to manually test an example 2018-10-07 11:56:13 +02:00
Philipp Hansch f72cfc2985
Mention rustup component history 2018-09-20 07:10:23 +02:00
Philipp Hansch 2b57cec649
s/rustc/Rust/ 2018-09-20 06:58:07 +02:00
Philipp Hansch f9511bfdc3
s/rust/Rust, repeat 'Clippy' less 2018-09-20 06:56:51 +02:00
Philipp Hansch 9c50aa8810
Mention how to install master Rust in CONTRIBUTING 2018-09-19 21:15:08 +02:00
flip1995 83baf8f5fe Adapt documentation to the tool_lints 2018-08-29 11:08:29 -07:00
Oliver Schneider d99cea0f16 Update imports and rustup 2018-08-28 13:13:42 +02:00
Matthias Krüger be8863836e CONTRIBUTING: mention discord channel. 2018-07-30 00:10:19 +02:00
csmoe 1bd17e4fa2 ExprKind 2018-07-16 11:46:37 +02:00
Dale Wijnand d95d6516b4
Consistently call it "Clippy", not clippy or rust-clippy
As per discussion on the Clippy 1.0 RFC
2018-07-05 11:37:50 +01:00
Oliver Schneider e0df4ccfc5 Use the new scoped tool attributes 2018-05-19 14:04:57 +02:00
Manish Goregaokar 1af2f20da6
include contributing.md blurb from https://github.com/hashicorp/vault/blob/master/CONTRIBUTING.md 2018-05-14 12:11:56 -05:00
Oliver Schneider 18a5b90242
Merge pull request #2712 from rust-lang-nursery/oli-obk-patch-1
Deprecate plugin-clippy
2018-05-12 11:13:37 +02:00
Philipp Hansch fa0d9c5782
Explain how to debug and fix nightly build failures 2018-05-12 10:35:35 +02:00
Oliver Schneider fd8a1d20cc
Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
Philipp Hansch 6f47cb1102
Add TOC to contribution instructions
Also changed some headings and re-ordered the paragraphs in the testing
guide.

(I used [vim-markdown-toc](https://github.com/mzlogin/vim-markdown-toc) to
generate it automatically.)
2018-04-27 22:12:09 +02:00
Philipp Hansch 36233789d4
Mention util/update_lints.py 2018-04-24 21:04:43 +02:00
Philipp Hansch 5bfb306b4b
Explain how Clippy works 2018-04-21 11:53:15 +02:00
Philipp Hansch fe426b7c51
Add intro and mention IRC in CONTRIBUTING.md
This is partly taken from the [rustfmt CONTRIBUTING.md][contrib].

[contrib]: https://github.com/rust-lang-nursery/rustfmt/blob/master/Contributing.md
2018-04-17 08:33:22 +02:00
Manish Goregaokar 1c73db172a
fix other instance of internals docs 2018-04-03 22:47:27 -07:00
Manish Goregaokar c170e86403
new internals docs 2018-04-03 19:05:33 -07:00
Philipp Hansch b1b0b36cc0
Document the author lint 2018-04-02 14:55:00 +02:00
Philipp Hansch 872db029cf
Improve CONTRIBUTING.md
* Incremental compilation is on by default
* Restructured the label overview to go from easy to more difficult labels.
2018-04-01 15:31:25 +02:00
Philipp Hansch 0b4e0b82a9
Explain how to execute a single UI test 2018-02-13 22:33:42 +01:00
Georg Brandl 3d26c7bb7f CONTRIBUTING: clarify how to regenerate ui test output 2017-11-18 16:11:07 +01:00
Oliver Schneider 4d9ed8beef E-easy -> "good first issue" issue label 2017-10-17 15:32:50 +02:00
Niklas Fiekas ff25013384 Fix manual testing command in docs 2017-10-08 12:05:30 +02:00
Joonas Koivunen 58a94ea562 CONTRIBUTING: add manual testing section 2017-08-24 18:17:35 +03:00
Oliver Schneider 4470d7a8ca Merge branch 'master' into move_links 2017-08-14 10:07:26 +02:00
Oliver Schneider ce80b23e09 Update CONTRIBUTING.md 2017-08-07 17:33:27 +02:00
Andre Bogus f515d7bb67 Change all links to reflect the move to rust-lang-nursery 2017-08-06 23:10:55 +02:00
Oliver Schneider 70cc9509c1
Revert "Update contribution instructions to the new system"
This reverts commit 5ed2066dca.
2017-08-02 12:46:06 +02:00
Oliver Schneider 5ed2066dca Update contribution instructions to the new system 2017-05-23 13:19:16 +02:00
Oliver Schneider 713fa53fd2 Update CONTRIBUTING.md 2017-03-14 16:25:40 +01:00
Oliver Schneider 6dfd6f13ec make statement about *.stderr files clearer 2017-02-08 08:44:57 +01:00
Oliver Schneider fd1351f6e3 rustup and compile-fail -> ui test move 2017-02-07 21:05:30 +01:00
Georg Brandl 3b5ff0f813 Make the lint docstrings more consistent. 2016-08-07 08:06:19 +02:00
mcarton 81b9b2ca85
s/```/```rust when relevant
It looks better on the wiki/the new documentation page.
2016-07-29 20:37:25 +02:00
Manish Goregaokar ae24929cd6 Update contributing with new links 2016-03-28 02:00:35 +05:30
josephDunne aa819b7748 Update rust-clippy to rustc 1.9.0-nightly (d5a91e695 2016-03-26)
move cfg, infer, traits and ty from middle to top-level
move middle::subst into middle::ty
track the extern-crate def-id rather than path (rustc ab9b844)
2016-03-27 20:24:10 +01:00
Manish Goregaokar ea03c0d9e3 Merge pull request #514 from mcarton/remove-dup
Remove dup
2015-12-22 10:18:12 +05:30
mcarton 934ead14b5 Fix typo 2015-12-22 00:51:15 +01:00
mcarton 826827fe94 Fix some typos 2015-12-21 20:47:19 +01:00
llogiq dc9a08fc78 Add short section on lint docs 2015-12-14 22:23:33 +01:00
llogiq 6f8d47b411 add a few words on dogfood + update_lints 2015-08-14 11:30:39 +02:00
Manish Goregaokar 854212ce85 Update CONTRIBUTING.md 2015-08-12 03:32:20 +05:30