This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
Pancake generated React components can not be used natively in Create React App #896
Open
Description
Bug Report
- I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
- I’ve read and agree to the Code of Conduct.
- I’ve searched for any related issues and avoided creating a duplicate issue.
What happened
Create React App is the easiest way to bootstrap a new React project with sensible defaults. ESLint automatically runs in this configuration with rules defined in the ESLint config react app repository.
Now if i wanted to use the pancake generated Design System components inside my create-react-app bootstrapped project, the pancake generated React code will need to be ESlint compliant.
What I expected to happen
I expect the pancake generated React components to work natively in my create react app bootstrapped project
Reproducing
Steps to reproduce:
- Create a new create-react-app project. Instructions here
- Run
npm install
for all the Design system components - Configure the pancake react to generated the components in my src/ directory so that i can reference them in my create-react-app project
- Import all the pancake react components in my index.js file
- Run
npm start
in my create react app project - Observe that eslint errors prevent the project from starting.