ReactJS linting (eslint) and transpiling (babel) error on shared code using monorepo (Lerna + Yarn Workspaces)
问题 I´m building a monorepo using yarn workspaces, lerna and 2 different projects: ux - a React component library built using create-react-app auth - a React application that uses ux library built using create-react-app and then ejected (the ejection was done to try to solve the current linting and transpiling error). My monorepo setup is: project |-------- node_modules |-------- lerna.json |-------- package.json |-------- packages |----------- auth |------- node_modules |------- src |-------