Skip to content
  • Leo's avatar
    feat(missing-default-prepare): match from the start · f869c4ae
    Leo authored
    otherwise we might catch default_prepare as part of a call like:
    
    prepare() {
        echo default_prepare
    }
    
    obviously we don't want to match that, so match only default_prepare
    that has whitespace or tabs before it, like:
    
    prepare() {
        echo 1
        default_prepare
    }
    f869c4ae