Kampfkarren / selene

A blazing-fast modern Lua linter written in Rust

Home Page:https://kampfkarren.github.io/selene/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way to allow specific deprecations

Kampfkarren opened this issue · comments

I do not want people disabling all of deprecated if they disagree with a specific part of it. There should be a way to allow specific deprecations in your selene.toml. Structs would prove tricky, and I don't know if I want to have struct definitions be a part of any stable contract by having them be referenced directly, but globals should be trivial.

Related to #433.

For structs I don't think we need anything more than having * match wildcards. Like Enum.*:Something()