Skip to content

Commit

Permalink
build: enable more satisfied lints (ratatui#974)
Browse files Browse the repository at this point in the history
These lints dont generate warnings and therefore dont need refactoring.
I think they are useful in the future.
  • Loading branch information
EdJoPaTo authored and joshka committed Mar 4, 2024
1 parent 3be189e commit c4ce7e8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,22 @@ must_use_candidate = "allow"
wildcard_imports = "allow"

# nursery or restricted
as_underscore = "warn"
deref_by_slicing = "warn"
else_if_without_else = "warn"
empty_line_after_doc_comments = "warn"
equatable_if_let = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
map_err_ignore = "warn"
missing_const_for_fn = "warn"
mixed_read_write_in_expression = "warn"
mod_module_files = "warn"
needless_raw_strings = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
use_self = "warn"

[features]
Expand Down

0 comments on commit c4ce7e8

Please sign in to comment.