|
|
|
@ -18,59 +18,6 @@
|
|
|
|
|
html_favicon_url = "https://raw.githubusercontent.com/boa-dev/boa/main/assets/logo.svg" |
|
|
|
|
)] |
|
|
|
|
#![cfg_attr(not(test), forbid(clippy::unwrap_used))] |
|
|
|
|
#![warn(
|
|
|
|
|
// rustc lint groups https://doc.rust-lang.org/rustc/lints/groups.html
|
|
|
|
|
warnings, |
|
|
|
|
future_incompatible, |
|
|
|
|
let_underscore, |
|
|
|
|
nonstandard_style, |
|
|
|
|
rust_2018_compatibility, |
|
|
|
|
rust_2018_idioms, |
|
|
|
|
rust_2021_compatibility, |
|
|
|
|
unused, |
|
|
|
|
|
|
|
|
|
// rustc allowed-by-default lints https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html
|
|
|
|
|
missing_docs, |
|
|
|
|
macro_use_extern_crate, |
|
|
|
|
meta_variable_misuse, |
|
|
|
|
missing_abi, |
|
|
|
|
missing_copy_implementations, |
|
|
|
|
missing_debug_implementations, |
|
|
|
|
non_ascii_idents, |
|
|
|
|
noop_method_call, |
|
|
|
|
single_use_lifetimes, |
|
|
|
|
trivial_casts, |
|
|
|
|
trivial_numeric_casts, |
|
|
|
|
unreachable_pub, |
|
|
|
|
unsafe_op_in_unsafe_fn, |
|
|
|
|
unused_crate_dependencies, |
|
|
|
|
unused_import_braces, |
|
|
|
|
unused_lifetimes, |
|
|
|
|
unused_qualifications, |
|
|
|
|
unused_tuple_struct_fields, |
|
|
|
|
variant_size_differences, |
|
|
|
|
|
|
|
|
|
// rustdoc lints https://doc.rust-lang.org/rustdoc/lints.html
|
|
|
|
|
rustdoc::broken_intra_doc_links, |
|
|
|
|
rustdoc::private_intra_doc_links, |
|
|
|
|
rustdoc::missing_crate_level_docs, |
|
|
|
|
rustdoc::private_doc_tests, |
|
|
|
|
rustdoc::invalid_codeblock_attributes, |
|
|
|
|
rustdoc::invalid_rust_codeblocks, |
|
|
|
|
rustdoc::bare_urls, |
|
|
|
|
|
|
|
|
|
// clippy allowed by default
|
|
|
|
|
clippy::dbg_macro, |
|
|
|
|
|
|
|
|
|
// clippy categories https://doc.rust-lang.org/clippy/
|
|
|
|
|
clippy::all, |
|
|
|
|
clippy::correctness, |
|
|
|
|
clippy::suspicious, |
|
|
|
|
clippy::style, |
|
|
|
|
clippy::complexity, |
|
|
|
|
clippy::perf, |
|
|
|
|
clippy::pedantic, |
|
|
|
|
)] |
|
|
|
|
#![allow(
|
|
|
|
|
clippy::module_name_repetitions, |
|
|
|
|
clippy::too_many_lines, |
|
|
|
|