Minor optimization of warning rules patterns search.
Instead of looking up all the matching rules and taking the last one, maintain the rules array in reverse order and use #find to grab the first matching rule.
Loading
Please register or sign in to comment