diktat
diktat copied to clipboard
Configurable rule that prohibits usage of fully-qualified name
In SAVE we use react wrappers for Kotlin/JS. There, all the default HTML tags are fields of ReactHTML object.
When copy-paste, div tag becomes ReactHTML.div, which is unacceptable :)
We need to create some kind of configurable rule that prohibits usage of fully-qualified name (e.g. ReactHTML)
Add a new section for JS in Diktat CodeStyle.
Very important thing. Hate this problem.
Need not to forget to update Diktat CodeStyle also (add a chapter for JS).