OnlineShop icon indicating copy to clipboard operation
OnlineShop copied to clipboard

Client Side ReactApp issues

Open lllakshay opened this issue 3 years ago • 0 comments

Could not find a required file. Name: index.js Compiled with warnings.

src\components\app\app.js Line 4:24: 'Link' is defined but never used no-unused-vars Line 4:37: 'Switch' is defined but never used no-unused-vars

src\components\home\cards\cards.js Line 13:33: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text Line 21:33: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text

src\components\home\slider-cards\slider-cards.js Line 31:42: Array.prototype.map() expects a value to be returned at the end of arrow function array-callback-return Line 36:41: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text

src\components\parts\footer\footer.js Line 22:33: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid Line 23:33: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

src\components\parts\navbar\navbar.js Line 9:21: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images

                                                        jsx-a11y/alt-text

Line 52:62: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid

src\components\product\product.js Line 31:33: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text

Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before.

lllakshay avatar Mar 27 '21 19:03 lllakshay