diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 0000000000000..7d99e6bdaa508 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1 @@ +ignore-interior-mutability = ["oxc_linter::rule::RuleWithSeverity"] diff --git a/Cargo.toml b/Cargo.toml index cb08355e0e132..a4ce5e9d6b559 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,7 @@ rust-version = "1.74" absolute_paths_not_starting_with_crate = "warn" non_ascii_idents = "warn" unit-bindings = "warn" +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)', 'cfg(coverage_nightly)'] } [workspace.lints.clippy] all = { level = "warn", priority = -1 } @@ -69,7 +70,8 @@ missing_const_for_fn = "allow" # cargo cargo = { level = "warn", priority = -1 } multiple_crate_versions = "allow" -cargo_common_metadata = "allow" # TODO: fix this +cargo_common_metadata = "allow" # FIXME +doc_lazy_continuation = "allow" # FIXME [workspace.dependencies] # publish = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7ae2b72ddbfed..dfd5bfe0d5056 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.79.0" +channel = "1.80.0" profile = "default"