Fix exclude rules for linters

fix #344