eslint 应该列在项目的依赖项中,而不是 devDependencies 中
要么我不明白vs。 在节点100%中,或者eslint在这里是错误的(无法正确分析):dependencies
devDependencies
3:1 error 'chai' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
4:1 error 'chai-enzyme' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
5:1 error 'enzyme' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
7:1 error 'sinon' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
9:1 error 'redux-mock-store' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
这些是测试依赖项,那么为什么说它们应该列在?dependencies
补充说明:我们使用Travis作为我们的CI,所以我不知道它是否对此有任何影响。