mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore: enable some rust lints
This commit is contained in:
parent
b15bf2826b
commit
56c71e2b1e
1 changed files with 5 additions and 1 deletions
|
|
@ -14,8 +14,12 @@ license = "MIT"
|
|||
repository = "https://github.com/oxc-project/oxc"
|
||||
rust-version = "1.74"
|
||||
|
||||
# <https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html>
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "warn"
|
||||
unsafe_code = "warn"
|
||||
absolute_paths_not_starting_with_crate = "warn"
|
||||
non_ascii_idents = "warn"
|
||||
unit-bindings = "warn"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
all = { level = "warn" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue