IBDecodable / IBLinter

A linter tool for Interface Builder
MIT License
948 stars 42 forks source link

Add rule `duplicate_id`, which detect xml element duplicate id #126

Closed phimage closed 5 years ago

phimage commented 5 years ago

Browse the element tree and index on id to find duplicates

Could occurs after fixing git conflict ie. you keep tow times the same line, or maybe if you do some manual edit of storyboard

I do not display duplicates elements like DuplicateConstraintsRules, only the id I compute the list by id but description of element could be not very readable

phimage commented 5 years ago

I have made the requested change, but github CI do not launch workflow actions on new commits I made one branch in my fork to launch the test https://github.com/phimage/IBLinter/runs/311332176 and it work So I will merge