27 Commits

Author SHA1 Message Date
Jonas Platte
e8bc589e52
Transition to type privacy lints 2023-11-09 09:50:04 +01:00
Jonas Platte
3dac70ead9
Remove most unreachable visibility modifiers 2023-07-19 14:32:14 +02:00
Kévin Commaille
ae83055119 chore: Allow clippy::arc_with_non_send_sync temporarily
Triggers false positives for types with generics.
2023-07-04 11:55:25 +02:00
Jonas Platte
f8b9a03272
Enable private_in_public lint 2023-06-14 12:19:59 +02:00
Jonas Platte
5912d8ebdd
Remove needless_borrow from list of explicitly enabled lints
… it is currently warn-by-default.
2023-01-02 11:33:20 +01:00
Jonas Platte
cd7022a0d7
Revert "Use target-applies-to-host to avoid unnecessary cache invalidation"
This reverts commit 3d65c1e957f21011ccbed709be449741998caad3.
This was breaking our clippy lint configuration in .cargo/config.toml:
https://github.com/rust-lang/cargo/issues/10744
2022-06-29 10:15:19 +02:00
Jonas Platte
20d00919f3
Enable rustdoc-map nightly feature via .cargo/config.toml
… instead of using -Z on the command line.
2022-06-13 14:09:13 +02:00
Jonas Platte
56cf3ce94c Allow buggy clippy lint on a per-crate basis
The previous method of allowing it through .cargo/config.toml doesn't
seem to work anymore.
2022-06-08 11:45:29 +02:00
Jonas Platte
3d65c1e957 Use target-applies-to-host to avoid unnecessary cache invalidation 2022-06-08 11:45:29 +02:00
Jonas Platte
73c2963ebd
Enforce consistent semicolons after ()-typed expressions in blocks 2022-06-03 08:40:16 +02:00
Jonas Platte
72fc21c342
Update workspace lint config 2022-05-23 18:54:40 +02:00
Jonas Platte
82a4bb2e2b
Temporarily silence explicit_outlives_requirements lint 2022-05-02 17:08:27 +02:00
Jonas Platte
269172dc4a ci: Disable the mod_module_files lint temporarily 2022-04-20 18:31:37 +02:00
Jonas Platte
c082969d16
Adjust to clippy lint rename 2021-12-10 13:10:58 +01:00
Jonas Platte
1aca228f51
Enable lints through rustflags instead of alias
Solution from
https://github.com/EmbarkStudios/rust-ecosystem/issues/22#issuecomment-947011395
2021-10-19 21:04:05 +02:00
Devin Ragotzy
aa2388fe86 Add the module style clippy lint 2021-09-16 09:51:08 -04:00
Jonas Platte
1907ce1e91
Disable buggy clippy lint 2021-08-16 22:55:27 +02:00
Devin Ragotzy
245fe4deea
Enable clippy exhaustive_enums lint workspace-wide 2021-08-10 15:22:46 +02:00
Devin Ragotzy
3101be1f99
Add macro-braces, disallowed-type and import-rename clippy lints 2021-07-22 14:34:30 +02:00
Jonas Platte
4dfaad104b
Enable clippy lint str_to_string 2021-07-02 23:02:50 +02:00
Jonas Platte
700cc8a36a
Sort lints lexicographically in .cargo/config.toml 2021-07-02 22:34:40 +02:00
Jonas Platte
7c6dfc52b6
Rename .cargo/{config => config.toml}
This filename has been support for a while now.
2021-07-02 22:27:43 +02:00
Devin Ragotzy
650d960b85 Enable linting for non-exhaustive structs 2021-06-18 22:44:00 +02:00
Jonas Platte
325c0adf69
Remove --quiet flags
They were useful on builds.sr.ht but for local running of CI commands
it's nice to have some progress indication.
2021-05-06 14:31:51 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00
Louis de Wardt
ea33128014
Use Github Actions to automatically deploy documentation 2021-04-05 16:03:11 +02:00
Kévin Commaille
eb7683bae9
Add xtask to automate crate releases 2021-04-03 16:59:28 +02:00