CodeYourFuture / Module-React

3 stars 30 forks source link

NW6 | Pedro Eugenio | Eslint and Prop-types section #40

Closed PERicci closed 8 months ago

PERicci commented 9 months ago

Changelist

Added "Eslint and Prop-types" section to the README.md to address issues where Eslint shows red marks below variables due to the demand for prop-types in React projects.

The added section provides clear instructions for resolving this issue by modifying the .eslintrc.cjs file in the project's root folder. It instructs users to disable the 'react/prop-types' rule, thus eliminating the red marks.