mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-27 01:20:28 +00:00
Use [lints] in Cargo.toml and apply more lints
This commit is contained in:
@@ -3,3 +3,11 @@
|
||||
|
||||
avoid-breaking-exported-api = false
|
||||
disallowed-names = []
|
||||
disallowed-macros = [
|
||||
{ path = "std::dbg", reason = "it is okay to use during development, but please do not include it in main branch" },
|
||||
]
|
||||
disallowed-methods = [
|
||||
{ path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
|
||||
{ path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see <https://github.com/rust-lang/rust/issues/27970> for more" },
|
||||
]
|
||||
disallowed-types = []
|
||||
|
||||
Reference in New Issue
Block a user