Code Monkey home page Code Monkey logo

debt-collector's People

Contributors

gael-boyenval avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

debt-collector's Issues

toto

Debt collector report

โœ… Debt score for modified files decreased by -215 1

You did great ! ๐ŸŽ‰

Previous debt Current debt trend
358 143 -215

Modified files โ€ข see scores before and after

๐Ÿ’ค Files with same debt :

File Prev Current Trend
packages/app-cdc-catalog/src/c....nalizationSection.module.scss 3 3 =
packages/app-cdc-catalog/src/c....Product/Product.container.tsx 2 2 =
packages/app-cdc-catalog/src/c....asses/VirtualTryOnGlasses.tsx 1 1 =
packages/app-cdc-catalog/src/pages/_app.tsx 2 2 =
packages/app-cdc-catalog/src/redux/content/helpers.ts 22 22 =
packages/app-cdc-catalog/src/v....AccountPanel/AccountPanel.tsx 1 1 =
packages/app-cdc-catalog/src/v....getHeaderAccountPanelItems.ts 3 3 =
packages/app-cdc-catalog/src/v....Actions/Actions.container.tsx 23 23 =
packages/app-cdc-checkout/src/....ricSection/GenericOptions.tsx 3 3 =
packages/app-pcd-catalog/src/v....st/WishlistItem.container.tsx 1 1 =
packages/app-pcd-catalog/src/v....y/TopContentBeautyDesktop.tsx 7 7 =
packages/app-pcd-catalog/src/v....ty/TopContentBeautyMobile.tsx 7 7 =
packages/app-pcd-checkout/src/....rderPageDetails.container.tsx 2 2 =
packages/app-pcd-checkout/src/....CybersourcePayPal.module.scss 5 5 =
packages/lib-pcd-cart/src/comp....tButtons/CheckoutButtons.scss 2 2 =
packages/lib-pcd-cart/src/comp....GooglePayButtonWithParams.tsx 1 1 =
packages/lib-pcd-cart/src/comp....ms/PaypalButtonWithParams.tsx 1 1 =
packages/lib-pcd-cart/src/comp....ypalPopin/PostPaypalPopin.tsx 1 1 =
packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts 6 6 =
packages/lib-pcd-cart/src/stories/decorators.tsx 1 1 =

โœ… Files with less debt :

File Prev Current Trend
packages/app-cdc-catalog/src/c....roductLightCard.container.tsx 3 0 โ–ผ -3
packages/app-cdc-catalog/src/c..../ProductLightCard.module.scss 8 0 โ–ผ -8
packages/app-cdc-catalog/src/c....eWishlistLegacy.container.tsx 7 0 โ–ผ -7
packages/app-cdc-catalog/src/c....gleWishlistLegacy.module.scss 2 0 โ–ผ -2
packages/app-cdc-catalog/src/m....msContentWithStockPriceApi.ts 19 18 โ–ผ -1
packages/app-cdc-catalog/src/redux/epics.ts 1 0 โ–ผ -1
packages/app-cdc-catalog/src/redux/selectors.ts 5 4 โ–ผ -1
packages/app-cdc-catalog/src/redux/stocks/mw.ts 1 0 โ–ผ -1
packages/app-cdc-catalog/src/redux/stocks/reducer.ts 2 0 โ–ผ -2
packages/app-cdc-catalog/src/redux/wishlist/helpers.ts 12 0 โ–ผ -12
packages/app-cdc-catalog/src/redux/wishlist/mw.ts 8 0 โ–ผ -8
packages/app-cdc-catalog/src/redux/wishlist/reducer.ts 22 0 โ–ผ -22
packages/app-cdc-catalog/src/redux/wishlist/selectors.ts 16 0 โ–ผ -16
packages/app-cdc-catalog/src/v....derAccountPanel.container.tsx 2 0 โ–ผ -2
packages/app-cdc-catalog/src/v....t/EmptyWishlist.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....st/WishlistItem.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....list/WishlistItem.module.scss 16 0 โ–ผ -16
packages/app-cdc-catalog/src/v....nel/Wishlist/WishlistItem.tsx 4 0 โ–ผ -4
packages/app-cdc-catalog/src/v....hlistItemBeauty.container.tsx 8 0 โ–ผ -8
packages/app-cdc-catalog/src/v....listItemCouture.container.tsx 8 0 โ–ผ -8
packages/app-cdc-catalog/src/v....ist/WishlistItems.module.scss 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v..../WishlistLegacy.container.tsx 14 0 โ–ผ -14
packages/app-cdc-catalog/src/v....ersonalizationBundle/utils.ts 57 27 โ–ผ -30
packages/app-cdc-catalog/src/v....r/ProductSlider.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....der/ProductSlider.module.scss 12 0 โ–ผ -12
packages/app-cdc-catalog/src/v....ProductPushSlider.module.scss 10 0 โ–ผ -10
packages/app-cdc-catalog/src/v....SliderWithInfos.container.tsx 2 0 โ–ผ -2
packages/app-cdc-catalog/src/v....ctSliderWithInfos.module.scss 5 0 โ–ผ -5
packages/app-cdc-catalog/src/v....ProductsSelection.module.scss 4 0 โ–ผ -4
packages/app-cdc-catalog/src/v....tsSelectionSlider.module.scss 3 0 โ–ผ -3
packages/app-pcd-catalog/src/v....listItemCouture.container.tsx 8 0 โ–ผ -8
packages/app-pcd-checkout/src/....gForLoggedInForFulfilments.ts 1 0 โ–ผ -1


