build: configure clippy lints at the workspace level
(cherry picked from commit 9c08edb066)
This commit is contained in:
parent
6c4c522724
commit
bb8eb83f50
11 changed files with 98 additions and 16 deletions
|
|
@ -12,6 +12,9 @@ license.workspace = true
|
|||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "tree-sitter"
|
||||
path = "src/main.rs"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ license.workspace = true
|
|||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
dirs.workspace = true
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ license.workspace = true
|
|||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
heck.workspace = true
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ license.workspace = true
|
|||
keywords.workspace = true
|
||||
categories.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[features]
|
||||
wasm = ["tree-sitter/wasm"]
|
||||
# TODO: For backward compatibility these must be enabled by default,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@ edition.workspace = true
|
|||
rust-version.workspace = true
|
||||
publish = false
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue