比如eslint的增加检测文件类型的参数 Command Line Interface Reference - ESLint - Pluggable JavaScript Linter
看了下官网没找到,另外我能说官网的文档真有用吗。。。
有用