Help us improve code quality! Here are some ideas for you



packages/app-cdc-catalog/src/core/compon....tion/PersonalizationSection.module.scss

Broken rule score
๐Ÿšซ remove useless :global and apply classes using "styles.myClassName" instead 2
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/app-cdc-catalog/src/core/components/Product/Product.container.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 2


packages/app-cdc-catalog/src/core/compon....ualTryOnGlasses/VirtualTryOnGlasses.tsx

Broken rule score
๐Ÿšซ Use native Array.filter instead of lodash.filter 1


packages/app-cdc-catalog/src/map/mapCmsContentWithStockPriceApi.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 7
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 11


packages/app-cdc-catalog/src/pages/_app.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 2


packages/app-cdc-catalog/src/redux/content/helpers.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 6
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 15
๐Ÿšซ Use native Array.reduce instead of lodash.reduce 1


packages/app-cdc-catalog/src/redux/selectors.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 4


packages/app-cdc-catalog/src/views/AccountPanel/AccountPanel.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1


packages/app-cdc-catalog/src/views/Accou....l/helpers/getHeaderAccountPanelItems.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 3


packages/app-cdc-catalog/src/views/LandingPage/PersonalizationBundle/utils.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 11
๐Ÿšซ Use native Array.filter instead of lodash.filter 2
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 10
๐Ÿšซ Use native Array.reduce instead of lodash.reduce 1
๐Ÿšซ Use native Array.find instead of lodash.find 3


packages/app-cdc-catalog/src/views/Produ....e/Couture/Actions/Actions.container.tsx

Broken rule score
๐Ÿšซ use useTrackOnClick instead of withTrackOnClick 1
๐Ÿšซ Use useAddedToCartPopin hook instead of withAddedToCartPopin 1
๐Ÿšซ Use SelectedVariation context instead of withSelectedVariation 1
๐Ÿšซ Remove withDiorContext and use DiorContext instead 1
๐Ÿšซ Remove withPickedQueryParams and use usePickedQueryParams instead 1
๐Ÿšซ Remove withUniverseWording, withWording, withDynamicKeyWording and withDynamicWording and use useWording instead 4
๐Ÿšซ Use Array.map instead of lodash.map 5
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 9


packages/app-cdc-checkout/src/components....tPage/GenericSection/GenericOptions.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 3


packages/app-pcd-catalog/src/views/Accou....nel/Wishlist/WishlistItem.container.tsx

Broken rule score
๐Ÿšซ Remove withDiorContext and use DiorContext instead 1


packages/app-pcd-catalog/src/views/Produ....ntentBeauty/TopContentBeautyDesktop.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1
๐Ÿšซ Delete @ts-expect-error comments 6


packages/app-pcd-catalog/src/views/Produ....ontentBeauty/TopContentBeautyMobile.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1
๐Ÿšซ Delete @ts-expect-error comments 6


packages/app-pcd-checkout/src/components....rderPage/OrderPageDetails.container.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 2


packages/app-pcd-checkout/src/components....al/PaymentCybersourcePayPal.module.scss

Broken rule score
๐Ÿšซ remove useless :global and apply classes using "styles.myClassName" instead 4
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/lib-pcd-cart/src/components/CheckoutButtons/CheckoutButtons.scss

Broken rule score
๐Ÿšซ use css modules and import styles from "style.module.scss" instead of global stylesheets 1
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/lib-pcd-cart/src/components/Goo....ithParams/GooglePayButtonWithParams.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


packages/lib-pcd-cart/src/components/Pay....onWithParams/PaypalButtonWithParams.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


packages/lib-pcd-cart/src/components/PostPaypalPopin/PostPaypalPopin.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1


packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 6


packages/lib-pcd-cart/src/stories/decorators.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


Footnotes

  1. Scores based on modified files only
    The report may not be accurate if your branch is not up to date with the base branch. โ†ฉ

report example

Debt collector report

โœ… Debt score for modified files decreased by -215 1

You did great ! ๐ŸŽ‰

Previous debt Current debt trend
358 143 -215

Modified files โ€ข see scores before and after

