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.
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.