Open BrickerZou opened 2 years ago
@7889zcm try to update setupTests.ts
with this import statement: import @types/jest
Thanks, but I'm not sure. What exactly do in setupTest.ts?Just import @types/jest ?
Thanks, but I'm not sure. What exactly do in setupTest.ts?Just import @types/jest ?
U are right, I'm in middle of setting up monorepo w/ lerna and things are not going well., so I was figuring things out Actually u don't need that import, but, u need to set skip eslint flag: DISABLE_ESLINT_PLUGIN=true
in your start script.
Do this, in case u have custom .eslintrc file. Also I've remove CRA eslint config inside package.json.
oh yes thanks
delete eslint config .eslintrc.{js,yml,json}
file in your project, CRA provides eslint configuration and your custom config in conflict with the base one. If you want to override the base CRA esling config refer to this section of docs https://create-react-app.dev/docs/setting-up-your-editor/#extending-or-replacing-the-default-eslint-config
data not shown in list