๐Ÿ’ค Files with same debt :

File Prev Current Trend
packages/app-cdc-catalog/src/c....nalizationSection.module.scss 3 3 =
packages/app-cdc-catalog/src/c....Product/Product.container.tsx 2 2 =
packages/app-cdc-catalog/src/c....asses/VirtualTryOnGlasses.tsx 1 1 =
packages/app-cdc-catalog/src/pages/_app.tsx 2 2 =
packages/app-cdc-catalog/src/redux/content/helpers.ts 22 22 =
packages/app-cdc-catalog/src/v....AccountPanel/AccountPanel.tsx 1 1 =
packages/app-cdc-catalog/src/v....getHeaderAccountPanelItems.ts 3 3 =
packages/app-cdc-catalog/src/v....Actions/Actions.container.tsx 23 23 =
packages/app-cdc-checkout/src/....ricSection/GenericOptions.tsx 3 3 =
packages/app-pcd-catalog/src/v....st/WishlistItem.container.tsx 1 1 =
packages/app-pcd-catalog/src/v....y/TopContentBeautyDesktop.tsx 7 7 =
packages/app-pcd-catalog/src/v....ty/TopContentBeautyMobile.tsx 7 7 =
packages/app-pcd-checkout/src/....rderPageDetails.container.tsx 2 2 =
packages/app-pcd-checkout/src/....CybersourcePayPal.module.scss 5 5 =
packages/lib-pcd-cart/src/comp....tButtons/CheckoutButtons.scss 2 2 =
packages/lib-pcd-cart/src/comp....GooglePayButtonWithParams.tsx 1 1 =
packages/lib-pcd-cart/src/comp....ms/PaypalButtonWithParams.tsx 1 1 =
packages/lib-pcd-cart/src/comp....ypalPopin/PostPaypalPopin.tsx 1 1 =
packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts 6 6 =
packages/lib-pcd-cart/src/stories/decorators.tsx 1 1 =

โœ… Files with less debt :

File Prev Current Trend
packages/app-cdc-catalog/src/c....roductLightCard.container.tsx 3 0 โ–ผ -3
packages/app-cdc-catalog/src/c..../ProductLightCard.module.scss 8 0 โ–ผ -8
packages/app-cdc-catalog/src/c....eWishlistLegacy.container.tsx 7 0 โ–ผ -7
packages/app-cdc-catalog/src/c....gleWishlistLegacy.module.scss 2 0 โ–ผ -2
packages/app-cdc-catalog/src/m....msContentWithStockPriceApi.ts 19 18 โ–ผ -1
packages/app-cdc-catalog/src/redux/epics.ts 1 0 โ–ผ -1
packages/app-cdc-catalog/src/redux/selectors.ts 5 4 โ–ผ -1
packages/app-cdc-catalog/src/redux/stocks/mw.ts 1 0 โ–ผ -1
packages/app-cdc-catalog/src/redux/stocks/reducer.ts 2 0 โ–ผ -2
packages/app-cdc-catalog/src/redux/wishlist/helpers.ts 12 0 โ–ผ -12
packages/app-cdc-catalog/src/redux/wishlist/mw.ts 8 0 โ–ผ -8
packages/app-cdc-catalog/src/redux/wishlist/reducer.ts 22 0 โ–ผ -22
packages/app-cdc-catalog/src/redux/wishlist/selectors.ts 16 0 โ–ผ -16
packages/app-cdc-catalog/src/v....derAccountPanel.container.tsx 2 0 โ–ผ -2
packages/app-cdc-catalog/src/v....t/EmptyWishlist.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....st/WishlistItem.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....list/WishlistItem.module.scss 16 0 โ–ผ -16
packages/app-cdc-catalog/src/v....nel/Wishlist/WishlistItem.tsx 4 0 โ–ผ -4
packages/app-cdc-catalog/src/v....hlistItemBeauty.container.tsx 8 0 โ–ผ -8
packages/app-cdc-catalog/src/v....listItemCouture.container.tsx 8 0 โ–ผ -8
packages/app-cdc-catalog/src/v....ist/WishlistItems.module.scss 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v..../WishlistLegacy.container.tsx 14 0 โ–ผ -14
packages/app-cdc-catalog/src/v....ersonalizationBundle/utils.ts 57 27 โ–ผ -30
packages/app-cdc-catalog/src/v....r/ProductSlider.container.tsx 1 0 โ–ผ -1
packages/app-cdc-catalog/src/v....der/ProductSlider.module.scss 12 0 โ–ผ -12
packages/app-cdc-catalog/src/v....ProductPushSlider.module.scss 10 0 โ–ผ -10
packages/app-cdc-catalog/src/v....SliderWithInfos.container.tsx 2 0 โ–ผ -2
packages/app-cdc-catalog/src/v....ctSliderWithInfos.module.scss 5 0 โ–ผ -5
packages/app-cdc-catalog/src/v....ProductsSelection.module.scss 4 0 โ–ผ -4
packages/app-cdc-catalog/src/v....tsSelectionSlider.module.scss 3 0 โ–ผ -3
packages/app-pcd-catalog/src/v....listItemCouture.container.tsx 8 0 โ–ผ -8
packages/app-pcd-checkout/src/....gForLoggedInForFulfilments.ts 1 0 โ–ผ -1


