熟悉 eslint-loader 的同学一般如下配置: 设置一下几项: test : A condition that must be met(一般是处理对应文件的正则) exclude : A condition that must not be met(手动添加不需要处理的,一般比如 node_modules) loader : An array of paths or files where the imported files will be transformed by the loa…