Or I do not understand dependencies vs. devDependencies in node is 100%, or eslint is simply wrong here (unable to parse this correctly):
3:1 error 'chai' should be listed in the project dependencies, not devDependencies import/no-extraneous-dependencies 4:1 error 'chai-enzyme' should be listed in the project dependencies, not devDependencies import/no-extraneous-dependencies 5:1 error 'enzyme' should be listed in the project dependencies, not devDependencies import/no-extraneous-dependencies 7:1 error 'sinon' should be listed in the project dependencies, not devDependencies import/no-extraneous-dependencies 9:1 error 'redux-mock-store' should be listed in the project dependencies, not devDependencies import/no-extraneous-dependencies
These are test dependencies, so why do they say they should be listed in dependencies ?
Additional note: we use Travis as our CI, so I donβt know if this really matters.
source share