Commit graph

79 commits

Author SHA1 Message Date
flip1995
757bbf7feb
Fix markdown Files
Rendered:

[CHANGELOG.md](https://github.com/flip1995/rust-clippy/blob/gha/CHANGELOG.md)
[CODE_OF_CONDUCT.md](https://github.com/flip1995/rust-clippy/blob/gha/CODE_OF_CONDUCT.md)
[CONTRIBUTING.md](https://github.com/flip1995/rust-clippy/blob/gha/CONTRIBUTING.md)
[README.md](https://github.com/flip1995/rust-clippy/blob/gha/README.md)
[clippy_dummy/PUBLISH.md](https://github.com/flip1995/rust-clippy/blob/gha/clippy_dummy/PUBLISH.md)
[doc/adding_lints.md](https://github.com/flip1995/rust-clippy/blob/gha/doc/adding_lints.md)
[etc/relicense/RELICENSE_DOCUMENTATION.md](https://github.com/flip1995/rust-clippy/blob/gha/etc/relicense/RELICENSE_DOCUMENTATION.md)
2020-02-12 09:34:25 +01:00
Krishna Sai Veera Reddy
1e117938cf Remove unnecessary imports from documentation 2020-02-10 19:37:25 -08:00
Philipp Hansch
4d1a11d354
Deprecate util/dev in favor of cargo alias
If you've been using `./util/dev` before, this now becomes `cargo dev`.

The key part of this change is found in `.cargo/config`.

This means one less shell script and a bit more cross-platform support
for contributors.
2020-01-30 21:34:31 +01:00
flip1995
8d38a07fb6
Revert "rustc-dev has been temporarily removed"
This reverts commit 974a05b806.
2019-10-24 14:03:24 +02:00
Lzu Tao
974a05b806 rustc-dev has been temporarily removed 2019-10-14 10:25:05 +07:00
Lzu Tao
dce46325b5 Rustup for rustc-dev 2019-10-11 15:53:55 +07:00
Yuki Okushi
2c58936a27 Add note to fix toolstate 2019-08-29 01:07:46 +09:00
Simon Sapin
08d8ffc6a9 Import rustc_plugin from its new location
Depends on https://github.com/rust-lang/rust/pull/62727
2019-08-19 17:52:10 +02:00
chansuke
4a70ad43e1 Fix the name of a channel of discord in CONTRIBUTING.md 2019-08-19 18:31:25 +09:00
Philipp Hansch
1eac53b06b
Cleanup 'Writing code' in CONTRIBUTING.md
This is now all included in `doc/adding_lints.md`
2019-03-03 15:03:25 +01:00
Philipp Hansch
f934f98111
Add a uitest subcommand to simplify UI test invocation
This allows to run

`TESTNAME=xxx cargo uitest`

instead of

`TESTNAME=xxx cargo test --test-compile-test`
2019-02-08 08:09:37 +01:00
Jeremy Fitzhardinge
47563a13eb Add setup-toolchain.sh script to configure the master version of rustc,
and update CONTRIBUTING.md accordingly.
2019-02-03 14:41:46 -08:00
rmcteggart-r7
d17c3d99d0 Fixing typo in CONTRIBUTING.md 2019-01-20 21:25:36 +00:00
Philipp Hansch
3f978afe8d
Update CONTRIBUTING.md for rustfix tests 2018-12-28 20:53:44 +01:00
flip1995
b5e545afc2
Mention S-inactive-closed PRs in the CONTRIBUTING.md 2018-12-27 17:34:17 +01:00
Philipp Hansch
ff634e2350
Change contrib.md hierarchy, link to it from readme
'How Clippy works' and 'How to fix nightly failures' are not exactly part
of 'Writing code'.
2018-12-21 08:11:06 +01:00
Maxence Frenette
804729cdaa Remove dead link in CONTRIBUTING.md 2018-12-11 05:10:41 -05:00
Philipp Hansch
740634a154
Document bors/homu 2018-12-10 08:06:07 +01:00
Philipp Hansch
2213904024
Small updates to CONTRIBUTING.md 2018-12-10 08:06:07 +01:00
Wayne Warren
1db535a887 Remove unnecessary documentation 2018-12-05 18:18:17 -06:00
Philipp Hansch
b06594e650
Merge pull request #3483 from phansch/mention_triage_procedure_in_contributing
Mention triage procedure in contributing.md
2018-12-02 12:35:14 +01:00
Philipp Hansch
451085ca8d
Fix some nursery links 2018-12-02 11:45:05 +01:00
Philipp Hansch
40d58f9195
Mention triage procedure in contributing.md 2018-12-02 09:35:47 +01:00
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer
f5831523d3
Merge pull request #3465 from flip1995/rustfmt
rustfmt everything once and for all
2018-11-28 16:19:55 +01:00
Philipp Krones
33c1e3c08c
Add missing word
Co-Authored-By: phansch <dev@phansch.net>
2018-11-28 14:39:25 +01:00
Philipp Hansch
93e8c9efc9
Update docs in regards to the merged RFC 2018-11-28 08:11:28 +01:00
flip1995
14d1e8d174
Document how to run rustfmt in CONTRIBUTING.md 2018-11-27 22:38:15 +01:00
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