mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-28 20:11:05 -05:00
chore: Move print lints to lib.rs
While there is a config for ignoring these in tests, it doesn't help with examples.
This commit is contained in:
parent
8d4b1b6c8d
commit
99e034bbbb
2 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,6 @@ needless_continue = "warn"
|
||||||
needless_for_each = "warn"
|
needless_for_each = "warn"
|
||||||
negative_feature_names = "warn"
|
negative_feature_names = "warn"
|
||||||
path_buf_push_overwrite = "warn"
|
path_buf_push_overwrite = "warn"
|
||||||
print_stderr = "warn"
|
|
||||||
print_stdout = "warn"
|
|
||||||
ptr_as_ptr = "warn"
|
ptr_as_ptr = "warn"
|
||||||
rc_mutex = "warn"
|
rc_mutex = "warn"
|
||||||
redundant_feature_names = "warn"
|
redundant_feature_names = "warn"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//! > DESCRIPTION
|
//! > DESCRIPTION
|
||||||
|
|
||||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||||
|
#![warn(clippy::print_stderr)]
|
||||||
|
#![warn(clippy::print_stdout)]
|
||||||
#![allow(non_snake_case)] // TODO: Delete me
|
#![allow(non_snake_case)] // TODO: Delete me
|
||||||
|
|
Loading…
Reference in a new issue