-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 25 KB
/
.eslintcache
1
[{"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\index.tsx":"1","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\Cart.tsx":"2","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\Home.tsx":"3","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Header\\Header.tsx":"4","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\EmptyCart.tsx":"5","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\CartItem.tsx":"6","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Button\\Button.tsx":"7","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Categories\\Categories.tsx":"8","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\SortPopup.tsx":"9","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\PizzaBlock.tsx":"10","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PopupMenu\\PopupMenu.tsx":"11","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\selectors.ts":"12","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\selectors.ts":"13","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\filters-reducer.ts":"14","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\pizzas-reducer.ts":"15","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\cart-reducer.ts":"16","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\index.tsx":"17","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\index.tsx":"18","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\index.tsx":"19","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\selectors.ts":"20","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u6-app\\store.tsx":"21","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u6-app\\App.tsx":"22","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Header\\index.tsx":"23","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Categories\\index.tsx":"24","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\utils\\redux-utils.ts":"25"},{"size":429,"mtime":1615021110239,"results":"26","hashOfConfig":"27"},{"size":7687,"mtime":1615189180254,"results":"28","hashOfConfig":"27"},{"size":3049,"mtime":1615189180643,"results":"29","hashOfConfig":"27"},{"size":3405,"mtime":1615189479406,"results":"30","hashOfConfig":"27"},{"size":764,"mtime":1615021739806,"results":"31","hashOfConfig":"27"},{"size":5013,"mtime":1612032535128,"results":"32","hashOfConfig":"27"},{"size":633,"mtime":1612032535127,"results":"33","hashOfConfig":"27"},{"size":747,"mtime":1612032535129,"results":"34","hashOfConfig":"27"},{"size":1147,"mtime":1612032535132,"results":"35","hashOfConfig":"27"},{"size":4125,"mtime":1614098057597,"results":"36","hashOfConfig":"27"},{"size":1878,"mtime":1612032535131,"results":"37","hashOfConfig":"27"},{"size":307,"mtime":1615189449458,"results":"38","hashOfConfig":"27"},{"size":230,"mtime":1615189496798,"results":"39","hashOfConfig":"27"},{"size":782,"mtime":1614976235498,"results":"40","hashOfConfig":"27"},{"size":1939,"mtime":1615015574425,"results":"41","hashOfConfig":"27"},{"size":3540,"mtime":1615189409620,"results":"42","hashOfConfig":"27"},{"size":392,"mtime":1615021566603,"results":"43","hashOfConfig":"27"},{"size":417,"mtime":1615021416929,"results":"44","hashOfConfig":"27"},{"size":360,"mtime":1615021416980,"results":"45","hashOfConfig":"27"},{"size":130,"mtime":1615189511040,"results":"46","hashOfConfig":"27"},{"size":644,"mtime":1615189362764,"results":"47","hashOfConfig":"27"},{"size":683,"mtime":1615021251668,"results":"48","hashOfConfig":"27"},{"size":60,"mtime":1615021251638,"results":"49","hashOfConfig":"27"},{"size":72,"mtime":1615021566725,"results":"50","hashOfConfig":"27"},{"size":517,"mtime":1615189582654,"results":"51","hashOfConfig":"27"},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},"hgwjlw",{"filePath":"55","messages":"56","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"57","usedDeprecatedRules":"54"},{"filePath":"58","messages":"59","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"60","usedDeprecatedRules":"54"},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"69","messages":"70","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"85","messages":"86","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"87","messages":"88","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"54"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"105"},"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\index.tsx",[],["106","107"],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\Cart.tsx",["108","109","110","111"],"import * as React from 'react'\r\nimport {Link} from 'react-router-dom'\r\nimport {useDispatch, useSelector} from 'react-redux'\r\nimport {map} from 'lodash'\r\nimport {cartActions, CartItem} from '../u3-components/CartItem'\r\nimport {Button} from '../u3-components/Button/Button'\r\nimport {EmptyCart} from './EmptyCart'\r\nimport {path} from '../u6-app/App';\r\nimport {cartSelectors} from '../u3-components/CartItem';\r\nimport {useActions} from '../utils/redux-utils';\r\n\r\nexport const Cart: React.FC = () => {\r\n\r\n const dispatch = useDispatch()\r\n\r\n const cartItems = useSelector(cartSelectors.cartItemsSelectors)\r\n const totalPrice = useSelector(cartSelectors.totalPriceSelectors)\r\n const itemsCount = useSelector(cartSelectors.itemsCountSelectors)\r\n const {clearItems, minusItem, plusItem, removeItemsById} = useActions(cartActions)\r\n\r\n\r\n const onClickOrder = () => {\r\n console.log('ВАШ ЗАКАЗ', cartItems)\r\n }\r\n\r\n const plusCartItem = React.useCallback((id: number) => {\r\n dispatch(plusItem({id: id}))\r\n }, [dispatch])\r\n\r\n const minusCartItem = React.useCallback((id: number) => {\r\n dispatch(minusItem({id: id}))\r\n }, [dispatch])\r\n\r\n const onRemoveItem = React.useCallback((id: number) => {\r\n if (window.confirm('Вы действительно хотите удалить?')) {\r\n dispatch(removeItemsById({id: id}))\r\n }\r\n }, [dispatch])\r\n\r\n const onClearCartItem = React.useCallback(() => {\r\n if (window.confirm('Вы действительно хотите очистить корзину?')) {\r\n dispatch(clearItems())\r\n }\r\n }, [dispatch])\r\n\r\n return (\r\n <div className=\"content\">\r\n <div className=\"container container--cart\">\r\n {itemsCount\r\n ? (\r\n <div className=\"cart\">\r\n <div className=\"cart__top\">\r\n <h2 className=\"content__title\">\r\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M6.33333 16.3333C7.06971 16.3333 7.66667 15.7364 7.66667 15C7.66667 14.2636 7.06971 13.6667 6.33333 13.6667C5.59695 13.6667 5 14.2636 5 15C5 15.7364 5.59695 16.3333 6.33333 16.3333Z\"\r\n stroke=\"white\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\r\n <path\r\n d=\"M14.3333 16.3333C15.0697 16.3333 15.6667 15.7364 15.6667 15C15.6667 14.2636 15.0697 13.6667 14.3333 13.6667C13.597 13.6667 13 14.2636 13 15C13 15.7364 13.597 16.3333 14.3333 16.3333Z\"\r\n stroke=\"white\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\r\n <path\r\n d=\"M4.78002 4.99999H16.3334L15.2134 10.5933C15.1524 10.9003 14.9854 11.176 14.7417 11.3722C14.4979 11.5684 14.1929 11.6727 13.88 11.6667H6.83335C6.50781 11.6694 6.1925 11.553 5.94689 11.3393C5.70128 11.1256 5.54233 10.8295 5.50002 10.5067L4.48669 2.82666C4.44466 2.50615 4.28764 2.21182 4.04482 1.99844C3.80201 1.78505 3.48994 1.66715 3.16669 1.66666H1.66669\"\r\n stroke=\"white\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\r\n </svg>\r\n Корзина\r\n </h2>\r\n <div className=\"cart__clear\">\r\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M2.5 5H4.16667H17.5\" stroke=\"#B6B6B6\" strokeWidth=\"1.2\" strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"/>\r\n <path\r\n d=\"M6.66663 5.00001V3.33334C6.66663 2.89131 6.84222 2.46739 7.15478 2.15483C7.46734 1.84227 7.89127 1.66667 8.33329 1.66667H11.6666C12.1087 1.66667 12.5326 1.84227 12.8451 2.15483C13.1577 2.46739 13.3333 2.89131 13.3333 3.33334V5.00001M15.8333 5.00001V16.6667C15.8333 17.1087 15.6577 17.5326 15.3451 17.8452C15.0326 18.1577 14.6087 18.3333 14.1666 18.3333H5.83329C5.39127 18.3333 4.96734 18.1577 4.65478 17.8452C4.34222 17.5326 4.16663 17.1087 4.16663 16.6667V5.00001H15.8333Z\"\r\n stroke=\"#B6B6B6\" strokeWidth=\"1.2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/>\r\n <path d=\"M8.33337 9.16667V14.1667\" stroke=\"#B6B6B6\" strokeWidth=\"1.2\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"/>\r\n <path d=\"M11.6666 9.16667V14.1667\" stroke=\"#B6B6B6\" strokeWidth=\"1.2\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"/>\r\n </svg>\r\n <span onClick={onClearCartItem}>Очистить корзину</span>\r\n </div>\r\n </div>\r\n <div className=\"content__items\">\r\n {\r\n map(cartItems, ([item]) => (\r\n <CartItem\r\n key={item.id}\r\n {...item}\r\n\r\n onMinus={() => minusCartItem(item.id)}\r\n onPlus={() => plusCartItem(item.id)}\r\n onRemoveItem={() => onRemoveItem(item.id)}\r\n count={cartItems[item.id].length}\r\n />))\r\n }\r\n </div>\r\n <div className=\"cart__bottom\">\r\n <div className=\"cart__bottom-details\">\r\n <span>\r\n Всего пицц: <b>{itemsCount} шт.</b>\r\n </span>\r\n <span>\r\n Сумма заказа: <b>{totalPrice} ₽</b>\r\n </span>\r\n </div>\r\n <div className=\"cart__bottom-buttons\">\r\n <Button outline className=\"button--add go-back-btn\">\r\n <svg width=\"8\" height=\"14\" viewBox=\"0 0 8 14\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path d=\"M7 13L1 6.93015L6.86175 1\" stroke=\"#D3D3D3\" strokeWidth=\"1.5\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"/>\r\n </svg>\r\n <Link to={path.HOME}>\r\n <span>Вернуться назад</span>\r\n </Link>\r\n </Button>\r\n <Button onClick={onClickOrder} className=\"pay-btn\">\r\n <span>Оплатить сейчас</span>\r\n </Button>\r\n </div>\r\n </div>\r\n </div>\r\n ) : (\r\n <EmptyCart/>\r\n )}\r\n </div>\r\n </div>\r\n )\r\n}\r\n","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\Home.tsx",["112","113","114","115"],"import * as React from 'react'\r\nimport {useDispatch, useSelector} from 'react-redux'\r\nimport {Categories} from '../u3-components/Categories'\r\nimport {SortPopup} from '../u3-components/SortPopup'\r\nimport {PizzaBlock} from '../u3-components/PizzaBlock'\r\nimport {cartActions, cartSelectors} from '../u3-components/CartItem';\r\nimport {pizzasActions, pizzaSelectors} from '../u3-components/PizzaBlock';\r\nimport {filtersActions, filterSelectors} from '../u3-components/SortPopup';\r\nimport {objForCart} from '../u3-components/PizzaBlock/PizzaBlock';\r\nimport {FilterItemType} from '../u3-components/SortPopup/SortPopup';\r\nimport {useActions} from '../utils/redux-utils';\r\n\r\nexport const Home: React.FC = (props) => {\r\n const pizzasItems = useSelector(pizzaSelectors.pizzasItemsSelectors)\r\n const pizzaIsLoading = useSelector(pizzaSelectors.pizzaIsLoadingSelectors)\r\n const cartItems = useSelector(cartSelectors.cartItemsSelectors)\r\n const filters = useSelector(filterSelectors.filtersSelectors)\r\n const {addToCartTC} = useActions(cartActions)\r\n const {fetchPizzasTC} = useActions(pizzasActions)\r\n const {setCategory,setSortBy} = useActions(filtersActions)\r\n const dispatch = useDispatch()\r\n\r\n const addItemsToCart = React.useCallback((obj: objForCart) => addToCartTC(obj)\r\n , [dispatch])\r\n\r\n const selectCategory = React.useCallback((index: number | null) => setCategory({catIndex: index})\r\n , [dispatch])\r\n\r\n const selectSort = React.useCallback((filterObj: FilterItemType) => setSortBy({name: filterObj.value})\r\n , [dispatch])\r\n\r\n const mappedPizza = pizzasItems && !pizzaIsLoading\r\n ? pizzasItems.map((item) => <PizzaBlock key={item.id}\r\n onAdd={addItemsToCart}\r\n cartItems={cartItems}\r\n isLoading={pizzaIsLoading}\r\n {...item}/>)\r\n : [...Array(8).map((_, index) => <PizzaBlock key={index} isLoading={pizzaIsLoading}/>)]\r\n\r\n React.useEffect(() => {\r\n fetchPizzasTC(filters)\r\n }, [dispatch, filters])\r\n\r\n React.useEffect(() => {\r\n window.scroll(0, 0)\r\n }, [])\r\n\r\n return (\r\n <div className=\"container\">\r\n <div className=\"content__top\">\r\n <Categories\r\n activeCategory={filters.category}\r\n items={['Мясные', 'Вегетарианская', 'Гриль', 'Острые', 'Закрытые']}\r\n onClick={selectCategory}\r\n />\r\n <SortPopup\r\n sortBy={filters.sortBy}\r\n onSelect={selectSort}\r\n />\r\n </div>\r\n <h2 className=\"content__title\">Все пиццы</h2>\r\n {console.log(pizzaIsLoading)}\r\n <div className=\"content__items\">\r\n {\r\n mappedPizza\r\n }\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\n\r\n\r\n","G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Header\\Header.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u5-pages\\EmptyCart.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\CartItem.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Button\\Button.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Categories\\Categories.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\SortPopup.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\PizzaBlock.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PopupMenu\\PopupMenu.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\selectors.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\selectors.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\filters-reducer.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\pizzas-reducer.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\cart-reducer.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\CartItem\\index.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\PizzaBlock\\index.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\index.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\SortPopup\\selectors.ts",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u6-app\\store.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u6-app\\App.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Header\\index.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\u3-components\\Categories\\index.tsx",[],"G:\\00_IT\\IT_incubator\\Projects\\React-pizza\\src\\utils\\redux-utils.ts",["116"],"import {ActionCreatorsMapObject, bindActionCreators} from 'redux';\r\nimport {AppDispatchType} from './types';\r\nimport {useDispatch} from 'react-redux';\r\nimport {useMemo} from 'react';\r\n\r\nexport const useAppDispatch = () => useDispatch<AppDispatchType>()\r\n\r\nexport function useActions<T extends ActionCreatorsMapObject<any>>(actions: T) {\r\n const dispatch = useAppDispatch()\r\n\r\n const boundActions = useMemo(() => {\r\n return bindActionCreators(actions, dispatch)\r\n }, [])\r\n\r\n return boundActions\r\n}\r\n",{"ruleId":"117","replacedBy":"118"},{"ruleId":"119","replacedBy":"120"},{"ruleId":"121","severity":1,"message":"122","line":28,"column":7,"nodeType":"123","endLine":28,"endColumn":17,"suggestions":"124"},{"ruleId":"121","severity":1,"message":"125","line":32,"column":7,"nodeType":"123","endLine":32,"endColumn":17,"suggestions":"126"},{"ruleId":"121","severity":1,"message":"127","line":38,"column":7,"nodeType":"123","endLine":38,"endColumn":17,"suggestions":"128"},{"ruleId":"121","severity":1,"message":"129","line":44,"column":7,"nodeType":"123","endLine":44,"endColumn":17,"suggestions":"130"},{"ruleId":"121","severity":1,"message":"131","line":24,"column":11,"nodeType":"123","endLine":24,"endColumn":21,"suggestions":"132"},{"ruleId":"121","severity":1,"message":"133","line":27,"column":11,"nodeType":"123","endLine":27,"endColumn":21,"suggestions":"134"},{"ruleId":"121","severity":1,"message":"135","line":30,"column":11,"nodeType":"123","endLine":30,"endColumn":21,"suggestions":"136"},{"ruleId":"121","severity":1,"message":"137","line":42,"column":8,"nodeType":"123","endLine":42,"endColumn":27,"suggestions":"138"},{"ruleId":"121","severity":1,"message":"139","line":13,"column":8,"nodeType":"123","endLine":13,"endColumn":10,"suggestions":"140"},"no-native-reassign",["141"],"no-negated-in-lhs",["142"],"react-hooks/exhaustive-deps","React Hook React.useCallback has a missing dependency: 'plusItem'. Either include it or remove the dependency array.","ArrayExpression",["143"],"React Hook React.useCallback has a missing dependency: 'minusItem'. Either include it or remove the dependency array.",["144"],"React Hook React.useCallback has a missing dependency: 'removeItemsById'. Either include it or remove the dependency array.",["145"],"React Hook React.useCallback has a missing dependency: 'clearItems'. Either include it or remove the dependency array.",["146"],"React Hook React.useCallback has a missing dependency: 'addToCartTC'. Either include it or remove the dependency array.",["147"],"React Hook React.useCallback has a missing dependency: 'setCategory'. Either include it or remove the dependency array.",["148"],"React Hook React.useCallback has a missing dependency: 'setSortBy'. Either include it or remove the dependency array.",["149"],"React Hook React.useEffect has a missing dependency: 'fetchPizzasTC'. Either include it or remove the dependency array.",["150"],"React Hook useMemo has missing dependencies: 'actions' and 'dispatch'. Either include them or remove the dependency array.",["151"],"no-global-assign","no-unsafe-negation",{"desc":"152","fix":"153"},{"desc":"154","fix":"155"},{"desc":"156","fix":"157"},{"desc":"158","fix":"159"},{"desc":"160","fix":"161"},{"desc":"162","fix":"163"},{"desc":"164","fix":"165"},{"desc":"166","fix":"167"},{"desc":"168","fix":"169"},"Update the dependencies array to be: [dispatch, plusItem]",{"range":"170","text":"171"},"Update the dependencies array to be: [dispatch, minusItem]",{"range":"172","text":"173"},"Update the dependencies array to be: [dispatch, removeItemsById]",{"range":"174","text":"175"},"Update the dependencies array to be: [clearItems, dispatch]",{"range":"176","text":"177"},"Update the dependencies array to be: [addToCartTC]",{"range":"178","text":"179"},"Update the dependencies array to be: [setCategory]",{"range":"180","text":"181"},"Update the dependencies array to be: [setSortBy]",{"range":"182","text":"183"},"Update the dependencies array to be: [dispatch, fetchPizzasTC, filters]",{"range":"184","text":"185"},"Update the dependencies array to be: [actions, dispatch]",{"range":"186","text":"187"},[1023,1033],"[dispatch, plusItem]",[1143,1153],"[dispatch, minusItem]",[1345,1355],"[dispatch, removeItemsById]",[1536,1546],"[clearItems, dispatch]",[1302,1312],"[addToCartTC]",[1430,1440],"[setCategory]",[1563,1573],"[setSortBy]",[2145,2164],"[dispatch, fetchPizzasTC, filters]",[482,484],"[actions, dispatch]"]