implement lint on save