Eslint preact fails with an error related to jest
julienw opened this issue · 1 comments
julienw commented
When running eslint after initializing a project with wmr, I get this error when running eslint:
Error: Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
This makes sense because jest isn't installed. But this means that eslint support is broken after initialization. I'm not sure what the best path forward is here.
julienw commented
Actually I just disabled this rule by adding this to the config in package.json:
"rules": { "jest/no-deprecated-functions": 0 }