Help us improve code quality! Here are some ideas for you



packages/app-cdc-catalog/src/core/compon....tion/PersonalizationSection.module.scss

Broken rule score
๐Ÿšซ remove useless :global and apply classes using "styles.myClassName" instead 2
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/app-cdc-catalog/src/core/components/Product/Product.container.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 2


packages/app-cdc-catalog/src/core/compon....ualTryOnGlasses/VirtualTryOnGlasses.tsx

Broken rule score
๐Ÿšซ Use native Array.filter instead of lodash.filter 1


packages/app-cdc-catalog/src/map/mapCmsContentWithStockPriceApi.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 7
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 11


packages/app-cdc-catalog/src/pages/_app.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 2


packages/app-cdc-catalog/src/redux/content/helpers.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 6
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 15
๐Ÿšซ Use native Array.reduce instead of lodash.reduce 1


packages/app-cdc-catalog/src/redux/selectors.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 4


packages/app-cdc-catalog/src/views/AccountPanel/AccountPanel.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1


packages/app-cdc-catalog/src/views/Accou....l/helpers/getHeaderAccountPanelItems.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 3


packages/app-cdc-catalog/src/views/LandingPage/PersonalizationBundle/utils.ts

Broken rule score
๐Ÿšซ Use Array.map instead of lodash.map 11
๐Ÿšซ Use native Array.filter instead of lodash.filter 2
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 10
๐Ÿšซ Use native Array.reduce instead of lodash.reduce 1
๐Ÿšซ Use native Array.find instead of lodash.find 3


packages/app-cdc-catalog/src/views/Produ....e/Couture/Actions/Actions.container.tsx

Broken rule score
๐Ÿšซ use useTrackOnClick instead of withTrackOnClick 1
๐Ÿšซ Use useAddedToCartPopin hook instead of withAddedToCartPopin 1
๐Ÿšซ Use SelectedVariation context instead of withSelectedVariation 1
๐Ÿšซ Remove withDiorContext and use DiorContext instead 1
๐Ÿšซ Remove withPickedQueryParams and use usePickedQueryParams instead 1
๐Ÿšซ Remove withUniverseWording, withWording, withDynamicKeyWording and withDynamicWording and use useWording instead 4
๐Ÿšซ Use Array.map instead of lodash.map 5
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 9


packages/app-cdc-checkout/src/components....tPage/GenericSection/GenericOptions.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 3


packages/app-pcd-catalog/src/views/Accou....nel/Wishlist/WishlistItem.container.tsx

Broken rule score
๐Ÿšซ Remove withDiorContext and use DiorContext instead 1


packages/app-pcd-catalog/src/views/Produ....ntentBeauty/TopContentBeautyDesktop.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1
๐Ÿšซ Delete @ts-expect-error comments 6


packages/app-pcd-catalog/src/views/Produ....ontentBeauty/TopContentBeautyMobile.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1
๐Ÿšซ Delete @ts-expect-error comments 6


packages/app-pcd-checkout/src/components....rderPage/OrderPageDetails.container.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 2


packages/app-pcd-checkout/src/components....al/PaymentCybersourcePayPal.module.scss

Broken rule score
๐Ÿšซ remove useless :global and apply classes using "styles.myClassName" instead 4
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/lib-pcd-cart/src/components/CheckoutButtons/CheckoutButtons.scss

Broken rule score
๐Ÿšซ use css modules and import styles from "style.module.scss" instead of global stylesheets 1
๐Ÿšซ rewrite BEM classe names into kebab-case notation 1


packages/lib-pcd-cart/src/components/Goo....ithParams/GooglePayButtonWithParams.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


packages/lib-pcd-cart/src/components/Pay....onWithParams/PaypalButtonWithParams.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


packages/lib-pcd-cart/src/components/PostPaypalPopin/PostPaypalPopin.tsx

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 1


packages/lib-pcd-cart/src/helpers/checkoutEndpoints.ts

Broken rule score
๐Ÿšซ Use Optional chaining (obj?.key) instead of lodash.property 6


packages/lib-pcd-cart/src/stories/decorators.tsx

Broken rule score
๐Ÿšซ Delete @ts-expect-error comments 1


Footnotes

  1. Scores based on modified files only
    The report may not be accurate if your branch is not up to date with the base branch. โ†ฉ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.