deprecations.out 409 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822
  1. yarn run v1.22.22
  2. $ eslint
  3. /Users/ryan/code/sentry/eslint.config.mjs
  4. 795:27 error Redundant Boolean call no-extra-boolean-cast
  5. 910:43 error Redundant Boolean call no-extra-boolean-cast
  6. /Users/ryan/code/sentry/static/app/actionCreators/members.tsx
  7. 13:18 error `role` is deprecated. use orgRole @typescript-eslint/no-deprecated
  8. /Users/ryan/code/sentry/static/app/actionCreators/organizations.tsx
  9. 43:5 error `browserHistory` is deprecated. Prefer using useNavigate
  10. browserHistory is a hold-over from react-router 3 days. In react-router 6
  11. the useNavigate hook is the native way to trigger navigation events.
  12. browserHistory.push('/next') -> navigate('/next')
  13. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  14. You may also use a LocationDescriptor object
  15. browserHistory.push({...location, query: {someKey: 1}})
  16. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  17. 57:3 error `browserHistory` is deprecated. Prefer using useNavigate
  18. browserHistory is a hold-over from react-router 3 days. In react-router 6
  19. the useNavigate hook is the native way to trigger navigation events.
  20. browserHistory.push('/next') -> navigate('/next')
  21. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  22. You may also use a LocationDescriptor object
  23. browserHistory.push({...location, query: {someKey: 1}})
  24. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  25. /Users/ryan/code/sentry/static/app/api.tsx
  26. 168:7 error `browserHistory` is deprecated. Prefer using useNavigate
  27. browserHistory is a hold-over from react-router 3 days. In react-router 6
  28. the useNavigate hook is the native way to trigger navigation events.
  29. browserHistory.push('/next') -> navigate('/next')
  30. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  31. You may also use a LocationDescriptor object
  32. browserHistory.push({...location, query: {someKey: 1}})
  33. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  34. 176:7 error `browserHistory` is deprecated. Prefer using useNavigate
  35. browserHistory is a hold-over from react-router 3 days. In react-router 6
  36. the useNavigate hook is the native way to trigger navigation events.
  37. browserHistory.push('/next') -> navigate('/next')
  38. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  39. You may also use a LocationDescriptor object
  40. browserHistory.push({...location, query: {someKey: 1}})
  41. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  42. /Users/ryan/code/sentry/static/app/bootstrap/index.tsx
  43. 67:15 error `user` is deprecated @typescript-eslint/no-deprecated
  44. /Users/ryan/code/sentry/static/app/bootstrap/initializeLocale.tsx
  45. 66:31 error `user` is deprecated @typescript-eslint/no-deprecated
  46. /Users/ryan/code/sentry/static/app/bootstrap/initializeSdk.tsx
  47. 49:63 error `user` is deprecated @typescript-eslint/no-deprecated
  48. 237:37 error `_browserPerformanceTimeOriginMode` is deprecated. This variable will be removed in the next major version @typescript-eslint/no-deprecated
  49. /Users/ryan/code/sentry/static/app/bootstrap/renderOnDomReady.spec.tsx
  50. 25:11 error `initEvent` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/initEvent) @typescript-eslint/no-deprecated
  51. /Users/ryan/code/sentry/static/app/components/acl/featureDisabled.spec.tsx
  52. 64:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  53. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  54. /Users/ryan/code/sentry/static/app/components/actions/actionLink.tsx
  55. 31:19 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  56. /Users/ryan/code/sentry/static/app/components/activity/note/input.tsx
  57. 68:19 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  58. new alternatives:
  59. - useTeamsById({ids: []}) - get teams by id
  60. - useTeamsById({slugs: []}) - get teams by slug
  61. - useTeamsById() - just reading from the teams store
  62. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  63. 123:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  64. 129:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  65. /Users/ryan/code/sentry/static/app/components/activity/note/mentionStyle.tsx
  66. 90:34 error `hover` is deprecated @typescript-eslint/no-deprecated
  67. /Users/ryan/code/sentry/static/app/components/alerts/snoozeAlert.tsx
  68. 65:11 error `browserHistory` is deprecated. Prefer using useNavigate
  69. browserHistory is a hold-over from react-router 3 days. In react-router 6
  70. the useNavigate hook is the native way to trigger navigation events.
  71. browserHistory.push('/next') -> navigate('/next')
  72. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  73. You may also use a LocationDescriptor object
  74. browserHistory.push({...location, query: {someKey: 1}})
  75. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  76. /Users/ryan/code/sentry/static/app/components/assigneeBadge.stories.tsx
  77. 54:61 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  78. /Users/ryan/code/sentry/static/app/components/assistant/guideAnchor.tsx
  79. 53:34 error `pageYOffset` is deprecated. This is a legacy alias of `scrollY`.
  80. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) @typescript-eslint/no-deprecated
  81. 190:19 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  82. 204:19 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  83. /Users/ryan/code/sentry/static/app/components/autoComplete.spec.tsx
  84. 129:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  85. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  86. 139:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  87. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  88. 140:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  89. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  90. 143:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  91. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  92. 152:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  93. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  94. 153:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  95. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  96. 163:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  97. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  98. 166:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  99. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  100. 184:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  101. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  102. 187:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  103. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  104. 190:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  105. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  106. 197:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  107. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  108. 200:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  109. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  110. 204:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  111. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  112. 207:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  113. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  114. 215:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  115. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  116. 219:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  117. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  118. 232:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  119. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  120. 236:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  121. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  122. 239:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  123. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  124. 243:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  125. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  126. 256:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  127. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  128. 260:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  129. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  130. 263:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  131. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  132. 266:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  133. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  134. 269:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  135. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  136. 272:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  137. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  138. 275:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  139. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  140. 278:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  141. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  142. 286:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  143. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  144. 291:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  145. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  146. 297:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  147. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  148. 304:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  149. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  150. 307:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  151. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  152. 311:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  153. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  154. 325:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  155. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  156. 328:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  157. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  158. 331:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  159. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  160. 360:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  161. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  162. 371:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  163. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  164. 372:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  165. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  166. 384:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  167. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  168. 408:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  169. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  170. 412:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  171. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  172. 422:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  173. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  174. 439:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  175. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  176. 442:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  177. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  178. 446:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  179. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  180. 463:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  181. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  182. 466:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  183. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  184. 469:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  185. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  186. 472:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  187. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  188. 475:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  189. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  190. 478:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  191. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  192. 481:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  193. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  194. 494:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  195. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  196. 500:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  197. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  198. 507:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  199. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  200. 510:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  201. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  202. 514:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  203. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  204. 531:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  205. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  206. 534:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  207. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  208. 542:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  209. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  210. 545:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  211. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  212. 548:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  213. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  214. 568:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  215. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  216. 571:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  217. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  218. 578:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  219. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  220. 581:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  221. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  222. 587:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  223. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  224. 590:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  225. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  226. 596:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  227. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  228. 602:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  229. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  230. 616:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  231. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  232. 622:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  233. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  234. 623:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  235. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  236. 624:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  237. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  238. 627:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  239. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  240. 641:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  241. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  242. 642:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  243. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  244. 647:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  245. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  246. 648:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  247. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  248. 660:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  249. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  250. 661:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  251. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  252. 666:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  253. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  254. 667:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  255. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  256. 680:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  257. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  258. 683:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  259. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  260. 687:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  261. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  262. 693:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  263. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  264. 697:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  265. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  266. /Users/ryan/code/sentry/static/app/components/autoComplete.tsx
  267. 71:36 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  268. 496:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  269. /Users/ryan/code/sentry/static/app/components/avatar/sentryAppAvatar.tsx
  270. 15:7 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  271. /Users/ryan/code/sentry/static/app/components/button.tsx
  272. 210:3 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  273. 212:3 error `href` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  274. 294:7 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  275. 295:7 error `href` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  276. 481:9 error `external` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  277. 482:9 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  278. 483:9 error `href` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  279. /Users/ryan/code/sentry/static/app/components/calendar/calendarStylesWrapper.tsx
  280. 81:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  281. /Users/ryan/code/sentry/static/app/components/charts/barChartZoom.tsx
  282. 126:11 error `browserHistory` is deprecated. Prefer using useNavigate
  283. browserHistory is a hold-over from react-router 3 days. In react-router 6
  284. the useNavigate hook is the native way to trigger navigation events.
  285. browserHistory.push('/next') -> navigate('/next')
  286. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  287. You may also use a LocationDescriptor object
  288. browserHistory.push({...location, query: {someKey: 1}})
  289. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  290. /Users/ryan/code/sentry/static/app/components/charts/chartZoom.tsx
  291. 402:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  292. /Users/ryan/code/sentry/static/app/components/charts/releaseSeries.tsx
  293. 319:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  294. /Users/ryan/code/sentry/static/app/components/charts/useChartZoom.tsx
  295. 144:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  296. use{Location,Params,Routes,Navigate}.
  297. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  298. /Users/ryan/code/sentry/static/app/components/collapsePanel.tsx
  299. 17:42 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  300. /Users/ryan/code/sentry/static/app/components/compactSelect/control.tsx
  301. 151:74 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  302. /Users/ryan/code/sentry/static/app/components/compactSelect/gridList/index.tsx
  303. 101:28 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  304. /Users/ryan/code/sentry/static/app/components/compactSelect/gridList/section.tsx
  305. 43:20 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  306. 44:11 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  307. /Users/ryan/code/sentry/static/app/components/compactSelect/index.tsx
  308. 47:74 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  309. 48:74 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  310. 49:77 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  311. /Users/ryan/code/sentry/static/app/components/compactSelect/list.tsx
  312. 349:21 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  313. /Users/ryan/code/sentry/static/app/components/compactSelect/listBox/index.tsx
  314. 147:28 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  315. /Users/ryan/code/sentry/static/app/components/compactSelect/listBox/section.tsx
  316. 57:20 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  317. 58:11 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  318. /Users/ryan/code/sentry/static/app/components/compactSelect/utils.tsx
  319. 217:20 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  320. 223:38 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  321. 232:16 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  322. 298:20 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  323. 306:18 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  324. /Users/ryan/code/sentry/static/app/components/confirm.spec.tsx
  325. 126:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  326. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  327. /Users/ryan/code/sentry/static/app/components/contextPickerModal.tsx
  328. 448:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  329. Read the dev docs page on network requests for more information [1].
  330. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  331. 454:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  332. Read the dev docs page on network requests for more information [1].
  333. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  334. 456:43 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  335. Read the dev docs page on network requests for more information [1].
  336. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  337. 463:10 error `super` is deprecated. use useApiQuery instead
  338. Read the dev docs page on network requests for more information [1].
  339. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  340. 469:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  341. Read the dev docs page on network requests for more information [1].
  342. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  343. 527:10 error `Projects` is deprecated. consider using useProjects if possible.
  344. This is a utility component that should be used to fetch an organization's projects (summary).
  345. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  346. These will be passed down to the render prop (`children`).
  347. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  348. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  349. /Users/ryan/code/sentry/static/app/components/createAlertButton.tsx
  350. 97:7 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  351. 131:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  352. use{Location,Params,Routes,Navigate}.
  353. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  354. 181:7 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  355. /Users/ryan/code/sentry/static/app/components/deprecatedAssigneeSelector.spec.tsx
  356. 130:10 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  357. 147:15 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  358. 154:15 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  359. 169:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  360. 175:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  361. 190:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  362. 207:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  363. 236:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  364. 258:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  365. 290:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  366. 302:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  367. 333:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  368. 366:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  369. 404:13 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  370. /Users/ryan/code/sentry/static/app/components/deprecatedAssigneeSelector.tsx
  371. 139:8 error `DeprecatedAssigneeSelectorDropdown` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  372. 175:16 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  373. /Users/ryan/code/sentry/static/app/components/deprecatedAssigneeSelectorDropdown.tsx
  374. 368:20 error `DeprecatedAssigneeSelectorDropdown` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  375. 369:20 error `DeprecatedAssigneeSelectorDropdown` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  376. /Users/ryan/code/sentry/static/app/components/deprecatedAsyncComponent.spec.tsx
  377. 6:36 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  378. Read the dev docs page on network requests for more information [1].
  379. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  380. 9:32 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  381. Read the dev docs page on network requests for more information [1].
  382. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  383. 72:46 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  384. Read the dev docs page on network requests for more information [1].
  385. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  386. 75:34 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  387. Read the dev docs page on network requests for more information [1].
  388. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  389. 97:34 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  390. Read the dev docs page on network requests for more information [1].
  391. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  392. /Users/ryan/code/sentry/static/app/components/deprecatedAsyncComponent.tsx
  393. 36:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  394. Read the dev docs page on network requests for more information [1].
  395. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  396. 66:13 error `SentryPropTypeValidators` is deprecated @typescript-eslint/no-deprecated
  397. 70:5 error `super` is deprecated @typescript-eslint/no-deprecated
  398. 448:16 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  399. Read the dev docs page on network requests for more information [1].
  400. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  401. /Users/ryan/code/sentry/static/app/components/deprecatedDropdownMenu.spec.tsx
  402. 9:42 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  403. 12:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  404. 89:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  405. 124:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  406. 152:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  407. /Users/ryan/code/sentry/static/app/components/deprecatedDropdownMenu.tsx
  408. 459:16 error `DropdownMenu` is deprecated @typescript-eslint/no-deprecated
  409. /Users/ryan/code/sentry/static/app/components/deprecatedforms/booleanField.spec.tsx
  410. 8:13 error `BooleanField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  411. 14:10 error `BooleanField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  412. 21:13 error `BooleanField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  413. /Users/ryan/code/sentry/static/app/components/deprecatedforms/booleanField.tsx
  414. 6:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  415. 8:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  416. 17:43 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  417. 19:19 error `super` is deprecated. Do not use this @typescript-eslint/no-deprecated
  418. /Users/ryan/code/sentry/static/app/components/deprecatedforms/dateTimeField.tsx
  419. 3:44 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  420. /Users/ryan/code/sentry/static/app/components/deprecatedforms/emailField.spec.tsx
  421. 9:15 error `EmailField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  422. 13:15 error `EmailField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  423. 19:12 error `EmailField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  424. /Users/ryan/code/sentry/static/app/components/deprecatedforms/emailField.tsx
  425. 8:41 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  426. /Users/ryan/code/sentry/static/app/components/deprecatedforms/form.tsx
  427. 63:5 error `super` is deprecated @typescript-eslint/no-deprecated
  428. /Users/ryan/code/sentry/static/app/components/deprecatedforms/formField.tsx
  429. 49:5 error `super` is deprecated @typescript-eslint/no-deprecated
  430. /Users/ryan/code/sentry/static/app/components/deprecatedforms/genericField.tsx
  431. 92:15 error `BooleanField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  432. 94:15 error `EmailField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  433. 99:17 error `SelectCreatableField` is deprecated. Do not use this
  434. This is a <SelectField> that allows the user to create new options if one does't exist.
  435. This is used in some integrations @typescript-eslint/no-deprecated
  436. 101:15 error `TextField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  437. 103:15 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  438. 105:15 error `TextareaField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  439. /Users/ryan/code/sentry/static/app/components/deprecatedforms/inputField.tsx
  440. 40:9 error `onKeyPress` is deprecated @typescript-eslint/no-deprecated
  441. 55:16 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  442. /Users/ryan/code/sentry/static/app/components/deprecatedforms/numberField.spec.tsx
  443. 9:15 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  444. 13:15 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  445. 17:15 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  446. 24:12 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  447. 33:12 error `NumberField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  448. /Users/ryan/code/sentry/static/app/components/deprecatedforms/numberField.tsx
  449. 6:5 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  450. 13:42 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  451. /Users/ryan/code/sentry/static/app/components/deprecatedforms/passwordField.tsx
  452. 5:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  453. 11:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  454. 17:44 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  455. 19:8 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  456. 25:5 error `super` is deprecated. Do not use this @typescript-eslint/no-deprecated
  457. 58:14 error `super` is deprecated. Do not use this @typescript-eslint/no-deprecated
  458. 64:17 error `super` is deprecated. Do not use this @typescript-eslint/no-deprecated
  459. /Users/ryan/code/sentry/static/app/components/deprecatedforms/selectCreatableField.spec.tsx
  460. 9:8 error `SelectCreatableField` is deprecated. Do not use this
  461. This is a <SelectField> that allows the user to create new options if one does't exist.
  462. This is used in some integrations @typescript-eslint/no-deprecated
  463. 23:13 error `SelectCreatableField` is deprecated. Do not use this
  464. This is a <SelectField> that allows the user to create new options if one does't exist.
  465. This is used in some integrations @typescript-eslint/no-deprecated
  466. 36:13 error `SelectCreatableField` is deprecated. Do not use this
  467. This is a <SelectField> that allows the user to create new options if one does't exist.
  468. This is used in some integrations @typescript-eslint/no-deprecated
  469. 52:10 error `SelectCreatableField` is deprecated. Do not use this
  470. This is a <SelectField> that allows the user to create new options if one does't exist.
  471. This is used in some integrations @typescript-eslint/no-deprecated
  472. /Users/ryan/code/sentry/static/app/components/deprecatedforms/textField.spec.tsx
  473. 9:15 error `TextField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  474. 15:12 error `TextField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  475. /Users/ryan/code/sentry/static/app/components/deprecatedforms/textField.tsx
  476. 3:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  477. 12:40 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  478. /Users/ryan/code/sentry/static/app/components/deprecatedforms/textareaField.tsx
  479. 3:14 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  480. 12:44 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  481. 12:55 error `InputField` is deprecated. Do not use this @typescript-eslint/no-deprecated
  482. /Users/ryan/code/sentry/static/app/components/discover/transactionsList.tsx
  483. 115:26 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  484. 116:30 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  485. 239:5 error `browserHistory` is deprecated. Prefer using useNavigate
  486. browserHistory is a hold-over from react-router 3 days. In react-router 6
  487. the useNavigate hook is the native way to trigger navigation events.
  488. browserHistory.push('/next') -> navigate('/next')
  489. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  490. You may also use a LocationDescriptor object
  491. browserHistory.push({...location, query: {someKey: 1}})
  492. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  493. /Users/ryan/code/sentry/static/app/components/discover/transactionsTable.tsx
  494. 32:34 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  495. 48:26 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  496. 49:30 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  497. 130:33 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  498. /Users/ryan/code/sentry/static/app/components/draggableTabs/item.tsx
  499. 12:68 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  500. /Users/ryan/code/sentry/static/app/components/dropdownLink.tsx
  501. 16:35 error `hover` is deprecated @typescript-eslint/no-deprecated
  502. 31:25 error `hover` is deprecated @typescript-eslint/no-deprecated
  503. 40:8 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  504. 41:16 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  505. 43:18 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  506. 85:6 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  507. /Users/ryan/code/sentry/static/app/components/dropdownMenu/index.tsx
  508. 86:21 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  509. /Users/ryan/code/sentry/static/app/components/dropdownMenu/list.tsx
  510. 63:22 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  511. 67:21 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  512. 121:20 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  513. 215:40 error `childNodes` is deprecated. Use `collection.getChildren(node.key)` instead @typescript-eslint/no-deprecated
  514. /Users/ryan/code/sentry/static/app/components/emptyStateWarning.tsx
  515. 24:32 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  516. /Users/ryan/code/sentry/static/app/components/errorBoundary.tsx
  517. 48:35 error `browserHistory` is deprecated. Prefer using useNavigate
  518. browserHistory is a hold-over from react-router 3 days. In react-router 6
  519. the useNavigate hook is the native way to trigger navigation events.
  520. browserHistory.push('/next') -> navigate('/next')
  521. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  522. You may also use a LocationDescriptor object
  523. browserHistory.push({...location, query: {someKey: 1}})
  524. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  525. 85:54 error `browserHistory` is deprecated. Prefer using useNavigate
  526. browserHistory is a hold-over from react-router 3 days. In react-router 6
  527. the useNavigate hook is the native way to trigger navigation events.
  528. browserHistory.push('/next') -> navigate('/next')
  529. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  530. You may also use a LocationDescriptor object
  531. browserHistory.push({...location, query: {someKey: 1}})
  532. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  533. /Users/ryan/code/sentry/static/app/components/events/eventMetadata.tsx
  534. 40:8 error `Projects` is deprecated. consider using useProjects if possible.
  535. This is a utility component that should be used to fetch an organization's projects (summary).
  536. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  537. These will be passed down to the render prop (`children`).
  538. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  539. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  540. /Users/ryan/code/sentry/static/app/components/events/eventTags/eventTagsPill.tsx
  541. 49:16 error `EventTagsPill` is deprecated. Legacy design, use EventTagsTreeRow instead @typescript-eslint/no-deprecated
  542. /Users/ryan/code/sentry/static/app/components/events/groupingInfo/groupingComponentFrames.tsx
  543. 40:32 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  544. 59:33 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  545. /Users/ryan/code/sentry/static/app/components/events/interfaces/crons/cronTimelineSection.tsx
  546. 43:22 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  547. use{Location,Params,Routes,Navigate}.
  548. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  549. /Users/ryan/code/sentry/static/app/components/events/interfaces/frame/line/expander.tsx
  550. 31:59 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  551. /Users/ryan/code/sentry/static/app/components/events/interfaces/keyValueList/index.tsx
  552. 109:61 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  553. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/aggregateSpanDetail.tsx
  554. 111:10 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  555. 114:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  556. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/dragManager.tsx
  557. 50:50 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  558. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/newTraceDetailsSpanBar.tsx
  559. 822:9 error `browserHistory` is deprecated. Prefer using useNavigate
  560. browserHistory is a hold-over from react-router 3 days. In react-router 6
  561. the useNavigate hook is the native way to trigger navigation events.
  562. browserHistory.push('/next') -> navigate('/next')
  563. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  564. You may also use a LocationDescriptor object
  565. browserHistory.push({...location, query: {someKey: 1}})
  566. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  567. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/newTraceDetailsSpanDetails.tsx
  568. 694:10 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  569. 697:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  570. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/newTraceDetailsSpanTree.tsx
  571. 295:7 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  572. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/spanDetail.tsx
  573. 675:10 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  574. 678:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  575. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/spanTree.tsx
  576. 291:7 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  577. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/types.tsx
  578. 320:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  579. /Users/ryan/code/sentry/static/app/components/events/interfaces/spans/utils.tsx
  580. 880:5 error `browserHistory` is deprecated. Prefer using useNavigate
  581. browserHistory is a hold-over from react-router 3 days. In react-router 6
  582. the useNavigate hook is the native way to trigger navigation events.
  583. browserHistory.push('/next') -> navigate('/next')
  584. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  585. You may also use a LocationDescriptor object
  586. browserHistory.push({...location, query: {someKey: 1}})
  587. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  588. /Users/ryan/code/sentry/static/app/components/events/viewHierarchy/node.tsx
  589. 35:25 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  590. 37:20 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  591. /Users/ryan/code/sentry/static/app/components/externalIssues/abstractExternalIssueForm.tsx
  592. 23:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  593. Read the dev docs page on network requests for more information [1].
  594. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  595. 40:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  596. Read the dev docs page on network requests for more information [1].
  597. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  598. 53:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  599. Read the dev docs page on network requests for more information [1].
  600. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  601. 59:10 error `super` is deprecated. use useApiQuery instead
  602. Read the dev docs page on network requests for more information [1].
  603. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  604. /Users/ryan/code/sentry/static/app/components/feedback/feedbackSetupPanel.tsx
  605. 39:15 error `external` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  606. /Users/ryan/code/sentry/static/app/components/forms/apiForm.tsx
  607. 60:16 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  608. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  609. /Users/ryan/code/sentry/static/app/components/forms/controls/rangeSlider/index.spec.tsx
  610. 9:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  611. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  612. 28:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  613. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  614. 36:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  615. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  616. 58:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  617. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  618. 61:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  619. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  620. 81:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  621. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  622. /Users/ryan/code/sentry/static/app/components/forms/controls/selectControl.tsx
  623. 55:50 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  624. 78:48 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  625. /Users/ryan/code/sentry/static/app/components/forms/fields/accessibility.spec.tsx
  626. 201:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  627. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  628. /Users/ryan/code/sentry/static/app/components/forms/jsonForm.tsx
  629. 189:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  630. /Users/ryan/code/sentry/static/app/components/globalModal/components.tsx
  631. 36:22 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  632. /Users/ryan/code/sentry/static/app/components/gridEditable/index.tsx
  633. 39:24 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  634. /Users/ryan/code/sentry/static/app/components/gridEditable/sortLink.tsx
  635. 43:7 error `browserHistory` is deprecated. Prefer using useNavigate
  636. browserHistory is a hold-over from react-router 3 days. In react-router 6
  637. the useNavigate hook is the native way to trigger navigation events.
  638. browserHistory.push('/next') -> navigate('/next')
  639. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  640. You may also use a LocationDescriptor object
  641. browserHistory.push({...location, query: {someKey: 1}})
  642. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  643. /Users/ryan/code/sentry/static/app/components/group/externalIssueForm.tsx
  644. 46:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  645. Read the dev docs page on network requests for more information [1].
  646. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  647. /Users/ryan/code/sentry/static/app/components/group/tagFacets/index.tsx
  648. 68:28 error `readable` is deprecated. - Use the frontend to get readable device names @typescript-eslint/no-deprecated
  649. /Users/ryan/code/sentry/static/app/components/group/times.tsx
  650. 25:30 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  651. /Users/ryan/code/sentry/static/app/components/groupPreviewTooltip/evidencePreview.tsx
  652. 16:13 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  653. /Users/ryan/code/sentry/static/app/components/groupPreviewTooltip/index.tsx
  654. 10:13 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  655. /Users/ryan/code/sentry/static/app/components/groupPreviewTooltip/stackTracePreview.tsx
  656. 96:19 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  657. /Users/ryan/code/sentry/static/app/components/hotkeysLabel.tsx
  658. 66:26 error `platform` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform) @typescript-eslint/no-deprecated
  659. /Users/ryan/code/sentry/static/app/components/idBadge/index.stories.tsx
  660. 39:21 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  661. new alternatives:
  662. - useTeamsById({ids: []}) - get teams by id
  663. - useTeamsById({slugs: []}) - get teams by slug
  664. - useTeamsById() - just reading from the teams store
  665. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  666. 108:21 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  667. new alternatives:
  668. - useTeamsById({ids: []}) - get teams by id
  669. - useTeamsById({slugs: []}) - get teams by slug
  670. - useTeamsById() - just reading from the teams store
  671. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  672. /Users/ryan/code/sentry/static/app/components/issues/groupList.tsx
  673. 238:5 error `browserHistory` is deprecated. Prefer using useNavigate
  674. browserHistory is a hold-over from react-router 3 days. In react-router 6
  675. the useNavigate hook is the native way to trigger navigation events.
  676. browserHistory.push('/next') -> navigate('/next')
  677. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  678. You may also use a LocationDescriptor object
  679. browserHistory.push({...location, query: {someKey: 1}})
  680. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  681. 353:24 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  682. /Users/ryan/code/sentry/static/app/components/menuItem.tsx
  683. 215:33 error `hover` is deprecated @typescript-eslint/no-deprecated
  684. /Users/ryan/code/sentry/static/app/components/metrics/chart/useMetricReleases.tsx
  685. 112:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  686. use{Location,Params,Routes,Navigate}.
  687. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  688. /Users/ryan/code/sentry/static/app/components/metrics/metricSamplesTable.tsx
  689. 502:8 error `Projects` is deprecated. consider using useProjects if possible.
  690. This is a utility component that should be used to fetch an organization's projects (summary).
  691. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  692. These will be passed down to the render prop (`children`).
  693. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  694. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  695. /Users/ryan/code/sentry/static/app/components/metrics/mriSelect/metricListItemDetails.tsx
  696. 52:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  697. use{Location,Params,Routes,Navigate}.
  698. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  699. /Users/ryan/code/sentry/static/app/components/metrics/queryFieldGroup.tsx
  700. 36:4 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  701. 39:4 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  702. 42:4 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  703. /Users/ryan/code/sentry/static/app/components/modals/createNewIntegrationModal.tsx
  704. 47:19 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  705. 73:19 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  706. 115:13 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  707. /Users/ryan/code/sentry/static/app/components/modals/importDashboardFromFileModal.tsx
  708. 80:5 error `browserHistory` is deprecated. Prefer using useNavigate
  709. browserHistory is a hold-over from react-router 3 days. In react-router 6
  710. the useNavigate hook is the native way to trigger navigation events.
  711. browserHistory.push('/next') -> navigate('/next')
  712. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  713. You may also use a LocationDescriptor object
  714. browserHistory.push({...location, query: {someKey: 1}})
  715. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  716. /Users/ryan/code/sentry/static/app/components/modals/inviteMembersModal/emailValue.tsx
  717. 32:41 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  718. 34:28 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  719. /Users/ryan/code/sentry/static/app/components/modals/issueOwnershipRuleModal.tsx
  720. 31:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  721. /Users/ryan/code/sentry/static/app/components/modals/metricWidgetViewerModal/queries.tsx
  722. 286:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  723. use{Location,Params,Routes,Navigate}.
  724. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  725. /Users/ryan/code/sentry/static/app/components/modals/redirectToProject.tsx
  726. 93:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  727. /Users/ryan/code/sentry/static/app/components/modals/sentryAppDetailsModal.tsx
  728. 29:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  729. Read the dev docs page on network requests for more information [1].
  730. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  731. 33:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  732. Read the dev docs page on network requests for more information [1].
  733. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  734. 36:52 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  735. Read the dev docs page on network requests for more information [1].
  736. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  737. 48:5 error `super` is deprecated. use useApiQuery instead
  738. Read the dev docs page on network requests for more information [1].
  739. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  740. 56:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  741. 70:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  742. Read the dev docs page on network requests for more information [1].
  743. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  744. /Users/ryan/code/sentry/static/app/components/modals/widgetViewerModal.tsx
  745. 453:14 error `truncate` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  746. /Users/ryan/code/sentry/static/app/components/numberDragControl.tsx
  747. 71:52 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  748. 72:55 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  749. /Users/ryan/code/sentry/static/app/components/onboarding/platformOptionsControl.tsx
  750. 20:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  751. use{Location,Params,Routes,Navigate}.
  752. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  753. 83:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  754. use{Location,Params,Routes,Navigate}.
  755. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  756. /Users/ryan/code/sentry/static/app/components/onboardingWizard/deprecatedNewSidebar.tsx
  757. 72:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  758. use{Location,Params,Routes,Navigate}.
  759. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  760. /Users/ryan/code/sentry/static/app/components/onboardingWizard/newSidebar.tsx
  761. 252:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  762. use{Location,Params,Routes,Navigate}.
  763. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  764. /Users/ryan/code/sentry/static/app/components/onboardingWizard/task.tsx
  765. 64:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  766. use{Location,Params,Routes,Navigate}.
  767. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  768. /Users/ryan/code/sentry/static/app/components/organizations/datePageFilter.spec.tsx
  769. 85:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  770. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  771. 86:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  772. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  773. /Users/ryan/code/sentry/static/app/components/organizations/datePageFilter.tsx
  774. 33:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  775. use{Location,Params,Routes,Navigate}.
  776. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  777. /Users/ryan/code/sentry/static/app/components/organizations/environmentPageFilter/index.spec.tsx
  778. 79:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  779. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  780. 80:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  781. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  782. /Users/ryan/code/sentry/static/app/components/organizations/environmentPageFilter/index.tsx
  783. 65:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  784. use{Location,Params,Routes,Navigate}.
  785. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  786. /Users/ryan/code/sentry/static/app/components/organizations/hybridFilter.spec.tsx
  787. 66:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  788. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  789. 67:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  790. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  791. 95:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  792. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  793. 97:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  794. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  795. 98:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  796. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  797. 113:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  798. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  799. 143:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  800. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  801. 184:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  802. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  803. /Users/ryan/code/sentry/static/app/components/organizations/pageFilters/container.tsx
  804. 74:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  805. use{Location,Params,Routes,Navigate}.
  806. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  807. /Users/ryan/code/sentry/static/app/components/organizations/pageFilters/desyncedFilter.tsx
  808. 15:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  809. use{Location,Params,Routes,Navigate}.
  810. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  811. /Users/ryan/code/sentry/static/app/components/organizations/projectPageFilter/index.spec.tsx
  812. 86:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  813. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  814. 87:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  815. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  816. 90:11 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  817. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  818. /Users/ryan/code/sentry/static/app/components/organizations/projectPageFilter/index.tsx
  819. 97:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  820. use{Location,Params,Routes,Navigate}.
  821. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  822. /Users/ryan/code/sentry/static/app/components/pagination.tsx
  823. 39:3 error `browserHistory` is deprecated. Prefer using useNavigate
  824. browserHistory is a hold-over from react-router 3 days. In react-router 6
  825. the useNavigate hook is the native way to trigger navigation events.
  826. browserHistory.push('/next') -> navigate('/next')
  827. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  828. You may also use a LocationDescriptor object
  829. browserHistory.push({...location, query: {someKey: 1}})
  830. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  831. /Users/ryan/code/sentry/static/app/components/performance/searchBar.tsx
  832. 241:5 error `browserHistory` is deprecated. Prefer using useNavigate
  833. browserHistory is a hold-over from react-router 3 days. In react-router 6
  834. the useNavigate hook is the native way to trigger navigation events.
  835. browserHistory.push('/next') -> navigate('/next')
  836. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  837. You may also use a LocationDescriptor object
  838. browserHistory.push({...location, query: {someKey: 1}})
  839. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  840. /Users/ryan/code/sentry/static/app/components/performance/waterfall/utils.tsx
  841. 212:29 error `pageXOffset` is deprecated. This is a legacy alias of `scrollX`.
  842. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) @typescript-eslint/no-deprecated
  843. 213:28 error `pageYOffset` is deprecated. This is a legacy alias of `scrollY`.
  844. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) @typescript-eslint/no-deprecated
  845. /Users/ryan/code/sentry/static/app/components/profiling/profilingContextMenu.tsx
  846. 41:50 error `hover` is deprecated @typescript-eslint/no-deprecated
  847. 45:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  848. 122:50 error `hover` is deprecated @typescript-eslint/no-deprecated
  849. 128:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  850. /Users/ryan/code/sentry/static/app/components/quickTrace/index.tsx
  851. 207:8 error `Projects` is deprecated. consider using useProjects if possible.
  852. This is a utility component that should be used to fetch an organization's projects (summary).
  853. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  854. These will be passed down to the render prop (`children`).
  855. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  856. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  857. 537:10 error `Projects` is deprecated. consider using useProjects if possible.
  858. This is a utility component that should be used to fetch an organization's projects (summary).
  859. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  860. These will be passed down to the render prop (`children`).
  861. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  862. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  863. /Users/ryan/code/sentry/static/app/components/replays/canvasReplayerPlugin.tsx
  864. 279:18 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  865. 361:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  866. /Users/ryan/code/sentry/static/app/components/replays/queryBasedSortLinkGenerator.tsx
  867. 7:65 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  868. /Users/ryan/code/sentry/static/app/components/replays/replayProcessingError.tsx
  869. 27:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  870. /Users/ryan/code/sentry/static/app/components/replays/videoReplayer.spec.tsx
  871. 124:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  872. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  873. 335:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  874. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  875. /Users/ryan/code/sentry/static/app/components/replaysOnboarding/platformOptionDropdown.tsx
  876. 59:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  877. use{Location,Params,Routes,Navigate}.
  878. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  879. /Users/ryan/code/sentry/static/app/components/resultGrid.tsx
  880. 56:13 error `browserHistory` is deprecated. Prefer using useNavigate
  881. browserHistory is a hold-over from react-router 3 days. In react-router 6
  882. the useNavigate hook is the native way to trigger navigation events.
  883. browserHistory.push('/next') -> navigate('/next')
  884. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  885. You may also use a LocationDescriptor object
  886. browserHistory.push({...location, query: {someKey: 1}})
  887. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  888. 58:13 error `browserHistory` is deprecated. Prefer using useNavigate
  889. browserHistory is a hold-over from react-router 3 days. In react-router 6
  890. the useNavigate hook is the native way to trigger navigation events.
  891. browserHistory.push('/next') -> navigate('/next')
  892. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  893. You may also use a LocationDescriptor object
  894. browserHistory.push({...location, query: {someKey: 1}})
  895. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  896. 111:13 error `browserHistory` is deprecated. Prefer using useNavigate
  897. browserHistory is a hold-over from react-router 3 days. In react-router 6
  898. the useNavigate hook is the native way to trigger navigation events.
  899. browserHistory.push('/next') -> navigate('/next')
  900. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  901. You may also use a LocationDescriptor object
  902. browserHistory.push({...location, query: {someKey: 1}})
  903. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  904. 278:5 error `browserHistory` is deprecated. Prefer using useNavigate
  905. browserHistory is a hold-over from react-router 3 days. In react-router 6
  906. the useNavigate hook is the native way to trigger navigation events.
  907. browserHistory.push('/next') -> navigate('/next')
  908. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  909. You may also use a LocationDescriptor object
  910. browserHistory.push({...location, query: {someKey: 1}})
  911. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  912. /Users/ryan/code/sentry/static/app/components/search/index.tsx
  913. 85:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  914. use{Location,Params,Routes,Navigate}.
  915. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  916. /Users/ryan/code/sentry/static/app/components/search/sources/apiSource.tsx
  917. 516:34 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  918. /Users/ryan/code/sentry/static/app/components/search/sources/formSource.tsx
  919. 117:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  920. /Users/ryan/code/sentry/static/app/components/search/sources/helpSource.tsx
  921. 147:34 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  922. /Users/ryan/code/sentry/static/app/components/searchQueryBuilder/tokens/deletableToken.tsx
  923. 79:24 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  924. /Users/ryan/code/sentry/static/app/components/searchQueryBuilder/tokens/filter/filter.tsx
  925. 174:18 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  926. /Users/ryan/code/sentry/static/app/components/segmentedControl.tsx
  927. 112:6 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  928. /Users/ryan/code/sentry/static/app/components/sidebar/help.tsx
  929. 25:6 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  930. /Users/ryan/code/sentry/static/app/components/sidebar/sidebarDropdown/index.tsx
  931. 88:6 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  932. /Users/ryan/code/sentry/static/app/components/sidebar/sidebarDropdown/switchOrganization.tsx
  933. 86:6 error `DeprecatedDropdownMenu` is deprecated @typescript-eslint/no-deprecated
  934. /Users/ryan/code/sentry/static/app/components/sidebar/sidebarItem.tsx
  935. 155:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  936. use{Location,Params,Routes,Navigate}.
  937. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  938. 446:39 error `hover` is deprecated @typescript-eslint/no-deprecated
  939. /Users/ryan/code/sentry/static/app/components/slider/index.tsx
  940. 89:5 error `allowedValues` is deprecated @typescript-eslint/no-deprecated
  941. 284:15 error `isRequired` is deprecated @typescript-eslint/no-deprecated
  942. /Users/ryan/code/sentry/static/app/components/smartSearchBar/index.spec.tsx
  943. 255:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  944. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  945. 270:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  946. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  947. 283:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  948. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  949. 298:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  950. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  951. 982:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  952. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  953. 993:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  954. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  955. 994:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  956. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  957. 995:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  958. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  959. 998:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  960. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  961. 1013:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  962. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  963. 1029:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  964. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  965. /Users/ryan/code/sentry/static/app/components/smartSearchBar/index.tsx
  966. 667:44 error `execCommand` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand) @typescript-eslint/no-deprecated
  967. 690:21 error `execCommand` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand) @typescript-eslint/no-deprecated
  968. 702:44 error `execCommand` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand) @typescript-eslint/no-deprecated
  969. 718:23 error `execCommand` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand) @typescript-eslint/no-deprecated
  970. 741:44 error `execCommand` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand) @typescript-eslint/no-deprecated
  971. 2206:24 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  972. /Users/ryan/code/sentry/static/app/components/smartSearchBar/searchDropdown.tsx
  973. 560:33 error `hover` is deprecated @typescript-eslint/no-deprecated
  974. /Users/ryan/code/sentry/static/app/components/splitPanel.tsx
  975. 29:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  976. /Users/ryan/code/sentry/static/app/components/structuredEventData/collapsibleValue.tsx
  977. 53:68 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  978. /Users/ryan/code/sentry/static/app/components/structuredEventData/utils.tsx
  979. 12:11 error `substr` is deprecated. A legacy feature for browser compatibility @typescript-eslint/no-deprecated
  980. /Users/ryan/code/sentry/static/app/components/tabs/item.tsx
  981. 12:59 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  982. /Users/ryan/code/sentry/static/app/components/teamSelector.tsx
  983. 157:39 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  984. new alternatives:
  985. - useTeamsById({ids: []}) - get teams by id
  986. - useTeamsById({slugs: []}) - get teams by slug
  987. - useTeamsById() - just reading from the teams store
  988. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  989. 407:6 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  990. /Users/ryan/code/sentry/static/app/components/timeRangeSelector/dateRange.tsx
  991. 241:36 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  992. /Users/ryan/code/sentry/static/app/components/timeRangeSelector/index.spec.tsx
  993. 101:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  994. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  995. 102:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  996. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  997. 133:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  998. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  999. 134:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1000. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1001. 157:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1002. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1003. 161:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1004. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1005. /Users/ryan/code/sentry/static/app/components/timeRangeSelector/index.tsx
  1006. 170:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1007. use{Location,Params,Routes,Navigate}.
  1008. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1009. /Users/ryan/code/sentry/static/app/icons/svgIcon.tsx
  1010. 25:5 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  1011. /Users/ryan/code/sentry/static/app/locale.tsx
  1012. 405:4 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1013. 407:61 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1014. /Users/ryan/code/sentry/static/app/main.tsx
  1015. 23:37 error `wrapCreateBrowserRouter` is deprecated. Use `wrapCreateBrowserRouterV6` or `wrapCreateBrowserRouterV7` instead @typescript-eslint/no-deprecated
  1016. /Users/ryan/code/sentry/static/app/plugins/components/settings.tsx
  1017. 58:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  1018. /Users/ryan/code/sentry/static/app/plugins/pluginComponentBase.tsx
  1019. 30:5 error `super` is deprecated @typescript-eslint/no-deprecated
  1020. /Users/ryan/code/sentry/static/app/routes.tsx
  1021. 2444:38 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1022. /Users/ryan/code/sentry/static/app/stores/configStore.tsx
  1023. 36:38 error `user` is deprecated @typescript-eslint/no-deprecated
  1024. 45:16 error `user` is deprecated @typescript-eslint/no-deprecated
  1025. 46:14 error `user` is deprecated @typescript-eslint/no-deprecated
  1026. 46:48 error `user` is deprecated @typescript-eslint/no-deprecated
  1027. 47:35 error `user` is deprecated @typescript-eslint/no-deprecated
  1028. /Users/ryan/code/sentry/static/app/utils/browserHistory.tsx
  1029. 121:3 error `browserHistory` is deprecated. Prefer using useNavigate
  1030. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1031. the useNavigate hook is the native way to trigger navigation events.
  1032. browserHistory.push('/next') -> navigate('/next')
  1033. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1034. You may also use a LocationDescriptor object
  1035. browserHistory.push({...location, query: {someKey: 1}})
  1036. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1037. 125:3 error `browserHistory` is deprecated. Prefer using useNavigate
  1038. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1039. the useNavigate hook is the native way to trigger navigation events.
  1040. browserHistory.push('/next') -> navigate('/next')
  1041. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1042. You may also use a LocationDescriptor object
  1043. browserHistory.push({...location, query: {someKey: 1}})
  1044. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1045. /Users/ryan/code/sentry/static/app/utils/dashboards/issueFieldRenderers.tsx
  1046. 100:12 error `DeprecatedAssigneeSelector` is deprecated. use AssigneeSelectorDropdown instead (Coming in future PR) @typescript-eslint/no-deprecated
  1047. 275:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  1048. /Users/ryan/code/sentry/static/app/utils/discover/eventView.tsx
  1049. 775:35 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1050. 1072:37 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1051. /Users/ryan/code/sentry/static/app/utils/discover/fieldRenderers.tsx
  1052. 600:12 error `Projects` is deprecated. consider using useProjects if possible.
  1053. This is a utility component that should be used to fetch an organization's projects (summary).
  1054. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1055. These will be passed down to the render prop (`children`).
  1056. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1057. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1058. 975:19 error `browserHistory` is deprecated. Prefer using useNavigate
  1059. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1060. the useNavigate hook is the native way to trigger navigation events.
  1061. browserHistory.push('/next') -> navigate('/next')
  1062. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1063. You may also use a LocationDescriptor object
  1064. browserHistory.push({...location, query: {someKey: 1}})
  1065. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1066. /Users/ryan/code/sentry/static/app/utils/discover/genericDiscoverQuery.tsx
  1067. 399:5 error `forceAppendRawQueryString` is deprecated @typescript-eslint/no-deprecated
  1068. /Users/ryan/code/sentry/static/app/utils/discover/urls.tsx
  1069. 110:12 error `getTransactionDetailsUrl` is deprecated. Use generateLinkToEventInTraceView instead, since we are pushing towards events always being displayed in the trace view @typescript-eslint/no-deprecated
  1070. /Users/ryan/code/sentry/static/app/utils/discover/viewReplayLink.tsx
  1071. 15:13 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1072. /Users/ryan/code/sentry/static/app/utils/issueTypeConfig/types.tsx
  1073. 80:27 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1074. /Users/ryan/code/sentry/static/app/utils/marked.tsx
  1075. 16:44 error `unescape` is deprecated. A legacy feature for browser compatibility @typescript-eslint/no-deprecated
  1076. 38:22 error `sanitize` is deprecated. Warning: This feature is deprecated and it should NOT be used as it cannot be considered secure. Instead use a sanitize library, like DOMPurify (recommended), sanitize-html or insane on the output HTML! @typescript-eslint/no-deprecated
  1077. /Users/ryan/code/sentry/static/app/utils/metrics/dashboard.tsx
  1078. 73:10 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1079. /Users/ryan/code/sentry/static/app/utils/metrics/index.tsx
  1080. 222:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1081. use{Location,Params,Routes,Navigate}.
  1082. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1083. 235:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1084. use{Location,Params,Routes,Navigate}.
  1085. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1086. /Users/ryan/code/sentry/static/app/utils/metrics/useIncrementQueryMetric.tsx
  1087. 31:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  1088. /Users/ryan/code/sentry/static/app/utils/oxfordizeArray.tsx
  1089. 30:25 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1090. /Users/ryan/code/sentry/static/app/utils/performance/contexts/metricsEnhancedSetting.tsx
  1091. 136:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1092. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1093. the useNavigate hook is the native way to trigger navigation events.
  1094. browserHistory.push('/next') -> navigate('/next')
  1095. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1096. You may also use a LocationDescriptor object
  1097. browserHistory.push({...location, query: {someKey: 1}})
  1098. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1099. /Users/ryan/code/sentry/static/app/utils/performance/contexts/onDemandControl.tsx
  1100. 52:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1101. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1102. the useNavigate hook is the native way to trigger navigation events.
  1103. browserHistory.push('/next') -> navigate('/next')
  1104. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1105. You may also use a LocationDescriptor object
  1106. browserHistory.push({...location, query: {someKey: 1}})
  1107. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1108. /Users/ryan/code/sentry/static/app/utils/performance/vitals/vitalsDetailsTableQuery.tsx
  1109. 9:24 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1110. /Users/ryan/code/sentry/static/app/utils/performanceForSentry/index.tsx
  1111. 46:19 error `timestampInSeconds` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1112. 209:16 error `browserPerformanceTimeOrigin` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1113. 342:8 error `browserPerformanceTimeOrigin` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1114. 647:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  1115. /Users/ryan/code/sentry/static/app/utils/profiling/flamegraph/flamegraphStateProvider/flamegraphQueryParamSync.tsx
  1116. 178:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1117. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1118. the useNavigate hook is the native way to trigger navigation events.
  1119. browserHistory.push('/next') -> navigate('/next')
  1120. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1121. You may also use a LocationDescriptor object
  1122. browserHistory.push({...location, query: {someKey: 1}})
  1123. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1124. /Users/ryan/code/sentry/static/app/utils/profiling/routes.tsx
  1125. 180:12 error `dropUndefinedKeys` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1126. 255:14 error `dropUndefinedKeys` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1127. 270:14 error `dropUndefinedKeys` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1128. /Users/ryan/code/sentry/static/app/utils/profiling/spanTree.tsx
  1129. 156:26 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1130. /Users/ryan/code/sentry/static/app/utils/projects.tsx
  1131. 450:16 error `Projects` is deprecated. consider using useProjects if possible.
  1132. This is a utility component that should be used to fetch an organization's projects (summary).
  1133. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1134. These will be passed down to the render prop (`children`).
  1135. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1136. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1137. /Users/ryan/code/sentry/static/app/utils/reactRouter6Compat/router.tsx
  1138. 21:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1139. 42:20 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1140. use{Location,Params,Routes,Navigate}.
  1141. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1142. 63:38 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1143. 113:47 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1144. /Users/ryan/code/sentry/static/app/utils/replays/hooks/useActiveReplayTab.spec.tsx
  1145. 40:12 error `browserHistory` is deprecated. Prefer using useNavigate
  1146. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1147. the useNavigate hook is the native way to trigger navigation events.
  1148. browserHistory.push('/next') -> navigate('/next')
  1149. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1150. You may also use a LocationDescriptor object
  1151. browserHistory.push({...location, query: {someKey: 1}})
  1152. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1153. 54:12 error `browserHistory` is deprecated. Prefer using useNavigate
  1154. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1155. the useNavigate hook is the native way to trigger navigation events.
  1156. browserHistory.push('/next') -> navigate('/next')
  1157. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1158. You may also use a LocationDescriptor object
  1159. browserHistory.push({...location, query: {someKey: 1}})
  1160. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1161. /Users/ryan/code/sentry/static/app/utils/replays/hooks/useLogReplayDataLoaded.tsx
  1162. 73:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  1163. 80:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  1164. /Users/ryan/code/sentry/static/app/utils/replays/playback/hooks/useEmitTimestampChanges.tsx
  1165. 18:5 error `replayPlayerTimestampEmitter` is deprecated. This emitter is a singleton that sends some global state around.
  1166. If there are multiple replay instances on the page values will be confusing.
  1167. A better implementation would nest the consumer under the same
  1168. <ReplayCurrentTimeContextProvider> ancestor node @typescript-eslint/no-deprecated
  1169. /Users/ryan/code/sentry/static/app/utils/replays/replayReader.tsx
  1170. 224:50 error `replayTimestamps` is deprecated. Once the backend returns the corrected timestamps, this is not needed @typescript-eslint/no-deprecated
  1171. /Users/ryan/code/sentry/static/app/utils/teams.tsx
  1172. 5:38 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1173. new alternatives:
  1174. - useTeamsById({ids: []}) - get teams by id
  1175. - useTeamsById({slugs: []}) - get teams by slug
  1176. - useTeamsById() - just reading from the teams store
  1177. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1178. 7:32 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1179. new alternatives:
  1180. - useTeamsById({ids: []}) - get teams by id
  1181. - useTeamsById({slugs: []}) - get teams by slug
  1182. - useTeamsById() - just reading from the teams store
  1183. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1184. 17:23 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1185. new alternatives:
  1186. - useTeamsById({ids: []}) - get teams by id
  1187. - useTeamsById({slugs: []}) - get teams by slug
  1188. - useTeamsById() - just reading from the teams store
  1189. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1190. /Users/ryan/code/sentry/static/app/utils/theme.tsx
  1191. 294:17 error `surface500` is deprecated @typescript-eslint/no-deprecated
  1192. 583:29 error `hover` is deprecated @typescript-eslint/no-deprecated
  1193. /Users/ryan/code/sentry/static/app/utils/useCleanQueryParamsOnRouteLeave.spec.tsx
  1194. 15:46 error `browserHistory` is deprecated. Prefer using useNavigate
  1195. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1196. the useNavigate hook is the native way to trigger navigation events.
  1197. browserHistory.push('/next') -> navigate('/next')
  1198. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1199. You may also use a LocationDescriptor object
  1200. browserHistory.push({...location, query: {someKey: 1}})
  1201. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1202. 16:47 error `browserHistory` is deprecated. Prefer using useNavigate
  1203. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1204. the useNavigate hook is the native way to trigger navigation events.
  1205. browserHistory.push('/next') -> navigate('/next')
  1206. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1207. You may also use a LocationDescriptor object
  1208. browserHistory.push({...location, query: {someKey: 1}})
  1209. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1210. /Users/ryan/code/sentry/static/app/utils/useCleanQueryParamsOnRouteLeave.tsx
  1211. 39:3 error `browserHistory` is deprecated. Prefer using useNavigate
  1212. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1213. the useNavigate hook is the native way to trigger navigation events.
  1214. browserHistory.push('/next') -> navigate('/next')
  1215. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1216. You may also use a LocationDescriptor object
  1217. browserHistory.push({...location, query: {someKey: 1}})
  1218. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1219. 62:12 error `browserHistory` is deprecated. Prefer using useNavigate
  1220. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1221. the useNavigate hook is the native way to trigger navigation events.
  1222. browserHistory.push('/next') -> navigate('/next')
  1223. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1224. You may also use a LocationDescriptor object
  1225. browserHistory.push({...location, query: {someKey: 1}})
  1226. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1227. /Users/ryan/code/sentry/static/app/utils/useHotkeys.tsx
  1228. 19:30 error `keyCode` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/keyCode) @typescript-eslint/no-deprecated
  1229. /Users/ryan/code/sentry/static/app/utils/useOwners.tsx
  1230. 51:7 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1231. new alternatives:
  1232. - useTeamsById({ids: []}) - get teams by id
  1233. - useTeamsById({slugs: []}) - get teams by slug
  1234. - useTeamsById() - just reading from the teams store
  1235. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1236. /Users/ryan/code/sentry/static/app/utils/useRouter.spec.tsx
  1237. 14:22 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1238. use{Location,Params,Routes,Navigate}.
  1239. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1240. /Users/ryan/code/sentry/static/app/utils/useRouter.tsx
  1241. 74:16 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1242. use{Location,Params,Routes,Navigate}.
  1243. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1244. /Users/ryan/code/sentry/static/app/utils/useTeams.spec.tsx
  1245. 23:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1246. new alternatives:
  1247. - useTeamsById({ids: []}) - get teams by id
  1248. - useTeamsById({slugs: []}) - get teams by slug
  1249. - useTeamsById() - just reading from the teams store
  1250. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1251. 40:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1252. new alternatives:
  1253. - useTeamsById({ids: []}) - get teams by id
  1254. - useTeamsById({slugs: []}) - get teams by slug
  1255. - useTeamsById() - just reading from the teams store
  1256. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1257. 67:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1258. new alternatives:
  1259. - useTeamsById({ids: []}) - get teams by id
  1260. - useTeamsById({slugs: []}) - get teams by slug
  1261. - useTeamsById() - just reading from the teams store
  1262. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1263. 85:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1264. new alternatives:
  1265. - useTeamsById({ids: []}) - get teams by id
  1266. - useTeamsById({slugs: []}) - get teams by slug
  1267. - useTeamsById() - just reading from the teams store
  1268. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1269. 101:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1270. new alternatives:
  1271. - useTeamsById({ids: []}) - get teams by id
  1272. - useTeamsById({slugs: []}) - get teams by slug
  1273. - useTeamsById() - just reading from the teams store
  1274. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1275. 111:33 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1276. new alternatives:
  1277. - useTeamsById({ids: []}) - get teams by id
  1278. - useTeamsById({slugs: []}) - get teams by slug
  1279. - useTeamsById() - just reading from the teams store
  1280. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1281. /Users/ryan/code/sentry/static/app/utils/useTeams.tsx
  1282. 170:34 error `slugs` is deprecated. use `useTeamsById({slugs: []})` @typescript-eslint/no-deprecated
  1283. 170:41 error `provideUserTeams` is deprecated. use `useUserTeams()` @typescript-eslint/no-deprecated
  1284. /Users/ryan/code/sentry/static/app/utils/useUrlParams.spec.tsx
  1285. 51:12 error `browserHistory` is deprecated. Prefer using useNavigate
  1286. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1287. the useNavigate hook is the native way to trigger navigation events.
  1288. browserHistory.push('/next') -> navigate('/next')
  1289. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1290. You may also use a LocationDescriptor object
  1291. browserHistory.push({...location, query: {someKey: 1}})
  1292. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1293. 68:12 error `browserHistory` is deprecated. Prefer using useNavigate
  1294. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1295. the useNavigate hook is the native way to trigger navigation events.
  1296. browserHistory.push('/next') -> navigate('/next')
  1297. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1298. You may also use a LocationDescriptor object
  1299. browserHistory.push({...location, query: {someKey: 1}})
  1300. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1301. /Users/ryan/code/sentry/static/app/utils/useUrlParams.tsx
  1302. 42:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1303. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1304. the useNavigate hook is the native way to trigger navigation events.
  1305. browserHistory.push('/next') -> navigate('/next')
  1306. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1307. You may also use a LocationDescriptor object
  1308. browserHistory.push({...location, query: {someKey: 1}})
  1309. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1310. /Users/ryan/code/sentry/static/app/utils/useUser.tsx
  1311. 16:17 error `user` is deprecated @typescript-eslint/no-deprecated
  1312. /Users/ryan/code/sentry/static/app/utils/userselect.tsx
  1313. 20:43 error `webkitUserSelect` is deprecated. This is a legacy alias of `userSelect`.
  1314. [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) @typescript-eslint/no-deprecated
  1315. 30:23 error `webkitUserSelect` is deprecated. This is a legacy alias of `userSelect`.
  1316. [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) @typescript-eslint/no-deprecated
  1317. /Users/ryan/code/sentry/static/app/utils/withSentryRouter.spec.tsx
  1318. 48:30 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  1319. 75:30 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  1320. /Users/ryan/code/sentry/static/app/utils/withSentryRouter.tsx
  1321. 17:20 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1322. use{Location,Params,Routes,Navigate}.
  1323. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1324. 37:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  1325. /Users/ryan/code/sentry/static/app/views/acceptOrganizationInvite/index.tsx
  1326. 30:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1327. Read the dev docs page on network requests for more information [1].
  1328. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1329. 36:40 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1330. Read the dev docs page on network requests for more information [1].
  1331. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1332. 51:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1333. Read the dev docs page on network requests for more information [1].
  1334. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1335. 91:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1336. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1337. the useNavigate hook is the native way to trigger navigation events.
  1338. browserHistory.push('/next') -> navigate('/next')
  1339. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1340. You may also use a LocationDescriptor object
  1341. browserHistory.push({...location, query: {someKey: 1}})
  1342. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1343. /Users/ryan/code/sentry/static/app/views/acceptProjectTransfer/index.tsx
  1344. 22:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1345. Read the dev docs page on network requests for more information [1].
  1346. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1347. 24:37 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1348. Read the dev docs page on network requests for more information [1].
  1349. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1350. 40:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1351. Read the dev docs page on network requests for more information [1].
  1352. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1353. 91:12 error `super` is deprecated. use useApiQuery instead.
  1354. Read the dev docs page on network requests for more information [1].
  1355. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1356. /Users/ryan/code/sentry/static/app/views/admin/adminMail.tsx
  1357. 18:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1358. Read the dev docs page on network requests for more information [1].
  1359. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1360. 20:40 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1361. Read the dev docs page on network requests for more information [1].
  1362. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1363. 21:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1364. Read the dev docs page on network requests for more information [1].
  1365. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1366. /Users/ryan/code/sentry/static/app/views/admin/adminQuotas.tsx
  1367. 16:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1368. Read the dev docs page on network requests for more information [1].
  1369. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1370. 22:42 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1371. Read the dev docs page on network requests for more information [1].
  1372. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1373. 25:10 error `super` is deprecated. use useApiQuery instead.
  1374. Read the dev docs page on network requests for more information [1].
  1375. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1376. 31:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1377. Read the dev docs page on network requests for more information [1].
  1378. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1379. /Users/ryan/code/sentry/static/app/views/admin/adminUserEdit.tsx
  1380. 123:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1381. Read the dev docs page on network requests for more information [1].
  1382. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1383. 125:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1384. Read the dev docs page on network requests for more information [1].
  1385. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1386. 129:29 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1387. Read the dev docs page on network requests for more information [1].
  1388. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1389. 135:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1390. Read the dev docs page on network requests for more information [1].
  1391. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1392. 146:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1393. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1394. the useNavigate hook is the native way to trigger navigation events.
  1395. browserHistory.push('/next') -> navigate('/next')
  1396. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1397. You may also use a LocationDescriptor object
  1398. browserHistory.push({...location, query: {someKey: 1}})
  1399. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1400. /Users/ryan/code/sentry/static/app/views/admin/installWizard/index.tsx
  1401. 29:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1402. Read the dev docs page on network requests for more information [1].
  1403. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1404. 33:44 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1405. Read the dev docs page on network requests for more information [1].
  1406. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1407. 37:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1408. Read the dev docs page on network requests for more information [1].
  1409. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1410. 136:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  1411. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  1412. /Users/ryan/code/sentry/static/app/views/alerts/incidentRedirect.tsx
  1413. 40:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1414. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1415. the useNavigate hook is the native way to trigger navigation events.
  1416. browserHistory.push('/next') -> navigate('/next')
  1417. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1418. You may also use a LocationDescriptor object
  1419. browserHistory.push({...location, query: {someKey: 1}})
  1420. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1421. /Users/ryan/code/sentry/static/app/views/alerts/list/incidents/index.tsx
  1422. 53:29 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1423. Read the dev docs page on network requests for more information [1].
  1424. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1425. 55:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1426. Read the dev docs page on network requests for more information [1].
  1427. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1428. 57:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1429. Read the dev docs page on network requests for more information [1].
  1430. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1431. 241:14 error `Projects` is deprecated. consider using useProjects if possible.
  1432. This is a utility component that should be used to fetch an organization's projects (summary).
  1433. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1434. These will be passed down to the render prop (`children`).
  1435. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1436. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1437. /Users/ryan/code/sentry/static/app/views/alerts/list/rules/alertRulesList.tsx
  1438. 66:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1439. use{Location,Params,Routes,Navigate}.
  1440. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1441. 254:18 error `Projects` is deprecated. consider using useProjects if possible.
  1442. This is a utility component that should be used to fetch an organization's projects (summary).
  1443. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1444. These will be passed down to the render prop (`children`).
  1445. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1446. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1447. /Users/ryan/code/sentry/static/app/views/alerts/list/rules/teamFilter.tsx
  1448. 56:39 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1449. new alternatives:
  1450. - useTeamsById({ids: []}) - get teams by id
  1451. - useTeamsById({slugs: []}) - get teams by slug
  1452. - useTeamsById() - just reading from the teams store
  1453. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1454. /Users/ryan/code/sentry/static/app/views/alerts/rules/issue/index.tsx
  1455. 151:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1456. Read the dev docs page on network requests for more information [1].
  1457. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1458. 175:31 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1459. Read the dev docs page on network requests for more information [1].
  1460. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1461. 189:5 error `super` is deprecated. use useApiQuery instead.
  1462. Read the dev docs page on network requests for more information [1].
  1463. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1464. 193:5 error `super` is deprecated. use useApiQuery instead.
  1465. Read the dev docs page on network requests for more information [1].
  1466. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1467. 244:10 error `super` is deprecated. use useApiQuery instead.
  1468. Read the dev docs page on network requests for more information [1].
  1469. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1470. 262:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1471. Read the dev docs page on network requests for more information [1].
  1472. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1473. 599:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1474. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1475. the useNavigate hook is the native way to trigger navigation events.
  1476. browserHistory.push('/next') -> navigate('/next')
  1477. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1478. You may also use a LocationDescriptor object
  1479. browserHistory.push({...location, query: {someKey: 1}})
  1480. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1481. /Users/ryan/code/sentry/static/app/views/alerts/rules/issue/ticketRuleModal.tsx
  1482. 54:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  1483. Read the dev docs page on network requests for more information [1].
  1484. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1485. /Users/ryan/code/sentry/static/app/views/alerts/rules/metric/details/metricChart.tsx
  1486. 162:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1487. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1488. the useNavigate hook is the native way to trigger navigation events.
  1489. browserHistory.push('/next') -> navigate('/next')
  1490. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1491. You may also use a LocationDescriptor object
  1492. browserHistory.push({...location, query: {someKey: 1}})
  1493. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1494. 660:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  1495. /Users/ryan/code/sentry/static/app/views/alerts/rules/metric/details/relatedIssues.tsx
  1496. 35:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1497. use{Location,Params,Routes,Navigate}.
  1498. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1499. /Users/ryan/code/sentry/static/app/views/alerts/rules/metric/details/relatedTransactions.tsx
  1500. 119:34 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1501. /Users/ryan/code/sentry/static/app/views/alerts/rules/metric/ruleForm.tsx
  1502. 130:7 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1503. Read the dev docs page on network requests for more information [1].
  1504. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1505. 164:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1506. Read the dev docs page on network requests for more information [1].
  1507. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1508. 168:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1509. Read the dev docs page on network requests for more information [1].
  1510. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1511. 174:5 error `super` is deprecated. use useApiQuery instead
  1512. Read the dev docs page on network requests for more information [1].
  1513. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1514. 199:5 error `super` is deprecated. use useApiQuery instead
  1515. Read the dev docs page on network requests for more information [1].
  1516. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1517. 239:10 error `super` is deprecated. use useApiQuery instead
  1518. Read the dev docs page on network requests for more information [1].
  1519. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1520. 277:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1521. Read the dev docs page on network requests for more information [1].
  1522. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1523. /Users/ryan/code/sentry/static/app/views/alerts/rules/uptime/httpSnippet.spec.tsx
  1524. 24:24 error `generateSentryTraceHeader` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1525. /Users/ryan/code/sentry/static/app/views/alerts/rules/uptime/httpSnippet.tsx
  1526. 20:7 error `generateSentryTraceHeader` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1527. /Users/ryan/code/sentry/static/app/views/alerts/rules/uptime/uptimeAlertForm.spec.tsx
  1528. 46:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1529. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1530. 189:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1531. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1532. /Users/ryan/code/sentry/static/app/views/alerts/wizard/index.tsx
  1533. 117:15 error `to` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  1534. /Users/ryan/code/sentry/static/app/views/app/root.tsx
  1535. 31:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1536. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1537. the useNavigate hook is the native way to trigger navigation events.
  1538. browserHistory.push('/next') -> navigate('/next')
  1539. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1540. You may also use a LocationDescriptor object
  1541. browserHistory.push({...location, query: {someKey: 1}})
  1542. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1543. /Users/ryan/code/sentry/static/app/views/auth/loginForm.tsx
  1544. 74:11 error `browserHistory` is deprecated. Prefer using useNavigate
  1545. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1546. the useNavigate hook is the native way to trigger navigation events.
  1547. browserHistory.push('/next') -> navigate('/next')
  1548. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1549. You may also use a LocationDescriptor object
  1550. browserHistory.push({...location, query: {someKey: 1}})
  1551. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1552. /Users/ryan/code/sentry/static/app/views/auth/registerForm.tsx
  1553. 32:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1554. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1555. the useNavigate hook is the native way to trigger navigation events.
  1556. browserHistory.push('/next') -> navigate('/next')
  1557. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1558. You may also use a LocationDescriptor object
  1559. browserHistory.push({...location, query: {someKey: 1}})
  1560. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1561. /Users/ryan/code/sentry/static/app/views/auth/ssoForm.tsx
  1562. 24:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1563. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1564. the useNavigate hook is the native way to trigger navigation events.
  1565. browserHistory.push('/next') -> navigate('/next')
  1566. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1567. You may also use a LocationDescriptor object
  1568. browserHistory.push({...location, query: {someKey: 1}})
  1569. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1570. /Users/ryan/code/sentry/static/app/views/beaconConsent/index.tsx
  1571. 23:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  1572. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  1573. /Users/ryan/code/sentry/static/app/views/dashboards/create.tsx
  1574. 47:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1575. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1576. the useNavigate hook is the native way to trigger navigation events.
  1577. browserHistory.push('/next') -> navigate('/next')
  1578. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1579. You may also use a LocationDescriptor object
  1580. browserHistory.push({...location, query: {someKey: 1}})
  1581. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1582. /Users/ryan/code/sentry/static/app/views/dashboards/datasetConfig/base.tsx
  1583. 46:54 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1584. /Users/ryan/code/sentry/static/app/views/dashboards/detail.tsx
  1585. 489:11 error `browserHistory` is deprecated. Prefer using useNavigate
  1586. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1587. the useNavigate hook is the native way to trigger navigation events.
  1588. browserHistory.push('/next') -> navigate('/next')
  1589. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1590. You may also use a LocationDescriptor object
  1591. browserHistory.push({...location, query: {someKey: 1}})
  1592. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1593. 538:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1594. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1595. the useNavigate hook is the native way to trigger navigation events.
  1596. browserHistory.push('/next') -> navigate('/next')
  1597. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1598. You may also use a LocationDescriptor object
  1599. browserHistory.push({...location, query: {someKey: 1}})
  1600. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1601. 573:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1602. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1603. the useNavigate hook is the native way to trigger navigation events.
  1604. browserHistory.push('/next') -> navigate('/next')
  1605. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1606. You may also use a LocationDescriptor object
  1607. browserHistory.push({...location, query: {someKey: 1}})
  1608. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1609. 624:11 error `browserHistory` is deprecated. Prefer using useNavigate
  1610. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1611. the useNavigate hook is the native way to trigger navigation events.
  1612. browserHistory.push('/next') -> navigate('/next')
  1613. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1614. You may also use a LocationDescriptor object
  1615. browserHistory.push({...location, query: {someKey: 1}})
  1616. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1617. 869:19 error `browserHistory` is deprecated. Prefer using useNavigate
  1618. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1619. the useNavigate hook is the native way to trigger navigation events.
  1620. browserHistory.push('/next') -> navigate('/next')
  1621. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1622. You may also use a LocationDescriptor object
  1623. browserHistory.push({...location, query: {someKey: 1}})
  1624. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1625. 909:21 error `browserHistory` is deprecated. Prefer using useNavigate
  1626. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1627. the useNavigate hook is the native way to trigger navigation events.
  1628. browserHistory.push('/next') -> navigate('/next')
  1629. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1630. You may also use a LocationDescriptor object
  1631. browserHistory.push({...location, query: {someKey: 1}})
  1632. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1633. 1254:41 error `browserHistory` is deprecated. Prefer using useNavigate
  1634. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1635. the useNavigate hook is the native way to trigger navigation events.
  1636. browserHistory.push('/next') -> navigate('/next')
  1637. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1638. You may also use a LocationDescriptor object
  1639. browserHistory.push({...location, query: {someKey: 1}})
  1640. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1641. /Users/ryan/code/sentry/static/app/views/dashboards/discoverSplitAlert.tsx
  1642. 15:30 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1643. /Users/ryan/code/sentry/static/app/views/dashboards/editAccessSelector.tsx
  1644. 60:22 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  1645. new alternatives:
  1646. - useTeamsById({ids: []}) - get teams by id
  1647. - useTeamsById({slugs: []}) - get teams by slug
  1648. - useTeamsById() - just reading from the teams store
  1649. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  1650. /Users/ryan/code/sentry/static/app/views/dashboards/manage/gridPreview/index.tsx
  1651. 22:54 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1652. /Users/ryan/code/sentry/static/app/views/dashboards/manage/templateCard.tsx
  1653. 20:22 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  1654. /Users/ryan/code/sentry/static/app/views/dashboards/orgDashboards.tsx
  1655. 43:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1656. Read the dev docs page on network requests for more information [1].
  1657. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1658. 45:29 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1659. Read the dev docs page on network requests for more information [1].
  1660. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1661. 63:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1662. Read the dev docs page on network requests for more information [1].
  1663. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1664. 66:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1665. Read the dev docs page on network requests for more information [1].
  1666. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1667. 113:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1668. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1669. the useNavigate hook is the native way to trigger navigation events.
  1670. browserHistory.push('/next') -> navigate('/next')
  1671. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1672. You may also use a LocationDescriptor object
  1673. browserHistory.push({...location, query: {someKey: 1}})
  1674. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1675. 132:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1676. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1677. the useNavigate hook is the native way to trigger navigation events.
  1678. browserHistory.push('/next') -> navigate('/next')
  1679. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1680. You may also use a LocationDescriptor object
  1681. browserHistory.push({...location, query: {someKey: 1}})
  1682. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1683. 184:12 error `super` is deprecated. use useApiQuery instead
  1684. Read the dev docs page on network requests for more information [1].
  1685. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1686. 193:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1687. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1688. the useNavigate hook is the native way to trigger navigation events.
  1689. browserHistory.push('/next') -> navigate('/next')
  1690. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1691. You may also use a LocationDescriptor object
  1692. browserHistory.push({...location, query: {someKey: 1}})
  1693. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1694. 218:10 error `super` is deprecated. use useApiQuery instead
  1695. Read the dev docs page on network requests for more information [1].
  1696. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1697. 218:43 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1698. /Users/ryan/code/sentry/static/app/views/dashboards/utils.tsx
  1699. 578:3 error `browserHistory` is deprecated. Prefer using useNavigate
  1700. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1701. the useNavigate hook is the native way to trigger navigation events.
  1702. browserHistory.push('/next') -> navigate('/next')
  1703. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1704. You may also use a LocationDescriptor object
  1705. browserHistory.push({...location, query: {someKey: 1}})
  1706. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1707. /Users/ryan/code/sentry/static/app/views/dashboards/view.tsx
  1708. 63:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1709. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1710. the useNavigate hook is the native way to trigger navigation events.
  1711. browserHistory.push('/next') -> navigate('/next')
  1712. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1713. You may also use a LocationDescriptor object
  1714. browserHistory.push({...location, query: {someKey: 1}})
  1715. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1716. /Users/ryan/code/sentry/static/app/views/dashboards/widgetBuilder/components/widgetPreview.tsx
  1717. 30:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1718. use{Location,Params,Routes,Navigate}.
  1719. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1720. /Users/ryan/code/sentry/static/app/views/dashboards/widgetBuilder/widgetBuilder.spec.tsx
  1721. 967:29 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1722. 1002:29 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1723. 1243:29 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1724. 1524:31 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1725. 1564:31 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1726. /Users/ryan/code/sentry/static/app/views/dashboards/widgetBuilder/widgetBuilderDataset.spec.tsx
  1727. 931:33 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1728. 983:33 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1729. 1034:33 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1730. /Users/ryan/code/sentry/static/app/views/dashboards/widgetBuilder/widgetBuilderSortBy.spec.tsx
  1731. 399:31 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1732. /Users/ryan/code/sentry/static/app/views/dashboards/widgetCard/index.tsx
  1733. 349:57 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  1734. /Users/ryan/code/sentry/static/app/views/dashboards/widgetCard/issueWidgetQueries.tsx
  1735. 21:59 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1736. /Users/ryan/code/sentry/static/app/views/dashboards/widgetCard/releaseWidgetQueries.tsx
  1737. 40:59 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1738. /Users/ryan/code/sentry/static/app/views/dashboards/widgetCard/widgetQueries.tsx
  1739. 113:59 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  1740. /Users/ryan/code/sentry/static/app/views/deprecatedAsyncView.tsx
  1741. 17:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1742. Read the dev docs page on network requests for more information [1].
  1743. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1744. 25:42 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1745. /Users/ryan/code/sentry/static/app/views/discover/eventDetails/content.tsx
  1746. 199:16 error `Projects` is deprecated. consider using useProjects if possible.
  1747. This is a utility component that should be used to fetch an organization's projects (summary).
  1748. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1749. These will be passed down to the render prop (`children`).
  1750. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1751. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1752. 362:33 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1753. /Users/ryan/code/sentry/static/app/views/discover/eventInputName.tsx
  1754. 51:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1755. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1756. the useNavigate hook is the native way to trigger navigation events.
  1757. browserHistory.push('/next') -> navigate('/next')
  1758. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1759. You may also use a LocationDescriptor object
  1760. browserHistory.push({...location, query: {someKey: 1}})
  1761. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1762. /Users/ryan/code/sentry/static/app/views/discover/homepage.tsx
  1763. 33:27 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1764. Read the dev docs page on network requests for more information [1].
  1765. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1766. 38:32 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1767. Read the dev docs page on network requests for more information [1].
  1768. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1769. 82:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1770. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1771. the useNavigate hook is the native way to trigger navigation events.
  1772. browserHistory.push('/next') -> navigate('/next')
  1773. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1774. You may also use a LocationDescriptor object
  1775. browserHistory.push({...location, query: {someKey: 1}})
  1776. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1777. 92:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1778. Read the dev docs page on network requests for more information [1].
  1779. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1780. 95:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1781. Read the dev docs page on network requests for more information [1].
  1782. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1783. /Users/ryan/code/sentry/static/app/views/discover/landing.tsx
  1784. 45:3 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1785. Read the dev docs page on network requests for more information [1].
  1786. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1787. 50:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1788. Read the dev docs page on network requests for more information [1].
  1789. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1790. 52:31 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1791. Read the dev docs page on network requests for more information [1].
  1792. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1793. 81:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1794. Read the dev docs page on network requests for more information [1].
  1795. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1796. 165:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1797. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1798. the useNavigate hook is the native way to trigger navigation events.
  1799. browserHistory.push('/next') -> navigate('/next')
  1800. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1801. You may also use a LocationDescriptor object
  1802. browserHistory.push({...location, query: {someKey: 1}})
  1803. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1804. 178:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1805. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1806. the useNavigate hook is the native way to trigger navigation events.
  1807. browserHistory.push('/next') -> navigate('/next')
  1808. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1809. You may also use a LocationDescriptor object
  1810. browserHistory.push({...location, query: {someKey: 1}})
  1811. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1812. /Users/ryan/code/sentry/static/app/views/discover/queryList.tsx
  1813. 69:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1814. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1815. the useNavigate hook is the native way to trigger navigation events.
  1816. browserHistory.push('/next') -> navigate('/next')
  1817. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1818. You may also use a LocationDescriptor object
  1819. browserHistory.push({...location, query: {someKey: 1}})
  1820. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1821. 87:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1822. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1823. the useNavigate hook is the native way to trigger navigation events.
  1824. browserHistory.push('/next') -> navigate('/next')
  1825. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1826. You may also use a LocationDescriptor object
  1827. browserHistory.push({...location, query: {someKey: 1}})
  1828. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1829. 371:13 error `browserHistory` is deprecated. Prefer using useNavigate
  1830. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1831. the useNavigate hook is the native way to trigger navigation events.
  1832. browserHistory.push('/next') -> navigate('/next')
  1833. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1834. You may also use a LocationDescriptor object
  1835. browserHistory.push({...location, query: {someKey: 1}})
  1836. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1837. /Users/ryan/code/sentry/static/app/views/discover/results.tsx
  1838. 180:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1839. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1840. the useNavigate hook is the native way to trigger navigation events.
  1841. browserHistory.push('/next') -> navigate('/next')
  1842. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1843. You may also use a LocationDescriptor object
  1844. browserHistory.push({...location, query: {someKey: 1}})
  1845. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1846. 187:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1847. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1848. the useNavigate hook is the native way to trigger navigation events.
  1849. browserHistory.push('/next') -> navigate('/next')
  1850. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1851. You may also use a LocationDescriptor object
  1852. browserHistory.push({...location, query: {someKey: 1}})
  1853. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1854. 207:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1855. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1856. the useNavigate hook is the native way to trigger navigation events.
  1857. browserHistory.push('/next') -> navigate('/next')
  1858. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1859. You may also use a LocationDescriptor object
  1860. browserHistory.push({...location, query: {someKey: 1}})
  1861. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1862. 389:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1863. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1864. the useNavigate hook is the native way to trigger navigation events.
  1865. browserHistory.push('/next') -> navigate('/next')
  1866. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1867. You may also use a LocationDescriptor object
  1868. browserHistory.push({...location, query: {someKey: 1}})
  1869. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1870. 932:24 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1871. Read the dev docs page on network requests for more information [1].
  1872. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1873. 936:29 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1874. Read the dev docs page on network requests for more information [1].
  1875. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1876. 939:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1877. Read the dev docs page on network requests for more information [1].
  1878. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1879. 942:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  1880. Read the dev docs page on network requests for more information [1].
  1881. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  1882. /Users/ryan/code/sentry/static/app/views/discover/savedQuery/index.tsx
  1883. 271:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1884. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1885. the useNavigate hook is the native way to trigger navigation events.
  1886. browserHistory.push('/next') -> navigate('/next')
  1887. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1888. You may also use a LocationDescriptor object
  1889. browserHistory.push({...location, query: {someKey: 1}})
  1890. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1891. 290:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1892. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1893. the useNavigate hook is the native way to trigger navigation events.
  1894. browserHistory.push('/next') -> navigate('/next')
  1895. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1896. You may also use a LocationDescriptor object
  1897. browserHistory.push({...location, query: {someKey: 1}})
  1898. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1899. 303:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1900. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1901. the useNavigate hook is the native way to trigger navigation events.
  1902. browserHistory.push('/next') -> navigate('/next')
  1903. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1904. You may also use a LocationDescriptor object
  1905. browserHistory.push({...location, query: {someKey: 1}})
  1906. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1907. 506:15 error `browserHistory` is deprecated. Prefer using useNavigate
  1908. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1909. the useNavigate hook is the native way to trigger navigation events.
  1910. browserHistory.push('/next') -> navigate('/next')
  1911. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1912. You may also use a LocationDescriptor object
  1913. browserHistory.push({...location, query: {someKey: 1}})
  1914. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1915. /Users/ryan/code/sentry/static/app/views/discover/table/arithmeticInput.tsx
  1916. 460:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  1917. /Users/ryan/code/sentry/static/app/views/discover/table/cellAction.spec.tsx
  1918. 44:18 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1919. /Users/ryan/code/sentry/static/app/views/discover/table/cellAction.tsx
  1920. 35:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1921. 97:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1922. 116:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1923. 143:52 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1924. /Users/ryan/code/sentry/static/app/views/discover/table/columnEditModal.spec.tsx
  1925. 829:9 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  1926. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  1927. /Users/ryan/code/sentry/static/app/views/discover/table/quickContext/actionDropdown.spec.tsx
  1928. 42:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1929. /Users/ryan/code/sentry/static/app/views/discover/table/quickContext/actionDropdown.tsx
  1930. 40:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1931. 56:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1932. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1933. the useNavigate hook is the native way to trigger navigation events.
  1934. browserHistory.push('/next') -> navigate('/next')
  1935. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1936. You may also use a LocationDescriptor object
  1937. browserHistory.push({...location, query: {someKey: 1}})
  1938. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1939. 91:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1940. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1941. the useNavigate hook is the native way to trigger navigation events.
  1942. browserHistory.push('/next') -> navigate('/next')
  1943. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1944. You may also use a LocationDescriptor object
  1945. browserHistory.push({...location, query: {someKey: 1}})
  1946. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1947. /Users/ryan/code/sentry/static/app/views/discover/table/tableView.tsx
  1948. 566:43 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  1949. 584:11 error `browserHistory` is deprecated. Prefer using useNavigate
  1950. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1951. the useNavigate hook is the native way to trigger navigation events.
  1952. browserHistory.push('/next') -> navigate('/next')
  1953. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1954. You may also use a LocationDescriptor object
  1955. browserHistory.push({...location, query: {someKey: 1}})
  1956. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1957. 611:11 error `browserHistory` is deprecated. Prefer using useNavigate
  1958. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1959. the useNavigate hook is the native way to trigger navigation events.
  1960. browserHistory.push('/next') -> navigate('/next')
  1961. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1962. You may also use a LocationDescriptor object
  1963. browserHistory.push({...location, query: {someKey: 1}})
  1964. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1965. 647:7 error `browserHistory` is deprecated. Prefer using useNavigate
  1966. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1967. the useNavigate hook is the native way to trigger navigation events.
  1968. browserHistory.push('/next') -> navigate('/next')
  1969. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1970. You may also use a LocationDescriptor object
  1971. browserHistory.push({...location, query: {someKey: 1}})
  1972. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1973. 670:5 error `browserHistory` is deprecated. Prefer using useNavigate
  1974. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1975. the useNavigate hook is the native way to trigger navigation events.
  1976. browserHistory.push('/next') -> navigate('/next')
  1977. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  1978. You may also use a LocationDescriptor object
  1979. browserHistory.push({...location, query: {someKey: 1}})
  1980. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  1981. /Users/ryan/code/sentry/static/app/views/discover/utils.tsx
  1982. 826:27 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  1983. /Users/ryan/code/sentry/static/app/views/explore/hooks/useAddToDashboard.tsx
  1984. 28:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  1985. use{Location,Params,Routes,Navigate}.
  1986. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  1987. /Users/ryan/code/sentry/static/app/views/explore/tables/tracesTable/fieldRenderers.tsx
  1988. 179:6 error `Projects` is deprecated. consider using useProjects if possible.
  1989. This is a utility component that should be used to fetch an organization's projects (summary).
  1990. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  1991. These will be passed down to the render prop (`children`).
  1992. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  1993. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  1994. /Users/ryan/code/sentry/static/app/views/insights/browser/resources/components/renderBlockingSelector.tsx
  1995. 32:9 error `browserHistory` is deprecated. Prefer using useNavigate
  1996. browserHistory is a hold-over from react-router 3 days. In react-router 6
  1997. the useNavigate hook is the native way to trigger navigation events.
  1998. browserHistory.push('/next') -> navigate('/next')
  1999. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2000. You may also use a LocationDescriptor object
  2001. browserHistory.push({...location, query: {someKey: 1}})
  2002. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2003. /Users/ryan/code/sentry/static/app/views/insights/browser/resources/components/resourceView.tsx
  2004. 116:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2005. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2006. the useNavigate hook is the native way to trigger navigation events.
  2007. browserHistory.push('/next') -> navigate('/next')
  2008. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2009. You may also use a LocationDescriptor object
  2010. browserHistory.push({...location, query: {someKey: 1}})
  2011. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2012. /Users/ryan/code/sentry/static/app/views/insights/browser/resources/components/sampleImages.tsx
  2013. 211:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2014. 217:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2015. /Users/ryan/code/sentry/static/app/views/insights/browser/resources/components/tables/resourceSummaryTable.tsx
  2016. 162:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2017. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2018. the useNavigate hook is the native way to trigger navigation events.
  2019. browserHistory.push('/next') -> navigate('/next')
  2020. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2021. You may also use a LocationDescriptor object
  2022. browserHistory.push({...location, query: {someKey: 1}})
  2023. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2024. /Users/ryan/code/sentry/static/app/views/insights/browser/resources/components/tables/resourceTable.tsx
  2025. 190:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2026. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2027. the useNavigate hook is the native way to trigger navigation events.
  2028. browserHistory.push('/next') -> navigate('/next')
  2029. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2030. You may also use a LocationDescriptor object
  2031. browserHistory.push({...location, query: {someKey: 1}})
  2032. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2033. 246:37 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  2034. /Users/ryan/code/sentry/static/app/views/insights/browser/webVitals/components/browserTypeSelector.tsx
  2035. 96:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2036. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2037. the useNavigate hook is the native way to trigger navigation events.
  2038. browserHistory.push('/next') -> navigate('/next')
  2039. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2040. You may also use a LocationDescriptor object
  2041. browserHistory.push({...location, query: {someKey: 1}})
  2042. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2043. /Users/ryan/code/sentry/static/app/views/insights/browser/webVitals/components/tables/pagePerformanceTable.tsx
  2044. 292:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2045. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2046. the useNavigate hook is the native way to trigger navigation events.
  2047. browserHistory.push('/next') -> navigate('/next')
  2048. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2049. You may also use a LocationDescriptor object
  2050. browserHistory.push({...location, query: {someKey: 1}})
  2051. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2052. /Users/ryan/code/sentry/static/app/views/insights/browser/webVitals/queries/storedScoreQueries/useTransactionSamplesWebVitalsScoresQuery.tsx
  2053. 124:27 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2054. /Users/ryan/code/sentry/static/app/views/insights/browser/webVitals/views/pageOverview.tsx
  2055. 73:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2056. use{Location,Params,Routes,Navigate}.
  2057. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2058. 136:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2059. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2060. the useNavigate hook is the native way to trigger navigation events.
  2061. browserHistory.push('/next') -> navigate('/next')
  2062. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2063. You may also use a LocationDescriptor object
  2064. browserHistory.push({...location, query: {someKey: 1}})
  2065. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2066. /Users/ryan/code/sentry/static/app/views/insights/browser/webVitals/views/webVitalsLandingPage.tsx
  2067. 47:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2068. use{Location,Params,Routes,Navigate}.
  2069. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2070. /Users/ryan/code/sentry/static/app/views/insights/cache/components/tables/transactionsTable.tsx
  2071. 133:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2072. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2073. the useNavigate hook is the native way to trigger navigation events.
  2074. browserHistory.push('/next') -> navigate('/next')
  2075. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2076. You may also use a LocationDescriptor object
  2077. browserHistory.push({...location, query: {someKey: 1}})
  2078. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2079. /Users/ryan/code/sentry/static/app/views/insights/common/components/chartPanel.tsx
  2080. 13:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2081. /Users/ryan/code/sentry/static/app/views/insights/common/components/metricReadout.tsx
  2082. 36:10 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2083. /Users/ryan/code/sentry/static/app/views/insights/common/components/miniChartPanel.tsx
  2084. 9:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2085. /Users/ryan/code/sentry/static/app/views/insights/common/components/releaseSelector.tsx
  2086. 100:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2087. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2088. the useNavigate hook is the native way to trigger navigation events.
  2089. browserHistory.push('/next') -> navigate('/next')
  2090. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2091. You may also use a LocationDescriptor object
  2092. browserHistory.push({...location, query: {someKey: 1}})
  2093. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2094. /Users/ryan/code/sentry/static/app/views/insights/common/views/spanSummaryPage/sampleList/index.tsx
  2095. 64:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2096. use{Location,Params,Routes,Navigate}.
  2097. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2098. /Users/ryan/code/sentry/static/app/views/insights/common/views/spans/selectors/actionSelector.tsx
  2099. 91:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2100. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2101. the useNavigate hook is the native way to trigger navigation events.
  2102. browserHistory.push('/next') -> navigate('/next')
  2103. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2104. You may also use a LocationDescriptor object
  2105. browserHistory.push({...location, query: {someKey: 1}})
  2106. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2107. /Users/ryan/code/sentry/static/app/views/insights/common/views/spans/selectors/domainSelector.tsx
  2108. 159:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2109. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2110. the useNavigate hook is the native way to trigger navigation events.
  2111. browserHistory.push('/next') -> navigate('/next')
  2112. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2113. You may also use a LocationDescriptor object
  2114. browserHistory.push({...location, query: {someKey: 1}})
  2115. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2116. /Users/ryan/code/sentry/static/app/views/insights/common/views/spans/selectors/transactionSelector.tsx
  2117. 87:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2118. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2119. the useNavigate hook is the native way to trigger navigation events.
  2120. browserHistory.push('/next') -> navigate('/next')
  2121. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2122. You may also use a LocationDescriptor object
  2123. browserHistory.push({...location, query: {someKey: 1}})
  2124. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2125. /Users/ryan/code/sentry/static/app/views/insights/database/components/tables/queriesTable.tsx
  2126. 92:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2127. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2128. the useNavigate hook is the native way to trigger navigation events.
  2129. browserHistory.push('/next') -> navigate('/next')
  2130. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2131. You may also use a LocationDescriptor object
  2132. browserHistory.push({...location, query: {someKey: 1}})
  2133. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2134. /Users/ryan/code/sentry/static/app/views/insights/database/components/tables/queryTransactionsTable.tsx
  2135. 104:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2136. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2137. the useNavigate hook is the native way to trigger navigation events.
  2138. browserHistory.push('/next') -> navigate('/next')
  2139. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2140. You may also use a LocationDescriptor object
  2141. browserHistory.push({...location, query: {someKey: 1}})
  2142. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2143. /Users/ryan/code/sentry/static/app/views/insights/http/components/tables/domainTransactionsTable.tsx
  2144. 126:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2145. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2146. the useNavigate hook is the native way to trigger navigation events.
  2147. browserHistory.push('/next') -> navigate('/next')
  2148. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2149. You may also use a LocationDescriptor object
  2150. browserHistory.push({...location, query: {someKey: 1}})
  2151. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2152. /Users/ryan/code/sentry/static/app/views/insights/http/components/tables/domainsTable.tsx
  2153. 126:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2154. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2155. the useNavigate hook is the native way to trigger navigation events.
  2156. browserHistory.push('/next') -> navigate('/next')
  2157. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2158. You may also use a LocationDescriptor object
  2159. browserHistory.push({...location, query: {someKey: 1}})
  2160. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2161. /Users/ryan/code/sentry/static/app/views/insights/http/views/httpLandingPage.tsx
  2162. 92:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2163. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2164. the useNavigate hook is the native way to trigger navigation events.
  2165. browserHistory.push('/next') -> navigate('/next')
  2166. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2167. You may also use a LocationDescriptor object
  2168. browserHistory.push({...location, query: {someKey: 1}})
  2169. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2170. /Users/ryan/code/sentry/static/app/views/insights/llmMonitoring/components/tables/pipelinesTable.tsx
  2171. 186:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2172. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2173. the useNavigate hook is the native way to trigger navigation events.
  2174. browserHistory.push('/next') -> navigate('/next')
  2175. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2176. You may also use a LocationDescriptor object
  2177. browserHistory.push({...location, query: {someKey: 1}})
  2178. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2179. 193:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2180. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2181. the useNavigate hook is the native way to trigger navigation events.
  2182. browserHistory.push('/next') -> navigate('/next')
  2183. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2184. You may also use a LocationDescriptor object
  2185. browserHistory.push({...location, query: {someKey: 1}})
  2186. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2187. 332:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2188. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2189. the useNavigate hook is the native way to trigger navigation events.
  2190. browserHistory.push('/next') -> navigate('/next')
  2191. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2192. You may also use a LocationDescriptor object
  2193. browserHistory.push({...location, query: {someKey: 1}})
  2194. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2195. 339:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2196. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2197. the useNavigate hook is the native way to trigger navigation events.
  2198. browserHistory.push('/next') -> navigate('/next')
  2199. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2200. You may also use a LocationDescriptor object
  2201. browserHistory.push({...location, query: {someKey: 1}})
  2202. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2203. /Users/ryan/code/sentry/static/app/views/insights/mobile/appStarts/components/appStartup.tsx
  2204. 61:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2205. use{Location,Params,Routes,Navigate}.
  2206. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2207. /Users/ryan/code/sentry/static/app/views/insights/mobile/appStarts/components/spanOpSelector.tsx
  2208. 111:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2209. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2210. the useNavigate hook is the native way to trigger navigation events.
  2211. browserHistory.push('/next') -> navigate('/next')
  2212. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2213. You may also use a LocationDescriptor object
  2214. browserHistory.push({...location, query: {someKey: 1}})
  2215. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2216. /Users/ryan/code/sentry/static/app/views/insights/mobile/appStarts/components/startTypeSelector.tsx
  2217. 36:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2218. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2219. the useNavigate hook is the native way to trigger navigation events.
  2220. browserHistory.push('/next') -> navigate('/next')
  2221. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2222. You may also use a LocationDescriptor object
  2223. browserHistory.push({...location, query: {someKey: 1}})
  2224. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2225. /Users/ryan/code/sentry/static/app/views/insights/mobile/appStarts/components/tables/spanOperationTable.tsx
  2226. 250:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2227. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2228. the useNavigate hook is the native way to trigger navigation events.
  2229. browserHistory.push('/next') -> navigate('/next')
  2230. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2231. You may also use a LocationDescriptor object
  2232. browserHistory.push({...location, query: {someKey: 1}})
  2233. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2234. /Users/ryan/code/sentry/static/app/views/insights/mobile/appStarts/views/screenSummaryPage.tsx
  2235. 85:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2236. use{Location,Params,Routes,Navigate}.
  2237. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2238. 101:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2239. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2240. the useNavigate hook is the native way to trigger navigation events.
  2241. browserHistory.push('/next') -> navigate('/next')
  2242. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2243. You may also use a LocationDescriptor object
  2244. browserHistory.push({...location, query: {someKey: 1}})
  2245. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2246. /Users/ryan/code/sentry/static/app/views/insights/mobile/common/components/deviceClassSelector.tsx
  2247. 55:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2248. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2249. the useNavigate hook is the native way to trigger navigation events.
  2250. browserHistory.push('/next') -> navigate('/next')
  2251. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2252. You may also use a LocationDescriptor object
  2253. browserHistory.push({...location, query: {someKey: 1}})
  2254. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2255. /Users/ryan/code/sentry/static/app/views/insights/mobile/common/components/screensTemplate.tsx
  2256. 42:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2257. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2258. the useNavigate hook is the native way to trigger navigation events.
  2259. browserHistory.push('/next') -> navigate('/next')
  2260. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2261. You may also use a LocationDescriptor object
  2262. browserHistory.push({...location, query: {someKey: 1}})
  2263. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2264. /Users/ryan/code/sentry/static/app/views/insights/mobile/common/components/spanSamplesPanel.tsx
  2265. 50:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2266. use{Location,Params,Routes,Navigate}.
  2267. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2268. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/charts/screenBarChart.tsx
  2269. 48:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2270. use{Location,Params,Routes,Navigate}.
  2271. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2272. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/platformSelector.tsx
  2273. 32:11 error `browserHistory` is deprecated. Prefer using useNavigate
  2274. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2275. the useNavigate hook is the native way to trigger navigation events.
  2276. browserHistory.push('/next') -> navigate('/next')
  2277. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2278. You may also use a LocationDescriptor object
  2279. browserHistory.push({...location, query: {someKey: 1}})
  2280. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2281. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/screensView.tsx
  2282. 76:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2283. use{Location,Params,Routes,Navigate}.
  2284. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2285. 222:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2286. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2287. the useNavigate hook is the native way to trigger navigation events.
  2288. browserHistory.push('/next') -> navigate('/next')
  2289. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2290. You may also use a LocationDescriptor object
  2291. browserHistory.push({...location, query: {someKey: 1}})
  2292. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2293. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/spanOpSelector.tsx
  2294. 97:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2295. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2296. the useNavigate hook is the native way to trigger navigation events.
  2297. browserHistory.push('/next') -> navigate('/next')
  2298. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2299. You may also use a LocationDescriptor object
  2300. browserHistory.push({...location, query: {someKey: 1}})
  2301. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2302. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/tables/eventSamplesTable.tsx
  2303. 175:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2304. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2305. the useNavigate hook is the native way to trigger navigation events.
  2306. browserHistory.push('/next') -> navigate('/next')
  2307. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2308. You may also use a LocationDescriptor object
  2309. browserHistory.push({...location, query: {someKey: 1}})
  2310. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2311. 200:45 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2312. 203:42 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2313. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/tables/screenLoadSpansTable.tsx
  2314. 351:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2315. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2316. the useNavigate hook is the native way to trigger navigation events.
  2317. browserHistory.push('/next') -> navigate('/next')
  2318. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2319. You may also use a LocationDescriptor object
  2320. browserHistory.push({...location, query: {someKey: 1}})
  2321. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2322. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/components/tables/screensTable.tsx
  2323. 219:37 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2324. 223:40 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2325. /Users/ryan/code/sentry/static/app/views/insights/mobile/screenload/views/screenLoadSpansPage.tsx
  2326. 82:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2327. use{Location,Params,Routes,Navigate}.
  2328. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2329. /Users/ryan/code/sentry/static/app/views/insights/mobile/screens/components/screensOverview.tsx
  2330. 81:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2331. use{Location,Params,Routes,Navigate}.
  2332. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2333. /Users/ryan/code/sentry/static/app/views/insights/mobile/screens/views/screenDetailsPage.tsx
  2334. 85:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2335. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2336. the useNavigate hook is the native way to trigger navigation events.
  2337. browserHistory.push('/next') -> navigate('/next')
  2338. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2339. You may also use a LocationDescriptor object
  2340. browserHistory.push({...location, query: {someKey: 1}})
  2341. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2342. /Users/ryan/code/sentry/static/app/views/insights/mobile/screens/views/screensLandingPage.tsx
  2343. 58:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2344. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2345. the useNavigate hook is the native way to trigger navigation events.
  2346. browserHistory.push('/next') -> navigate('/next')
  2347. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2348. You may also use a LocationDescriptor object
  2349. browserHistory.push({...location, query: {someKey: 1}})
  2350. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2351. /Users/ryan/code/sentry/static/app/views/insights/mobile/ui/components/uiScreens.tsx
  2352. 41:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2353. use{Location,Params,Routes,Navigate}.
  2354. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2355. /Users/ryan/code/sentry/static/app/views/insights/mobile/ui/views/screenSummaryPage.tsx
  2356. 68:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2357. use{Location,Params,Routes,Navigate}.
  2358. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2359. /Users/ryan/code/sentry/static/app/views/insights/queues/components/tables/queuesTable.tsx
  2360. 119:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2361. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2362. the useNavigate hook is the native way to trigger navigation events.
  2363. browserHistory.push('/next') -> navigate('/next')
  2364. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2365. You may also use a LocationDescriptor object
  2366. browserHistory.push({...location, query: {someKey: 1}})
  2367. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2368. /Users/ryan/code/sentry/static/app/views/insights/queues/components/tables/transactionsTable.tsx
  2369. 127:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2370. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2371. the useNavigate hook is the native way to trigger navigation events.
  2372. browserHistory.push('/next') -> navigate('/next')
  2373. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2374. You may also use a LocationDescriptor object
  2375. browserHistory.push({...location, query: {someKey: 1}})
  2376. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2377. /Users/ryan/code/sentry/static/app/views/insights/queues/views/queuesLandingPage.tsx
  2378. 64:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2379. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2380. the useNavigate hook is the native way to trigger navigation events.
  2381. browserHistory.push('/next') -> navigate('/next')
  2382. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2383. You may also use a LocationDescriptor object
  2384. browserHistory.push({...location, query: {someKey: 1}})
  2385. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2386. /Users/ryan/code/sentry/static/app/views/integrationOrganizationLink/index.tsx
  2387. 34:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  2388. Read the dev docs page on network requests for more information [1].
  2389. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2390. 53:58 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  2391. Read the dev docs page on network requests for more information [1].
  2392. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2393. 59:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  2394. Read the dev docs page on network requests for more information [1].
  2395. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2396. 77:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  2397. 209:22 error `urlEncode` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  2398. /Users/ryan/code/sentry/static/app/views/integrationPipeline/awsLambdaCloudformation.tsx
  2399. 155:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  2400. 170:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  2401. 179:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  2402. /Users/ryan/code/sentry/static/app/views/issueDetails/actions/index.tsx
  2403. 181:11 error `browserHistory` is deprecated. Prefer using useNavigate
  2404. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2405. the useNavigate hook is the native way to trigger navigation events.
  2406. browserHistory.push('/next') -> navigate('/next')
  2407. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2408. You may also use a LocationDescriptor object
  2409. browserHistory.push({...location, query: {someKey: 1}})
  2410. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2411. 259:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2412. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2413. the useNavigate hook is the native way to trigger navigation events.
  2414. browserHistory.push('/next') -> navigate('/next')
  2415. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2416. You may also use a LocationDescriptor object
  2417. browserHistory.push({...location, query: {someKey: 1}})
  2418. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2419. /Users/ryan/code/sentry/static/app/views/issueDetails/groupDetails.tsx
  2420. 224:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2421. use{Location,Params,Routes,Navigate}.
  2422. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2423. 311:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2424. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2425. the useNavigate hook is the native way to trigger navigation events.
  2426. browserHistory.push('/next') -> navigate('/next')
  2427. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2428. You may also use a LocationDescriptor object
  2429. browserHistory.push({...location, query: {someKey: 1}})
  2430. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2431. 359:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2432. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2433. the useNavigate hook is the native way to trigger navigation events.
  2434. browserHistory.push('/next') -> navigate('/next')
  2435. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2436. You may also use a LocationDescriptor object
  2437. browserHistory.push({...location, query: {someKey: 1}})
  2438. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2439. 368:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2440. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2441. the useNavigate hook is the native way to trigger navigation events.
  2442. browserHistory.push('/next') -> navigate('/next')
  2443. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2444. You may also use a LocationDescriptor object
  2445. browserHistory.push({...location, query: {someKey: 1}})
  2446. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2447. /Users/ryan/code/sentry/static/app/views/issueDetails/groupEventCarousel.tsx
  2448. 207:13 error `browserHistory` is deprecated. Prefer using useNavigate
  2449. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2450. the useNavigate hook is the native way to trigger navigation events.
  2451. browserHistory.push('/next') -> navigate('/next')
  2452. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2453. You may also use a LocationDescriptor object
  2454. browserHistory.push({...location, query: {someKey: 1}})
  2455. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2456. 216:13 error `browserHistory` is deprecated. Prefer using useNavigate
  2457. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2458. the useNavigate hook is the native way to trigger navigation events.
  2459. browserHistory.push('/next') -> navigate('/next')
  2460. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2461. You may also use a LocationDescriptor object
  2462. browserHistory.push({...location, query: {someKey: 1}})
  2463. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2464. /Users/ryan/code/sentry/static/app/views/issueDetails/groupEventDetails/groupEventDetails.tsx
  2465. 104:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2466. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2467. the useNavigate hook is the native way to trigger navigation events.
  2468. browserHistory.push('/next') -> navigate('/next')
  2469. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2470. You may also use a LocationDescriptor object
  2471. browserHistory.push({...location, query: {someKey: 1}})
  2472. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2473. /Users/ryan/code/sentry/static/app/views/issueDetails/groupEvents.tsx
  2474. 52:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2475. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2476. the useNavigate hook is the native way to trigger navigation events.
  2477. browserHistory.push('/next') -> navigate('/next')
  2478. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2479. You may also use a LocationDescriptor object
  2480. browserHistory.push({...location, query: {someKey: 1}})
  2481. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2482. /Users/ryan/code/sentry/static/app/views/issueDetails/groupReplays/groupReplays.tsx
  2483. 202:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2484. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2485. the useNavigate hook is the native way to trigger navigation events.
  2486. browserHistory.push('/next') -> navigate('/next')
  2487. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2488. You may also use a LocationDescriptor object
  2489. browserHistory.push({...location, query: {someKey: 1}})
  2490. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2491. /Users/ryan/code/sentry/static/app/views/issueDetails/streamline/sidebar/externalIssueList.tsx
  2492. 28:22 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2493. /Users/ryan/code/sentry/static/app/views/issueDetails/streamline/sidebar/groupActivityItem.tsx
  2494. 37:14 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2495. 38:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2496. 171:14 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2497. 172:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2498. 250:14 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2499. 251:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2500. 260:30 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2501. /Users/ryan/code/sentry/static/app/views/issueDetails/streamline/sidebar/note.tsx
  2502. 54:19 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  2503. new alternatives:
  2504. - useTeamsById({ids: []}) - get teams by id
  2505. - useTeamsById({slugs: []}) - get teams by slug
  2506. - useTeamsById() - just reading from the teams store
  2507. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  2508. 111:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2509. 117:16 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2510. /Users/ryan/code/sentry/static/app/views/issueDetails/useGroupDetailsRoute.tsx
  2511. 54:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2512. use{Location,Params,Routes,Navigate}.
  2513. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2514. /Users/ryan/code/sentry/static/app/views/issueDetails/utils.tsx
  2515. 40:44 error `user` is deprecated @typescript-eslint/no-deprecated
  2516. /Users/ryan/code/sentry/static/app/views/issueList/issueListSetAsDefault.tsx
  2517. 46:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2518. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2519. the useNavigate hook is the native way to trigger navigation events.
  2520. browserHistory.push('/next') -> navigate('/next')
  2521. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2522. You may also use a LocationDescriptor object
  2523. browserHistory.push({...location, query: {someKey: 1}})
  2524. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2525. 58:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2526. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2527. the useNavigate hook is the native way to trigger navigation events.
  2528. browserHistory.push('/next') -> navigate('/next')
  2529. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2530. You may also use a LocationDescriptor object
  2531. browserHistory.push({...location, query: {someKey: 1}})
  2532. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2533. /Users/ryan/code/sentry/static/app/views/issueList/noGroupsHandler/noIssuesMatched.tsx
  2534. 14:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2535. use{Location,Params,Routes,Navigate}.
  2536. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2537. /Users/ryan/code/sentry/static/app/views/issueList/overview.tsx
  2538. 659:11 error `browserHistory` is deprecated. Prefer using useNavigate
  2539. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2540. the useNavigate hook is the native way to trigger navigation events.
  2541. browserHistory.push('/next') -> navigate('/next')
  2542. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2543. You may also use a LocationDescriptor object
  2544. browserHistory.push({...location, query: {someKey: 1}})
  2545. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2546. 932:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2547. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2548. the useNavigate hook is the native way to trigger navigation events.
  2549. browserHistory.push('/next') -> navigate('/next')
  2550. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2551. You may also use a LocationDescriptor object
  2552. browserHistory.push({...location, query: {someKey: 1}})
  2553. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2554. /Users/ryan/code/sentry/static/app/views/metrics/codeLocations.tsx
  2555. 164:68 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  2556. /Users/ryan/code/sentry/static/app/views/metrics/context.tsx
  2557. 243:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2558. use{Location,Params,Routes,Navigate}.
  2559. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2560. 268:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2561. use{Location,Params,Routes,Navigate}.
  2562. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2563. 319:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2564. 322:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2565. 330:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2566. /Users/ryan/code/sentry/static/app/views/metrics/layout.tsx
  2567. 74:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2568. 89:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2569. /Users/ryan/code/sentry/static/app/views/metrics/metricFormulaContextMenu.tsx
  2570. 49:18 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2571. 78:18 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2572. 88:18 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2573. /Users/ryan/code/sentry/static/app/views/metrics/metricQueryContextMenu.tsx
  2574. 55:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2575. use{Location,Params,Routes,Navigate}.
  2576. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2577. 79:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2578. 94:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2579. 133:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2580. 147:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2581. 169:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2582. 234:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2583. use{Location,Params,Routes,Navigate}.
  2584. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2585. /Users/ryan/code/sentry/static/app/views/metrics/metrics.tsx
  2586. 28:12 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2587. /Users/ryan/code/sentry/static/app/views/metrics/pageHeaderActions.tsx
  2588. 39:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2589. use{Location,Params,Routes,Navigate}.
  2590. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2591. 54:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2592. 60:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2593. /Users/ryan/code/sentry/static/app/views/metrics/scratchpad.tsx
  2594. 197:56 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2595. /Users/ryan/code/sentry/static/app/views/metrics/shareButton.tsx
  2596. 32:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2597. /Users/ryan/code/sentry/static/app/views/metrics/summaryTable.tsx
  2598. 65:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2599. /Users/ryan/code/sentry/static/app/views/metrics/useCreateDashboard.tsx
  2600. 24:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2601. use{Location,Params,Routes,Navigate}.
  2602. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2603. /Users/ryan/code/sentry/static/app/views/metrics/widget.tsx
  2604. 166:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2605. 173:14 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2606. 332:20 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2607. use{Location,Params,Routes,Navigate}.
  2608. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2609. 408:16 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2610. /Users/ryan/code/sentry/static/app/views/monitors/components/monitorCheckIns.tsx
  2611. 86:63 error `attachmentId` is deprecated @typescript-eslint/no-deprecated
  2612. 180:51 error `attachmentId` is deprecated @typescript-eslint/no-deprecated
  2613. /Users/ryan/code/sentry/static/app/views/monitors/components/monitorCreateForm.tsx
  2614. 75:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2615. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2616. the useNavigate hook is the native way to trigger navigation events.
  2617. browserHistory.push('/next') -> navigate('/next')
  2618. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2619. You may also use a LocationDescriptor object
  2620. browserHistory.push({...location, query: {someKey: 1}})
  2621. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2622. /Users/ryan/code/sentry/static/app/views/monitors/components/monitorForm.spec.tsx
  2623. 40:17 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  2624. new alternatives:
  2625. - useTeamsById({ids: []}) - get teams by id
  2626. - useTeamsById({slugs: []}) - get teams by slug
  2627. - useTeamsById() - just reading from the teams store
  2628. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  2629. /Users/ryan/code/sentry/static/app/views/monitors/components/monitorHeaderActions.tsx
  2630. 36:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2631. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2632. the useNavigate hook is the native way to trigger navigation events.
  2633. browserHistory.push('/next') -> navigate('/next')
  2634. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2635. You may also use a LocationDescriptor object
  2636. browserHistory.push({...location, query: {someKey: 1}})
  2637. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2638. /Users/ryan/code/sentry/static/app/views/monitors/components/overviewTimeline/resolutionSelector.tsx
  2639. 16:31 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2640. use{Location,Params,Routes,Navigate}.
  2641. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2642. /Users/ryan/code/sentry/static/app/views/monitors/components/overviewTimeline/sortSelector.tsx
  2643. 49:31 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2644. use{Location,Params,Routes,Navigate}.
  2645. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2646. /Users/ryan/code/sentry/static/app/views/monitors/components/timeline/gridLines.tsx
  2647. 129:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2648. use{Location,Params,Routes,Navigate}.
  2649. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2650. /Users/ryan/code/sentry/static/app/views/monitors/components/timeline/hooks/useDateNavigation.tsx
  2651. 32:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2652. use{Location,Params,Routes,Navigate}.
  2653. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2654. /Users/ryan/code/sentry/static/app/views/monitors/components/timeline/hooks/useMonitorStats.tsx
  2655. 33:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  2656. use{Location,Params,Routes,Navigate}.
  2657. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  2658. /Users/ryan/code/sentry/static/app/views/monitors/components/timeline/timelineCursor.spec.tsx
  2659. 49:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2660. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2661. 61:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2662. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2663. /Users/ryan/code/sentry/static/app/views/monitors/components/timeline/timelineZoom.spec.tsx
  2664. 67:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2665. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2666. 71:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2667. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2668. 75:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2669. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2670. 88:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2671. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2672. 92:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2673. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2674. 97:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2675. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2676. 103:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2677. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2678. 114:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2679. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2680. 117:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2681. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2682. 125:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2683. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2684. 126:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2685. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2686. 127:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2687. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2688. 137:15 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  2689. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  2690. /Users/ryan/code/sentry/static/app/views/monitors/create.tsx
  2691. 30:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2692. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2693. the useNavigate hook is the native way to trigger navigation events.
  2694. browserHistory.push('/next') -> navigate('/next')
  2695. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2696. You may also use a LocationDescriptor object
  2697. browserHistory.push({...location, query: {someKey: 1}})
  2698. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2699. /Users/ryan/code/sentry/static/app/views/monitors/edit.tsx
  2700. 44:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2701. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2702. the useNavigate hook is the native way to trigger navigation events.
  2703. browserHistory.push('/next') -> navigate('/next')
  2704. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2705. You may also use a LocationDescriptor object
  2706. browserHistory.push({...location, query: {someKey: 1}})
  2707. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2708. /Users/ryan/code/sentry/static/app/views/newsletterConsent/index.tsx
  2709. 24:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  2710. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  2711. /Users/ryan/code/sentry/static/app/views/onboarding/components/createProjectsFooter.tsx
  2712. 48:19 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  2713. new alternatives:
  2714. - useTeamsById({ids: []}) - get teams by id
  2715. - useTeamsById({slugs: []}) - get teams by slug
  2716. - useTeamsById() - just reading from the teams store
  2717. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  2718. /Users/ryan/code/sentry/static/app/views/onboarding/createSampleEventButton.tsx
  2719. 179:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2720. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2721. the useNavigate hook is the native way to trigger navigation events.
  2722. browserHistory.push('/next') -> navigate('/next')
  2723. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2724. You may also use a LocationDescriptor object
  2725. browserHistory.push({...location, query: {someKey: 1}})
  2726. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2727. /Users/ryan/code/sentry/static/app/views/onboarding/setupDocs.tsx
  2728. 88:11 error `browserHistory` is deprecated. Prefer using useNavigate
  2729. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2730. the useNavigate hook is the native way to trigger navigation events.
  2731. browserHistory.push('/next') -> navigate('/next')
  2732. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2733. You may also use a LocationDescriptor object
  2734. browserHistory.push({...location, query: {someKey: 1}})
  2735. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2736. /Users/ryan/code/sentry/static/app/views/organizationContainer.tsx
  2737. 15:13 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2738. /Users/ryan/code/sentry/static/app/views/organizationContext.tsx
  2739. 131:41 error `user` is deprecated @typescript-eslint/no-deprecated
  2740. /Users/ryan/code/sentry/static/app/views/organizationRestore/index.tsx
  2741. 53:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2742. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2743. the useNavigate hook is the native way to trigger navigation events.
  2744. browserHistory.push('/next') -> navigate('/next')
  2745. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2746. You may also use a LocationDescriptor object
  2747. browserHistory.push({...location, query: {someKey: 1}})
  2748. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2749. 76:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  2750. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  2751. /Users/ryan/code/sentry/static/app/views/organizationStats/teamInsights/index.tsx
  2752. 21:32 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2753. /Users/ryan/code/sentry/static/app/views/organizationStats/usageStatsOrg.tsx
  2754. 71:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2755. Read the dev docs page on network requests for more information [1].
  2756. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2757. 81:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2758. Read the dev docs page on network requests for more information [1].
  2759. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2760. 106:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2761. Read the dev docs page on network requests for more information [1].
  2762. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2763. 111:25 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2764. /Users/ryan/code/sentry/static/app/views/organizationStats/usageStatsProjects.tsx
  2765. 51:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2766. Read the dev docs page on network requests for more information [1].
  2767. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2768. 55:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2769. Read the dev docs page on network requests for more information [1].
  2770. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2771. 67:34 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2772. Read the dev docs page on network requests for more information [1].
  2773. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2774. 94:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  2775. Read the dev docs page on network requests for more information [1].
  2776. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  2777. /Users/ryan/code/sentry/static/app/views/organizationStats/usageTable.tsx
  2778. 55:46 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  2779. 65:41 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  2780. 181:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  2781. /Users/ryan/code/sentry/static/app/views/performance/charts/footer.tsx
  2782. 77:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2783. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2784. the useNavigate hook is the native way to trigger navigation events.
  2785. browserHistory.push('/next') -> navigate('/next')
  2786. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2787. You may also use a LocationDescriptor object
  2788. browserHistory.push({...location, query: {someKey: 1}})
  2789. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2790. /Users/ryan/code/sentry/static/app/views/performance/content.tsx
  2791. 161:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2792. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2793. the useNavigate hook is the native way to trigger navigation events.
  2794. browserHistory.push('/next') -> navigate('/next')
  2795. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2796. You may also use a LocationDescriptor object
  2797. browserHistory.push({...location, query: {someKey: 1}})
  2798. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2799. /Users/ryan/code/sentry/static/app/views/performance/landing/display/doubleAxisDisplay.tsx
  2800. 52:5 error `browserHistory` is deprecated. Prefer using useNavigate
  2801. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2802. the useNavigate hook is the native way to trigger navigation events.
  2803. browserHistory.push('/next') -> navigate('/next')
  2804. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2805. You may also use a LocationDescriptor object
  2806. browserHistory.push({...location, query: {someKey: 1}})
  2807. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2808. /Users/ryan/code/sentry/static/app/views/performance/landing/index.tsx
  2809. 96:36 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  2810. new alternatives:
  2811. - useTeamsById({ids: []}) - get teams by id
  2812. - useTeamsById({slugs: []}) - get teams by slug
  2813. - useTeamsById() - just reading from the teams store
  2814. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  2815. 143:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2816. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2817. the useNavigate hook is the native way to trigger navigation events.
  2818. browserHistory.push('/next') -> navigate('/next')
  2819. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2820. You may also use a LocationDescriptor object
  2821. browserHistory.push({...location, query: {someKey: 1}})
  2822. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2823. /Users/ryan/code/sentry/static/app/views/performance/landing/utils.tsx
  2824. 61:31 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2825. 69:3 error `browserHistory` is deprecated. Prefer using useNavigate
  2826. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2827. the useNavigate hook is the native way to trigger navigation events.
  2828. browserHistory.push('/next') -> navigate('/next')
  2829. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2830. You may also use a LocationDescriptor object
  2831. browserHistory.push({...location, query: {someKey: 1}})
  2832. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2833. 144:3 error `browserHistory` is deprecated. Prefer using useNavigate
  2834. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2835. the useNavigate hook is the native way to trigger navigation events.
  2836. browserHistory.push('/next') -> navigate('/next')
  2837. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2838. You may also use a LocationDescriptor object
  2839. browserHistory.push({...location, query: {someKey: 1}})
  2840. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2841. /Users/ryan/code/sentry/static/app/views/performance/landing/widgets/components/dataStateSwitch.tsx
  2842. 4:19 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2843. 5:19 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2844. 6:19 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2845. 11:22 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2846. 12:5 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2847. /Users/ryan/code/sentry/static/app/views/performance/landing/widgets/components/widgetContainer.tsx
  2848. 251:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2849. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2850. the useNavigate hook is the native way to trigger navigation events.
  2851. browserHistory.push('/next') -> navigate('/next')
  2852. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2853. You may also use a LocationDescriptor object
  2854. browserHistory.push({...location, query: {someKey: 1}})
  2855. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2856. 313:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2857. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2858. the useNavigate hook is the native way to trigger navigation events.
  2859. browserHistory.push('/next') -> navigate('/next')
  2860. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2861. You may also use a LocationDescriptor object
  2862. browserHistory.push({...location, query: {someKey: 1}})
  2863. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2864. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/trace.tsx
  2865. 684:5 error `replayPlayerTimestampEmitter` is deprecated. This emitter is a singleton that sends some global state around.
  2866. If there are multiple replay instances on the page values will be confusing.
  2867. A better implementation would nest the consumer under the same
  2868. <ReplayCurrentTimeContextProvider> ancestor node @typescript-eslint/no-deprecated
  2869. 687:7 error `replayPlayerTimestampEmitter` is deprecated. This emitter is a singleton that sends some global state around.
  2870. If there are multiple replay instances on the page values will be confusing.
  2871. A better implementation would nest the consumer under the same
  2872. <ReplayCurrentTimeContextProvider> ancestor node @typescript-eslint/no-deprecated
  2873. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceAnalytics.tsx
  2874. 16:10 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2875. 46:10 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2876. 48:43 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  2877. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceDrawer/details/issues/issueSummary.tsx
  2878. 59:21 error `status` is deprecated. [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status) @typescript-eslint/no-deprecated
  2879. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceDrawer/details/styles.tsx
  2880. 274:14 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2881. 370:10 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2882. 373:12 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2883. 846:13 error `href` is deprecated. Use LinkButton instead @typescript-eslint/no-deprecated
  2884. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceDrawer/tabs/traceVitals.tsx
  2885. 112:27 error `name` is deprecated @typescript-eslint/no-deprecated
  2886. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceModels/traceTreeTestUtils.tsx
  2887. 63:35 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  2888. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceRenderers/virtualizedViewManager.tsx
  2889. 687:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2890. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2891. the useNavigate hook is the native way to trigger navigation events.
  2892. browserHistory.push('/next') -> navigate('/next')
  2893. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2894. You may also use a LocationDescriptor object
  2895. browserHistory.push({...location, query: {someKey: 1}})
  2896. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2897. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceTypeWarnings/errorsOnlyWarnings.tsx
  2898. 108:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2899. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2900. the useNavigate hook is the native way to trigger navigation events.
  2901. browserHistory.push('/next') -> navigate('/next')
  2902. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2903. You may also use a LocationDescriptor object
  2904. browserHistory.push({...location, query: {someKey: 1}})
  2905. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2906. 194:9 error `browserHistory` is deprecated. Prefer using useNavigate
  2907. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2908. the useNavigate hook is the native way to trigger navigation events.
  2909. browserHistory.push('/next') -> navigate('/next')
  2910. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2911. You may also use a LocationDescriptor object
  2912. browserHistory.push({...location, query: {someKey: 1}})
  2913. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2914. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/traceWaterfall.tsx
  2915. 344:11 error `browserHistory` is deprecated. Prefer using useNavigate
  2916. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2917. the useNavigate hook is the native way to trigger navigation events.
  2918. browserHistory.push('/next') -> navigate('/next')
  2919. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2920. You may also use a LocationDescriptor object
  2921. browserHistory.push({...location, query: {someKey: 1}})
  2922. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2923. /Users/ryan/code/sentry/static/app/views/performance/newTraceDetails/useTraceQueryParamStateSync.tsx
  2924. 31:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2925. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2926. the useNavigate hook is the native way to trigger navigation events.
  2927. browserHistory.push('/next') -> navigate('/next')
  2928. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2929. You may also use a LocationDescriptor object
  2930. browserHistory.push({...location, query: {someKey: 1}})
  2931. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2932. /Users/ryan/code/sentry/static/app/views/performance/onboarding.tsx
  2933. 204:17 error `browserHistory` is deprecated. Prefer using useNavigate
  2934. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2935. the useNavigate hook is the native way to trigger navigation events.
  2936. browserHistory.push('/next') -> navigate('/next')
  2937. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2938. You may also use a LocationDescriptor object
  2939. browserHistory.push({...location, query: {someKey: 1}})
  2940. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2941. /Users/ryan/code/sentry/static/app/views/performance/table.tsx
  2942. 174:43 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2943. 227:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2944. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2945. the useNavigate hook is the native way to trigger navigation events.
  2946. browserHistory.push('/next') -> navigate('/next')
  2947. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2948. You may also use a LocationDescriptor object
  2949. browserHistory.push({...location, query: {someKey: 1}})
  2950. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2951. 468:37 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2952. 526:33 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2953. 531:36 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  2954. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/TraceDetailsRouting.tsx
  2955. 13:13 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  2956. 34:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2957. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2958. the useNavigate hook is the native way to trigger navigation events.
  2959. browserHistory.push('/next') -> navigate('/next')
  2960. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2961. You may also use a LocationDescriptor object
  2962. browserHistory.push({...location, query: {someKey: 1}})
  2963. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2964. 59:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2965. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2966. the useNavigate hook is the native way to trigger navigation events.
  2967. browserHistory.push('/next') -> navigate('/next')
  2968. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2969. You may also use a LocationDescriptor object
  2970. browserHistory.push({...location, query: {someKey: 1}})
  2971. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2972. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/limitExceededMessage.tsx
  2973. 89:13 error `browserHistory` is deprecated. Prefer using useNavigate
  2974. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2975. the useNavigate hook is the native way to trigger navigation events.
  2976. browserHistory.push('/next') -> navigate('/next')
  2977. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2978. You may also use a LocationDescriptor object
  2979. browserHistory.push({...location, query: {someKey: 1}})
  2980. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2981. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/newTraceDetailsTransactionBar.tsx
  2982. 610:8 error `Projects` is deprecated. consider using useProjects if possible.
  2983. This is a utility component that should be used to fetch an organization's projects (summary).
  2984. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  2985. These will be passed down to the render prop (`children`).
  2986. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  2987. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  2988. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/styles.tsx
  2989. 136:16 error `EventTagsPill` is deprecated. Legacy design, use EventTagsTreeRow instead @typescript-eslint/no-deprecated
  2990. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/transactionBar.tsx
  2991. 166:7 error `browserHistory` is deprecated. Prefer using useNavigate
  2992. browserHistory is a hold-over from react-router 3 days. In react-router 6
  2993. the useNavigate hook is the native way to trigger navigation events.
  2994. browserHistory.push('/next') -> navigate('/next')
  2995. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  2996. You may also use a LocationDescriptor object
  2997. browserHistory.push({...location, query: {someKey: 1}})
  2998. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  2999. 335:8 error `Projects` is deprecated. consider using useProjects if possible.
  3000. This is a utility component that should be used to fetch an organization's projects (summary).
  3001. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  3002. These will be passed down to the render prop (`children`).
  3003. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  3004. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  3005. /Users/ryan/code/sentry/static/app/views/performance/traceDetails/transactionDetail.tsx
  3006. 98:20 error `getTransactionDetailsUrl` is deprecated. Use generateLinkToEventInTraceView instead, since we are pushing towards events always being displayed in the trace view @typescript-eslint/no-deprecated
  3007. 196:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3008. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3009. the useNavigate hook is the native way to trigger navigation events.
  3010. browserHistory.push('/next') -> navigate('/next')
  3011. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3012. You may also use a LocationDescriptor object
  3013. browserHistory.push({...location, query: {someKey: 1}})
  3014. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3015. /Users/ryan/code/sentry/static/app/views/performance/transactionDetails/content.tsx
  3016. 213:22 error `Projects` is deprecated. consider using useProjects if possible.
  3017. This is a utility component that should be used to fetch an organization's projects (summary).
  3018. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  3019. These will be passed down to the render prop (`children`).
  3020. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  3021. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  3022. 218:38 error `getTransactionDetailsUrl` is deprecated. Use generateLinkToEventInTraceView instead, since we are pushing towards events always being displayed in the trace view @typescript-eslint/no-deprecated
  3023. 352:30 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3024. /Users/ryan/code/sentry/static/app/views/performance/transactionDetails/eventMetas.tsx
  3025. 123:8 error `Projects` is deprecated. consider using useProjects if possible.
  3026. This is a utility component that should be used to fetch an organization's projects (summary).
  3027. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  3028. These will be passed down to the render prop (`children`).
  3029. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  3030. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  3031. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/pageLayout.tsx
  3032. 80:42 error `JSX` is deprecated. Use `React.JSX` instead of the global `JSX` namespace @typescript-eslint/no-deprecated
  3033. 110:7 error `isString` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  3034. 114:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3035. use{Location,Params,Routes,Navigate}.
  3036. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3037. 182:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3038. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3039. the useNavigate hook is the native way to trigger navigation events.
  3040. browserHistory.push('/next') -> navigate('/next')
  3041. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3042. You may also use a LocationDescriptor object
  3043. browserHistory.push({...location, query: {someKey: 1}})
  3044. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3045. 360:3 error `browserHistory` is deprecated. Prefer using useNavigate
  3046. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3047. the useNavigate hook is the native way to trigger navigation events.
  3048. browserHistory.push('/next') -> navigate('/next')
  3049. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3050. You may also use a LocationDescriptor object
  3051. browserHistory.push({...location, query: {someKey: 1}})
  3052. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3053. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/teamKeyTransactionButton.tsx
  3054. 90:36 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  3055. new alternatives:
  3056. - useTeamsById({ids: []}) - get teams by id
  3057. - useTeamsById({slugs: []}) - get teams by slug
  3058. - useTeamsById() - just reading from the teams store
  3059. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  3060. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionEvents/content.tsx
  3061. 197:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3062. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3063. the useNavigate hook is the native way to trigger navigation events.
  3064. browserHistory.push('/next') -> navigate('/next')
  3065. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3066. You may also use a LocationDescriptor object
  3067. browserHistory.push({...location, query: {someKey: 1}})
  3068. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3069. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionEvents/eventsTable.tsx
  3070. 132:43 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3071. 150:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3072. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3073. the useNavigate hook is the native way to trigger navigation events.
  3074. browserHistory.push('/next') -> navigate('/next')
  3075. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3076. You may also use a LocationDescriptor object
  3077. browserHistory.push({...location, query: {someKey: 1}})
  3078. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3079. 425:33 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3080. 431:39 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3081. 434:36 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3082. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionEvents/index.tsx
  3083. 129:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3084. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3085. the useNavigate hook is the native way to trigger navigation events.
  3086. browserHistory.push('/next') -> navigate('/next')
  3087. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3088. You may also use a LocationDescriptor object
  3089. browserHistory.push({...location, query: {someKey: 1}})
  3090. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3091. 153:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3092. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3093. the useNavigate hook is the native way to trigger navigation events.
  3094. browserHistory.push('/next') -> navigate('/next')
  3095. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3096. You may also use a LocationDescriptor object
  3097. browserHistory.push({...location, query: {someKey: 1}})
  3098. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3099. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionEvents/operationSort.tsx
  3100. 93:19 error `browserHistory` is deprecated. Prefer using useNavigate
  3101. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3102. the useNavigate hook is the native way to trigger navigation events.
  3103. browserHistory.push('/next') -> navigate('/next')
  3104. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3105. You may also use a LocationDescriptor object
  3106. browserHistory.push({...location, query: {someKey: 1}})
  3107. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3108. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/charts.tsx
  3109. 102:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3110. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3111. the useNavigate hook is the native way to trigger navigation events.
  3112. browserHistory.push('/next') -> navigate('/next')
  3113. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3114. You may also use a LocationDescriptor object
  3115. browserHistory.push({...location, query: {someKey: 1}})
  3116. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3117. 112:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3118. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3119. the useNavigate hook is the native way to trigger navigation events.
  3120. browserHistory.push('/next') -> navigate('/next')
  3121. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3122. You may also use a LocationDescriptor object
  3123. browserHistory.push({...location, query: {someKey: 1}})
  3124. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3125. 119:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3126. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3127. the useNavigate hook is the native way to trigger navigation events.
  3128. browserHistory.push('/next') -> navigate('/next')
  3129. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3130. You may also use a LocationDescriptor object
  3131. browserHistory.push({...location, query: {someKey: 1}})
  3132. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3133. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/content.tsx
  3134. 115:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3135. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3136. the useNavigate hook is the native way to trigger navigation events.
  3137. browserHistory.push('/next') -> navigate('/next')
  3138. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3139. You may also use a LocationDescriptor object
  3140. browserHistory.push({...location, query: {someKey: 1}})
  3141. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3142. 132:55 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3143. 133:43 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3144. 138:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3145. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3146. the useNavigate hook is the native way to trigger navigation events.
  3147. browserHistory.push('/next') -> navigate('/next')
  3148. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3149. You may also use a LocationDescriptor object
  3150. browserHistory.push({...location, query: {someKey: 1}})
  3151. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3152. 155:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3153. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3154. the useNavigate hook is the native way to trigger navigation events.
  3155. browserHistory.push('/next') -> navigate('/next')
  3156. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3157. You may also use a LocationDescriptor object
  3158. browserHistory.push({...location, query: {someKey: 1}})
  3159. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3160. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/durationChart/index.tsx
  3161. 54:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3162. use{Location,Params,Routes,Navigate}.
  3163. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3164. 75:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3165. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3166. the useNavigate hook is the native way to trigger navigation events.
  3167. browserHistory.push('/next') -> navigate('/next')
  3168. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3169. You may also use a LocationDescriptor object
  3170. browserHistory.push({...location, query: {someKey: 1}})
  3171. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3172. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/index.tsx
  3173. 174:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3174. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3175. the useNavigate hook is the native way to trigger navigation events.
  3176. browserHistory.push('/next') -> navigate('/next')
  3177. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3178. You may also use a LocationDescriptor object
  3179. browserHistory.push({...location, query: {someKey: 1}})
  3180. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3181. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/statusBreakdown.tsx
  3182. 77:15 error `browserHistory` is deprecated. Prefer using useNavigate
  3183. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3184. the useNavigate hook is the native way to trigger navigation events.
  3185. browserHistory.push('/next') -> navigate('/next')
  3186. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3187. You may also use a LocationDescriptor object
  3188. browserHistory.push({...location, query: {someKey: 1}})
  3189. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3190. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/suspectSpans.tsx
  3191. 108:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3192. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3193. the useNavigate hook is the native way to trigger navigation events.
  3194. browserHistory.push('/next') -> navigate('/next')
  3195. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3196. You may also use a LocationDescriptor object
  3197. browserHistory.push({...location, query: {someKey: 1}})
  3198. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3199. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/tagExplorer.tsx
  3200. 280:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3201. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3202. the useNavigate hook is the native way to trigger navigation events.
  3203. browserHistory.push('/next') -> navigate('/next')
  3204. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3205. You may also use a LocationDescriptor object
  3206. browserHistory.push({...location, query: {someKey: 1}})
  3207. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3208. 291:21 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3209. 304:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3210. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3211. the useNavigate hook is the native way to trigger navigation events.
  3212. browserHistory.push('/next') -> navigate('/next')
  3213. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3214. You may also use a LocationDescriptor object
  3215. browserHistory.push({...location, query: {someKey: 1}})
  3216. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3217. 490:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3218. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3219. the useNavigate hook is the native way to trigger navigation events.
  3220. browserHistory.push('/next') -> navigate('/next')
  3221. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3222. You may also use a LocationDescriptor object
  3223. browserHistory.push({...location, query: {someKey: 1}})
  3224. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3225. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionOverview/trendChart/index.tsx
  3226. 86:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3227. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3228. the useNavigate hook is the native way to trigger navigation events.
  3229. browserHistory.push('/next') -> navigate('/next')
  3230. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3231. You may also use a LocationDescriptor object
  3232. browserHistory.push({...location, query: {someKey: 1}})
  3233. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3234. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionProfiles/content.tsx
  3235. 421:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3236. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3237. the useNavigate hook is the native way to trigger navigation events.
  3238. browserHistory.push('/next') -> navigate('/next')
  3239. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3240. You may also use a LocationDescriptor object
  3241. browserHistory.push({...location, query: {someKey: 1}})
  3242. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3243. 434:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3244. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3245. the useNavigate hook is the native way to trigger navigation events.
  3246. browserHistory.push('/next') -> navigate('/next')
  3247. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3248. You may also use a LocationDescriptor object
  3249. browserHistory.push({...location, query: {someKey: 1}})
  3250. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3251. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionProfiles/index.tsx
  3252. 59:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3253. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3254. the useNavigate hook is the native way to trigger navigation events.
  3255. browserHistory.push('/next') -> navigate('/next')
  3256. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3257. You may also use a LocationDescriptor object
  3258. browserHistory.push({...location, query: {someKey: 1}})
  3259. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3260. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionSpans/content.tsx
  3261. 84:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3262. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3263. the useNavigate hook is the native way to trigger navigation events.
  3264. browserHistory.push('/next') -> navigate('/next')
  3265. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3266. You may also use a LocationDescriptor object
  3267. browserHistory.push({...location, query: {someKey: 1}})
  3268. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3269. 220:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3270. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3271. the useNavigate hook is the native way to trigger navigation events.
  3272. browserHistory.push('/next') -> navigate('/next')
  3273. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3274. You may also use a LocationDescriptor object
  3275. browserHistory.push({...location, query: {someKey: 1}})
  3276. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3277. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionSpans/spanDetails/chart.tsx
  3278. 55:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3279. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3280. the useNavigate hook is the native way to trigger navigation events.
  3281. browserHistory.push('/next') -> navigate('/next')
  3282. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3283. You may also use a LocationDescriptor object
  3284. browserHistory.push({...location, query: {someKey: 1}})
  3285. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3286. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionSpans/spanDetails/exclusiveTimeTimeSeries.tsx
  3287. 72:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3288. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3289. the useNavigate hook is the native way to trigger navigation events.
  3290. browserHistory.push('/next') -> navigate('/next')
  3291. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3292. You may also use a LocationDescriptor object
  3293. browserHistory.push({...location, query: {someKey: 1}})
  3294. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3295. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionSpans/spanDetails/spanDetailsControls.tsx
  3296. 35:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3297. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3298. the useNavigate hook is the native way to trigger navigation events.
  3299. browserHistory.push('/next') -> navigate('/next')
  3300. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3301. You may also use a LocationDescriptor object
  3302. browserHistory.push({...location, query: {someKey: 1}})
  3303. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3304. 46:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3305. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3306. the useNavigate hook is the native way to trigger navigation events.
  3307. browserHistory.push('/next') -> navigate('/next')
  3308. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3309. You may also use a LocationDescriptor object
  3310. browserHistory.push({...location, query: {someKey: 1}})
  3311. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3312. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionSpans/spanMetricsTable.tsx
  3313. 119:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3314. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3315. the useNavigate hook is the native way to trigger navigation events.
  3316. browserHistory.push('/next') -> navigate('/next')
  3317. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3318. You may also use a LocationDescriptor object
  3319. browserHistory.push({...location, query: {someKey: 1}})
  3320. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3321. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionTags/content.tsx
  3322. 139:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3323. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3324. the useNavigate hook is the native way to trigger navigation events.
  3325. browserHistory.push('/next') -> navigate('/next')
  3326. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3327. You may also use a LocationDescriptor object
  3328. browserHistory.push({...location, query: {someKey: 1}})
  3329. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3330. 162:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3331. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3332. the useNavigate hook is the native way to trigger navigation events.
  3333. browserHistory.push('/next') -> navigate('/next')
  3334. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3335. You may also use a LocationDescriptor object
  3336. browserHistory.push({...location, query: {someKey: 1}})
  3337. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3338. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionTags/tagValueTable.tsx
  3339. 117:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3340. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3341. the useNavigate hook is the native way to trigger navigation events.
  3342. browserHistory.push('/next') -> navigate('/next')
  3343. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3344. You may also use a LocationDescriptor object
  3345. browserHistory.push({...location, query: {someKey: 1}})
  3346. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3347. 128:21 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3348. 139:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3349. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3350. the useNavigate hook is the native way to trigger navigation events.
  3351. browserHistory.push('/next') -> navigate('/next')
  3352. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3353. You may also use a LocationDescriptor object
  3354. browserHistory.push({...location, query: {someKey: 1}})
  3355. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3356. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionTags/tagsDisplay.tsx
  3357. 105:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3358. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3359. the useNavigate hook is the native way to trigger navigation events.
  3360. browserHistory.push('/next') -> navigate('/next')
  3361. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3362. You may also use a LocationDescriptor object
  3363. browserHistory.push({...location, query: {someKey: 1}})
  3364. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3365. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionTags/tagsHeatMap.tsx
  3366. 173:39 error `truncate` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  3367. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionTags/utils.tsx
  3368. 72:69 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3369. /Users/ryan/code/sentry/static/app/views/performance/transactionSummary/transactionVitals/content.tsx
  3370. 50:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3371. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3372. the useNavigate hook is the native way to trigger navigation events.
  3373. browserHistory.push('/next') -> navigate('/next')
  3374. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3375. You may also use a LocationDescriptor object
  3376. browserHistory.push({...location, query: {someKey: 1}})
  3377. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3378. /Users/ryan/code/sentry/static/app/views/performance/trends/changedTransactions.tsx
  3379. 94:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3380. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3381. the useNavigate hook is the native way to trigger navigation events.
  3382. browserHistory.push('/next') -> navigate('/next')
  3383. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3384. You may also use a LocationDescriptor object
  3385. browserHistory.push({...location, query: {someKey: 1}})
  3386. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3387. 128:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3388. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3389. the useNavigate hook is the native way to trigger navigation events.
  3390. browserHistory.push('/next') -> navigate('/next')
  3391. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3392. You may also use a LocationDescriptor object
  3393. browserHistory.push({...location, query: {someKey: 1}})
  3394. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3395. 153:3 error `browserHistory` is deprecated. Prefer using useNavigate
  3396. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3397. the useNavigate hook is the native way to trigger navigation events.
  3398. browserHistory.push('/next') -> navigate('/next')
  3399. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3400. You may also use a LocationDescriptor object
  3401. browserHistory.push({...location, query: {someKey: 1}})
  3402. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3403. 190:3 error `browserHistory` is deprecated. Prefer using useNavigate
  3404. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3405. the useNavigate hook is the native way to trigger navigation events.
  3406. browserHistory.push('/next') -> navigate('/next')
  3407. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3408. You may also use a LocationDescriptor object
  3409. browserHistory.push({...location, query: {someKey: 1}})
  3410. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3411. /Users/ryan/code/sentry/static/app/views/performance/trends/chart.tsx
  3412. 119:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3413. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3414. the useNavigate hook is the native way to trigger navigation events.
  3415. browserHistory.push('/next') -> navigate('/next')
  3416. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3417. You may also use a LocationDescriptor object
  3418. browserHistory.push({...location, query: {someKey: 1}})
  3419. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3420. /Users/ryan/code/sentry/static/app/views/performance/trends/content.tsx
  3421. 76:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3422. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3423. the useNavigate hook is the native way to trigger navigation events.
  3424. browserHistory.push('/next') -> navigate('/next')
  3425. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3426. You may also use a LocationDescriptor object
  3427. browserHistory.push({...location, query: {someKey: 1}})
  3428. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3429. 111:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3430. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3431. the useNavigate hook is the native way to trigger navigation events.
  3432. browserHistory.push('/next') -> navigate('/next')
  3433. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3434. You may also use a LocationDescriptor object
  3435. browserHistory.push({...location, query: {someKey: 1}})
  3436. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3437. 145:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3438. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3439. the useNavigate hook is the native way to trigger navigation events.
  3440. browserHistory.push('/next') -> navigate('/next')
  3441. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3442. You may also use a LocationDescriptor object
  3443. browserHistory.push({...location, query: {someKey: 1}})
  3444. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3445. 327:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3446. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3447. the useNavigate hook is the native way to trigger navigation events.
  3448. browserHistory.push('/next') -> navigate('/next')
  3449. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3450. You may also use a LocationDescriptor object
  3451. browserHistory.push({...location, query: {someKey: 1}})
  3452. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3453. /Users/ryan/code/sentry/static/app/views/performance/trends/index.spec.tsx
  3454. 62:3 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  3455. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  3456. 63:3 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  3457. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  3458. /Users/ryan/code/sentry/static/app/views/performance/utils/index.tsx
  3459. 223:3 error `browserHistory` is deprecated. Prefer using useNavigate
  3460. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3461. the useNavigate hook is the native way to trigger navigation events.
  3462. browserHistory.push('/next') -> navigate('/next')
  3463. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3464. You may also use a LocationDescriptor object
  3465. browserHistory.push({...location, query: {someKey: 1}})
  3466. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3467. /Users/ryan/code/sentry/static/app/views/performance/vitalDetail/index.tsx
  3468. 105:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3469. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3470. the useNavigate hook is the native way to trigger navigation events.
  3471. browserHistory.push('/next') -> navigate('/next')
  3472. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3473. You may also use a LocationDescriptor object
  3474. browserHistory.push({...location, query: {someKey: 1}})
  3475. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3476. /Users/ryan/code/sentry/static/app/views/performance/vitalDetail/table.tsx
  3477. 84:43 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3478. 98:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3479. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3480. the useNavigate hook is the native way to trigger navigation events.
  3481. browserHistory.push('/next') -> navigate('/next')
  3482. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3483. You may also use a LocationDescriptor object
  3484. browserHistory.push({...location, query: {someKey: 1}})
  3485. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3486. 275:37 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3487. 360:39 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3488. 362:36 error `ReactText` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3489. /Users/ryan/code/sentry/static/app/views/performance/vitalDetail/vitalChart.tsx
  3490. 85:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3491. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3492. the useNavigate hook is the native way to trigger navigation events.
  3493. browserHistory.push('/next') -> navigate('/next')
  3494. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3495. You may also use a LocationDescriptor object
  3496. browserHistory.push({...location, query: {someKey: 1}})
  3497. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3498. /Users/ryan/code/sentry/static/app/views/performance/vitalDetail/vitalChartMetrics.tsx
  3499. 77:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3500. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3501. the useNavigate hook is the native way to trigger navigation events.
  3502. browserHistory.push('/next') -> navigate('/next')
  3503. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3504. You may also use a LocationDescriptor object
  3505. browserHistory.push({...location, query: {someKey: 1}})
  3506. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3507. /Users/ryan/code/sentry/static/app/views/performance/vitalDetail/vitalDetailContent.tsx
  3508. 87:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3509. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3510. the useNavigate hook is the native way to trigger navigation events.
  3511. browserHistory.push('/next') -> navigate('/next')
  3512. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3513. You may also use a LocationDescriptor object
  3514. browserHistory.push({...location, query: {someKey: 1}})
  3515. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3516. 123:13 error `browserHistory` is deprecated. Prefer using useNavigate
  3517. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3518. the useNavigate hook is the native way to trigger navigation events.
  3519. browserHistory.push('/next') -> navigate('/next')
  3520. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3521. You may also use a LocationDescriptor object
  3522. browserHistory.push({...location, query: {someKey: 1}})
  3523. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3524. 232:16 error `provideUserTeams` is deprecated. use `useUserTeams()` @typescript-eslint/no-deprecated
  3525. /Users/ryan/code/sentry/static/app/views/profiling/content.tsx
  3526. 87:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3527. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3528. the useNavigate hook is the native way to trigger navigation events.
  3529. browserHistory.push('/next') -> navigate('/next')
  3530. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3531. You may also use a LocationDescriptor object
  3532. browserHistory.push({...location, query: {someKey: 1}})
  3533. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3534. 204:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3535. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3536. the useNavigate hook is the native way to trigger navigation events.
  3537. browserHistory.push('/next') -> navigate('/next')
  3538. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3539. You may also use a LocationDescriptor object
  3540. browserHistory.push({...location, query: {someKey: 1}})
  3541. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3542. /Users/ryan/code/sentry/static/app/views/profiling/continuousProfileProvider.spec.tsx
  3543. 26:19 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  3544. 54:45 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  3545. 55:45 error `uuid4` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  3546. /Users/ryan/code/sentry/static/app/views/profiling/landing/functionTrendsWidget.tsx
  3547. 79:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3548. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3549. the useNavigate hook is the native way to trigger navigation events.
  3550. browserHistory.push('/next') -> navigate('/next')
  3551. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3552. You may also use a LocationDescriptor object
  3553. browserHistory.push({...location, query: {someKey: 1}})
  3554. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3555. /Users/ryan/code/sentry/static/app/views/profiling/landing/landingWidgetSelector.tsx
  3556. 38:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3557. use{Location,Params,Routes,Navigate}.
  3558. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3559. /Users/ryan/code/sentry/static/app/views/profiling/landing/slowestFunctionsWidget.tsx
  3560. 90:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3561. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3562. the useNavigate hook is the native way to trigger navigation events.
  3563. browserHistory.push('/next') -> navigate('/next')
  3564. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3565. You may also use a LocationDescriptor object
  3566. browserHistory.push({...location, query: {someKey: 1}})
  3567. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3568. /Users/ryan/code/sentry/static/app/views/profiling/profileSummary/index.tsx
  3569. 212:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3570. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3571. the useNavigate hook is the native way to trigger navigation events.
  3572. browserHistory.push('/next') -> navigate('/next')
  3573. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3574. You may also use a LocationDescriptor object
  3575. browserHistory.push({...location, query: {someKey: 1}})
  3576. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3577. /Users/ryan/code/sentry/static/app/views/profiling/profileSummary/regressedProfileFunctions.tsx
  3578. 136:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3579. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3580. the useNavigate hook is the native way to trigger navigation events.
  3581. browserHistory.push('/next') -> navigate('/next')
  3582. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3583. You may also use a LocationDescriptor object
  3584. browserHistory.push({...location, query: {someKey: 1}})
  3585. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3586. /Users/ryan/code/sentry/static/app/views/profiling/profileSummary/slowestProfileFunctions.tsx
  3587. 72:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3588. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3589. the useNavigate hook is the native way to trigger navigation events.
  3590. browserHistory.push('/next') -> navigate('/next')
  3591. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3592. You may also use a LocationDescriptor object
  3593. browserHistory.push({...location, query: {someKey: 1}})
  3594. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3595. /Users/ryan/code/sentry/static/app/views/projectDetail/charts/projectErrorsBasicChart.tsx
  3596. 18:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3597. Read the dev docs page on network requests for more information [1].
  3598. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3599. 25:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3600. Read the dev docs page on network requests for more information [1].
  3601. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3602. 29:39 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3603. Read the dev docs page on network requests for more information [1].
  3604. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3605. 32:10 error `super` is deprecated. use useApiQuery instead
  3606. Read the dev docs page on network requests for more information [1].
  3607. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3608. 37:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3609. Read the dev docs page on network requests for more information [1].
  3610. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3611. 59:5 error `super` is deprecated. use useApiQuery instead
  3612. Read the dev docs page on network requests for more information [1].
  3613. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3614. 62:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3615. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3616. the useNavigate hook is the native way to trigger navigation events.
  3617. browserHistory.push('/next') -> navigate('/next')
  3618. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3619. You may also use a LocationDescriptor object
  3620. browserHistory.push({...location, query: {someKey: 1}})
  3621. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3622. /Users/ryan/code/sentry/static/app/views/projectDetail/missingFeatureButtons/missingPerformanceButtons.tsx
  3623. 20:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3624. use{Location,Params,Routes,Navigate}.
  3625. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3626. /Users/ryan/code/sentry/static/app/views/projectDetail/projectCharts.tsx
  3627. 304:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3628. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3629. the useNavigate hook is the native way to trigger navigation events.
  3630. browserHistory.push('/next') -> navigate('/next')
  3631. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3632. You may also use a LocationDescriptor object
  3633. browserHistory.push({...location, query: {someKey: 1}})
  3634. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3635. /Users/ryan/code/sentry/static/app/views/projectDetail/projectIssues.tsx
  3636. 193:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3637. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3638. the useNavigate hook is the native way to trigger navigation events.
  3639. browserHistory.push('/next') -> navigate('/next')
  3640. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3641. You may also use a LocationDescriptor object
  3642. browserHistory.push({...location, query: {someKey: 1}})
  3643. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3644. /Users/ryan/code/sentry/static/app/views/projectDetail/projectLatestReleases.tsx
  3645. 28:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3646. Read the dev docs page on network requests for more information [1].
  3647. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3648. 39:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3649. Read the dev docs page on network requests for more information [1].
  3650. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3651. 41:37 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3652. Read the dev docs page on network requests for more information [1].
  3653. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3654. 67:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3655. Read the dev docs page on network requests for more information [1].
  3656. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3657. /Users/ryan/code/sentry/static/app/views/projectInstall/createProject.tsx
  3658. 57:19 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  3659. new alternatives:
  3660. - useTeamsById({ids: []}) - get teams by id
  3661. - useTeamsById({slugs: []}) - get teams by slug
  3662. - useTeamsById() - just reading from the teams store
  3663. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  3664. 184:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3665. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3666. the useNavigate hook is the native way to trigger navigation events.
  3667. browserHistory.push('/next') -> navigate('/next')
  3668. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3669. You may also use a LocationDescriptor object
  3670. browserHistory.push({...location, query: {someKey: 1}})
  3671. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3672. /Users/ryan/code/sentry/static/app/views/projectInstall/issueAlertOptions.tsx
  3673. 46:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3674. Read the dev docs page on network requests for more information [1].
  3675. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3676. 57:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3677. Read the dev docs page on network requests for more information [1].
  3678. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3679. 116:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3680. Read the dev docs page on network requests for more information [1].
  3681. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3682. 119:10 error `super` is deprecated. use useApiQuery instead
  3683. Read the dev docs page on network requests for more information [1].
  3684. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3685. 259:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3686. Read the dev docs page on network requests for more information [1].
  3687. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3688. /Users/ryan/code/sentry/static/app/views/projectInstall/platformDocHeader.tsx
  3689. 30:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3690. use{Location,Params,Routes,Navigate}.
  3691. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3692. /Users/ryan/code/sentry/static/app/views/releases/detail/header/releaseActions.tsx
  3693. 50:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3694. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3695. the useNavigate hook is the native way to trigger navigation events.
  3696. browserHistory.push('/next') -> navigate('/next')
  3697. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3698. You may also use a LocationDescriptor object
  3699. browserHistory.push({...location, query: {someKey: 1}})
  3700. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3701. /Users/ryan/code/sentry/static/app/views/releases/detail/index.tsx
  3702. 71:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3703. Read the dev docs page on network requests for more information [1].
  3704. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3705. 73:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3706. Read the dev docs page on network requests for more information [1].
  3707. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3708. 93:10 error `super` is deprecated. use useApiQuery instead.
  3709. Read the dev docs page on network requests for more information [1].
  3710. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3711. 110:7 error `super` is deprecated. use useApiQuery instead.
  3712. Read the dev docs page on network requests for more information [1].
  3713. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3714. 114:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3715. Read the dev docs page on network requests for more information [1].
  3716. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3717. 121:33 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3718. Read the dev docs page on network requests for more information [1].
  3719. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3720. 190:12 error `super` is deprecated. use useApiQuery instead.
  3721. Read the dev docs page on network requests for more information [1].
  3722. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3723. 253:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3724. Read the dev docs page on network requests for more information [1].
  3725. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3726. 254:39 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3727. Read the dev docs page on network requests for more information [1].
  3728. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3729. 260:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3730. Read the dev docs page on network requests for more information [1].
  3731. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3732. 274:5 error `super` is deprecated. use useApiQuery instead
  3733. Read the dev docs page on network requests for more information [1].
  3734. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3735. 291:7 error `super` is deprecated. use useApiQuery instead
  3736. Read the dev docs page on network requests for more information [1].
  3737. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3738. 321:12 error `super` is deprecated. use useApiQuery instead
  3739. Read the dev docs page on network requests for more information [1].
  3740. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3741. /Users/ryan/code/sentry/static/app/views/releases/detail/overview/index.tsx
  3742. 87:31 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3743. Read the dev docs page on network requests for more information [1].
  3744. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3745. 329:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3746. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3747. the useNavigate hook is the native way to trigger navigation events.
  3748. browserHistory.push('/next') -> navigate('/next')
  3749. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3750. You may also use a LocationDescriptor object
  3751. browserHistory.push({...location, query: {someKey: 1}})
  3752. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3753. /Users/ryan/code/sentry/static/app/views/releases/detail/overview/releaseComparisonChart/index.tsx
  3754. 827:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3755. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3756. the useNavigate hook is the native way to trigger navigation events.
  3757. browserHistory.push('/next') -> navigate('/next')
  3758. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3759. You may also use a LocationDescriptor object
  3760. browserHistory.push({...location, query: {someKey: 1}})
  3761. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3762. /Users/ryan/code/sentry/static/app/views/releases/detail/overview/releaseComparisonChart/releaseEventsChart.tsx
  3763. 58:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3764. use{Location,Params,Routes,Navigate}.
  3765. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3766. /Users/ryan/code/sentry/static/app/views/releases/detail/overview/releaseComparisonChart/releaseSessionsChart.tsx
  3767. 613:26 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  3768. /Users/ryan/code/sentry/static/app/views/releases/detail/overview/releaseIssues.tsx
  3769. 279:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3770. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3771. the useNavigate hook is the native way to trigger navigation events.
  3772. browserHistory.push('/next') -> navigate('/next')
  3773. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3774. You may also use a LocationDescriptor object
  3775. browserHistory.push({...location, query: {someKey: 1}})
  3776. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3777. /Users/ryan/code/sentry/static/app/views/releases/list/index.tsx
  3778. 75:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3779. Read the dev docs page on network requests for more information [1].
  3780. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3781. 77:28 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3782. Read the dev docs page on network requests for more information [1].
  3783. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3784. 96:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3785. Read the dev docs page on network requests for more information [1].
  3786. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3787. 114:33 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3788. Read the dev docs page on network requests for more information [1].
  3789. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3790. 126:5 error `super` is deprecated. use useApiQuery instead.
  3791. Read the dev docs page on network requests for more information [1].
  3792. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3793. 428:8 error `Projects` is deprecated. consider using useProjects if possible.
  3794. This is a utility component that should be used to fetch an organization's projects (summary).
  3795. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  3796. These will be passed down to the render prop (`children`).
  3797. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  3798. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  3799. 606:19 error `super` is deprecated. use useApiQuery instead.
  3800. Read the dev docs page on network requests for more information [1].
  3801. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3802. /Users/ryan/code/sentry/static/app/views/relocation/relocation.spec.tsx
  3803. 434:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  3804. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  3805. /Users/ryan/code/sentry/static/app/views/relocation/relocation.tsx
  3806. 131:11 error `browserHistory` is deprecated. Prefer using useNavigate
  3807. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3808. the useNavigate hook is the native way to trigger navigation events.
  3809. browserHistory.push('/next') -> navigate('/next')
  3810. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3811. You may also use a LocationDescriptor object
  3812. browserHistory.push({...location, query: {someKey: 1}})
  3813. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3814. 137:11 error `browserHistory` is deprecated. Prefer using useNavigate
  3815. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3816. the useNavigate hook is the native way to trigger navigation events.
  3817. browserHistory.push('/next') -> navigate('/next')
  3818. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3819. You may also use a LocationDescriptor object
  3820. browserHistory.push({...location, query: {someKey: 1}})
  3821. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3822. 144:11 error `browserHistory` is deprecated. Prefer using useNavigate
  3823. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3824. the useNavigate hook is the native way to trigger navigation events.
  3825. browserHistory.push('/next') -> navigate('/next')
  3826. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3827. You may also use a LocationDescriptor object
  3828. browserHistory.push({...location, query: {someKey: 1}})
  3829. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3830. /Users/ryan/code/sentry/static/app/views/replays/detail/layout/fluidPanel.tsx
  3831. 5:13 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3832. 7:12 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3833. 9:11 error `ReactChild` is deprecated. - This type is not relevant when using React. Inline the type instead to make the intent clear @typescript-eslint/no-deprecated
  3834. /Users/ryan/code/sentry/static/app/views/replays/detail/layout/splitDivider.tsx
  3835. 29:32 error `hover` is deprecated @typescript-eslint/no-deprecated
  3836. /Users/ryan/code/sentry/static/app/views/replays/detail/trace/replayTransactionContext.tsx
  3837. 86:3 error `useEmitTimestampChanges` is deprecated. This emitter sends some global state through a singleton.
  3838. If there are multiple replay instances on the page values will be confusing.
  3839. A better implementation would nest the consumer under the same
  3840. <ReplayCurrentTimeContextProvider> ancestor node @typescript-eslint/no-deprecated
  3841. /Users/ryan/code/sentry/static/app/views/replays/detail/trace/trace.tsx
  3842. 121:20 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  3843. 196:20 error `legacySize` is deprecated @typescript-eslint/no-deprecated
  3844. /Users/ryan/code/sentry/static/app/views/replays/replayTable/tableCell.tsx
  3845. 69:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3846. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3847. the useNavigate hook is the native way to trigger navigation events.
  3848. browserHistory.push('/next') -> navigate('/next')
  3849. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3850. You may also use a LocationDescriptor object
  3851. browserHistory.push({...location, query: {someKey: 1}})
  3852. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3853. /Users/ryan/code/sentry/static/app/views/routeAnalyticsContextProvider.tsx
  3854. 46:13 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3855. use{Location,Params,Routes,Navigate}.
  3856. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3857. /Users/ryan/code/sentry/static/app/views/sentryAppExternalInstallation/index.tsx
  3858. 158:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  3859. 169:7 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  3860. /Users/ryan/code/sentry/static/app/views/settings/account/accountSecurity/accountSecurityEnroll.tsx
  3861. 145:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3862. Read the dev docs page on network requests for more information [1].
  3863. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3864. 147:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3865. Read the dev docs page on network requests for more information [1].
  3866. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3867. 158:37 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3868. Read the dev docs page on network requests for more information [1].
  3869. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3870. 166:16 error `super` is deprecated. use useApiQuery instead.
  3871. Read the dev docs page on network requests for more information [1].
  3872. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3873. 177:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3874. Read the dev docs page on network requests for more information [1].
  3875. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3876. 198:5 error `super` is deprecated. use useApiQuery instead.
  3877. Read the dev docs page on network requests for more information [1].
  3878. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3879. 495:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  3880. /Users/ryan/code/sentry/static/app/views/settings/account/apiNewToken.tsx
  3881. 48:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3882. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3883. the useNavigate hook is the native way to trigger navigation events.
  3884. browserHistory.push('/next') -> navigate('/next')
  3885. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3886. You may also use a LocationDescriptor object
  3887. browserHistory.push({...location, query: {someKey: 1}})
  3888. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3889. 52:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3890. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3891. the useNavigate hook is the native way to trigger navigation events.
  3892. browserHistory.push('/next') -> navigate('/next')
  3893. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3894. You may also use a LocationDescriptor object
  3895. browserHistory.push({...location, query: {someKey: 1}})
  3896. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3897. 82:14 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  3898. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  3899. /Users/ryan/code/sentry/static/app/views/settings/account/apiTokenDetails.tsx
  3900. 48:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3901. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3902. the useNavigate hook is the native way to trigger navigation events.
  3903. browserHistory.push('/next') -> navigate('/next')
  3904. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3905. You may also use a LocationDescriptor object
  3906. browserHistory.push({...location, query: {someKey: 1}})
  3907. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3908. /Users/ryan/code/sentry/static/app/views/settings/account/notifications/notificationSettingsByEntity.tsx
  3909. 49:18 error `useRouter` is deprecated. Please do not use this. Use a specific hook instead. Including
  3910. use{Location,Params,Routes,Navigate}.
  3911. react-router 6 does not include this hook @typescript-eslint/no-deprecated
  3912. /Users/ryan/code/sentry/static/app/views/settings/account/notifications/notificationSettingsByType.tsx
  3913. 39:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3914. Read the dev docs page on network requests for more information [1].
  3915. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3916. 47:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3917. Read the dev docs page on network requests for more information [1].
  3918. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3919. 62:44 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3920. Read the dev docs page on network requests for more information [1].
  3921. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3922. 67:10 error `super` is deprecated. use useApiQuery instead
  3923. Read the dev docs page on network requests for more information [1].
  3924. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3925. 76:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  3926. Read the dev docs page on network requests for more information [1].
  3927. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3928. 100:5 error `super` is deprecated. use useApiQuery instead
  3929. Read the dev docs page on network requests for more information [1].
  3930. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3931. /Users/ryan/code/sentry/static/app/views/settings/components/settingsBreadcrumb/organizationCrumb.tsx
  3932. 56:7 error `browserHistory` is deprecated. Prefer using useNavigate
  3933. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3934. the useNavigate hook is the native way to trigger navigation events.
  3935. browserHistory.push('/next') -> navigate('/next')
  3936. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3937. You may also use a LocationDescriptor object
  3938. browserHistory.push({...location, query: {someKey: 1}})
  3939. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3940. /Users/ryan/code/sentry/static/app/views/settings/components/settingsBreadcrumb/projectCrumb.tsx
  3941. 50:5 error `browserHistory` is deprecated. Prefer using useNavigate
  3942. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3943. the useNavigate hook is the native way to trigger navigation events.
  3944. browserHistory.push('/next') -> navigate('/next')
  3945. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3946. You may also use a LocationDescriptor object
  3947. browserHistory.push({...location, query: {someKey: 1}})
  3948. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3949. /Users/ryan/code/sentry/static/app/views/settings/components/settingsBreadcrumb/teamCrumb.tsx
  3950. 18:39 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  3951. new alternatives:
  3952. - useTeamsById({ids: []}) - get teams by id
  3953. - useTeamsById({slugs: []}) - get teams by slug
  3954. - useTeamsById() - just reading from the teams store
  3955. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  3956. 42:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3957. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3958. the useNavigate hook is the native way to trigger navigation events.
  3959. browserHistory.push('/next') -> navigate('/next')
  3960. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3961. You may also use a LocationDescriptor object
  3962. browserHistory.push({...location, query: {someKey: 1}})
  3963. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3964. /Users/ryan/code/sentry/static/app/views/settings/components/settingsSearch/index.spec.tsx
  3965. 69:5 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  3966. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  3967. /Users/ryan/code/sentry/static/app/views/settings/components/teamSelect/teamSelectForMember.tsx
  3968. 57:55 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  3969. new alternatives:
  3970. - useTeamsById({ids: []}) - get teams by id
  3971. - useTeamsById({slugs: []}) - get teams by slug
  3972. - useTeamsById() - just reading from the teams store
  3973. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  3974. /Users/ryan/code/sentry/static/app/views/settings/components/teamSelect/teamSelectForProject.tsx
  3975. 87:55 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  3976. new alternatives:
  3977. - useTeamsById({ids: []}) - get teams by id
  3978. - useTeamsById({slugs: []}) - get teams by slug
  3979. - useTeamsById() - just reading from the teams store
  3980. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  3981. /Users/ryan/code/sentry/static/app/views/settings/organizationApiKeys/index.tsx
  3982. 20:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3983. Read the dev docs page on network requests for more information [1].
  3984. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3985. 25:35 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3986. Read the dev docs page on network requests for more information [1].
  3987. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3988. 26:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  3989. Read the dev docs page on network requests for more information [1].
  3990. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  3991. 74:9 error `browserHistory` is deprecated. Prefer using useNavigate
  3992. browserHistory is a hold-over from react-router 3 days. In react-router 6
  3993. the useNavigate hook is the native way to trigger navigation events.
  3994. browserHistory.push('/next') -> navigate('/next')
  3995. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  3996. You may also use a LocationDescriptor object
  3997. browserHistory.push({...location, query: {someKey: 1}})
  3998. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  3999. /Users/ryan/code/sentry/static/app/views/settings/organizationApiKeys/organizationApiKeyDetails.tsx
  4000. 31:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4001. Read the dev docs page on network requests for more information [1].
  4002. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4003. 35:41 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4004. Read the dev docs page on network requests for more information [1].
  4005. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4006. 36:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4007. Read the dev docs page on network requests for more information [1].
  4008. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4009. 54:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4010. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4011. the useNavigate hook is the native way to trigger navigation events.
  4012. browserHistory.push('/next') -> navigate('/next')
  4013. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4014. You may also use a LocationDescriptor object
  4015. browserHistory.push({...location, query: {someKey: 1}})
  4016. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4017. 75:12 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  4018. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  4019. 82:15 error `browserHistory` is deprecated. Prefer using useNavigate
  4020. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4021. the useNavigate hook is the native way to trigger navigation events.
  4022. browserHistory.push('/next') -> navigate('/next')
  4023. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4024. You may also use a LocationDescriptor object
  4025. browserHistory.push({...location, query: {someKey: 1}})
  4026. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4027. /Users/ryan/code/sentry/static/app/views/settings/organizationAuditLog/index.tsx
  4028. 110:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4029. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4030. the useNavigate hook is the native way to trigger navigation events.
  4031. browserHistory.push('/next') -> navigate('/next')
  4032. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4033. You may also use a LocationDescriptor object
  4034. browserHistory.push({...location, query: {someKey: 1}})
  4035. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4036. /Users/ryan/code/sentry/static/app/views/settings/organizationAuth/index.tsx
  4037. 10:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4038. Read the dev docs page on network requests for more information [1].
  4039. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4040. 14:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4041. Read the dev docs page on network requests for more information [1].
  4042. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4043. 19:32 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4044. Read the dev docs page on network requests for more information [1].
  4045. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4046. 36:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4047. Read the dev docs page on network requests for more information [1].
  4048. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4049. /Users/ryan/code/sentry/static/app/views/settings/organizationAuthTokens/authTokenDetails.tsx
  4050. 77:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4051. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4052. the useNavigate hook is the native way to trigger navigation events.
  4053. browserHistory.push('/next') -> navigate('/next')
  4054. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4055. You may also use a LocationDescriptor object
  4056. browserHistory.push({...location, query: {someKey: 1}})
  4057. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4058. /Users/ryan/code/sentry/static/app/views/settings/organizationAuthTokens/newAuthToken.tsx
  4059. 56:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4060. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4061. the useNavigate hook is the native way to trigger navigation events.
  4062. browserHistory.push('/next') -> navigate('/next')
  4063. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4064. You may also use a LocationDescriptor object
  4065. browserHistory.push({...location, query: {someKey: 1}})
  4066. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4067. 140:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4068. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4069. the useNavigate hook is the native way to trigger navigation events.
  4070. browserHistory.push('/next') -> navigate('/next')
  4071. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4072. You may also use a LocationDescriptor object
  4073. browserHistory.push({...location, query: {someKey: 1}})
  4074. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4075. /Users/ryan/code/sentry/static/app/views/settings/organizationDeveloperSettings/index.tsx
  4076. 29:19 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4077. Read the dev docs page on network requests for more information [1].
  4078. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4079. 34:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4080. Read the dev docs page on network requests for more information [1].
  4081. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4082. 39:45 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4083. Read the dev docs page on network requests for more information [1].
  4084. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4085. 49:10 error `super` is deprecated. use useApiQuery instead.
  4086. Read the dev docs page on network requests for more information [1].
  4087. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4088. 65:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4089. Read the dev docs page on network requests for more information [1].
  4090. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4091. 172:23 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4092. /Users/ryan/code/sentry/static/app/views/settings/organizationDeveloperSettings/resourceSubscriptions.tsx
  4093. 30:5 error `super` is deprecated @typescript-eslint/no-deprecated
  4094. /Users/ryan/code/sentry/static/app/views/settings/organizationDeveloperSettings/sentryApplicationDashboard/index.tsx
  4095. 28:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4096. Read the dev docs page on network requests for more information [1].
  4097. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4098. 44:42 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4099. Read the dev docs page on network requests for more information [1].
  4100. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4101. 45:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4102. Read the dev docs page on network requests for more information [1].
  4103. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4104. /Users/ryan/code/sentry/static/app/views/settings/organizationDeveloperSettings/sentryApplicationDashboard/requestLog.tsx
  4105. 113:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4106. Read the dev docs page on network requests for more information [1].
  4107. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4108. 117:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4109. Read the dev docs page on network requests for more information [1].
  4110. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4111. 124:41 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4112. Read the dev docs page on network requests for more information [1].
  4113. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4114. 135:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4115. Read the dev docs page on network requests for more information [1].
  4116. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4117. 153:10 error `super` is deprecated. use useApiQuery instead
  4118. Read the dev docs page on network requests for more information [1].
  4119. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4120. /Users/ryan/code/sentry/static/app/views/settings/organizationDeveloperSettings/sentryApplicationDetails.tsx
  4121. 154:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4122. Read the dev docs page on network requests for more information [1].
  4123. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4124. 160:40 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4125. Read the dev docs page on network requests for more information [1].
  4126. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4127. 165:10 error `super` is deprecated. use useApiQuery instead.
  4128. Read the dev docs page on network requests for more information [1].
  4129. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4130. 172:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4131. Read the dev docs page on network requests for more information [1].
  4132. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4133. 212:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4134. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4135. the useNavigate hook is the native way to trigger navigation events.
  4136. browserHistory.push('/next') -> navigate('/next')
  4137. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4138. You may also use a LocationDescriptor object
  4139. browserHistory.push({...location, query: {someKey: 1}})
  4140. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4141. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/abstractIntegrationDetailedView.tsx
  4142. 48:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4143. Read the dev docs page on network requests for more information [1].
  4144. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4145. 53:3 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4146. Read the dev docs page on network requests for more information [1].
  4147. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4148. 58:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4149. Read the dev docs page on network requests for more information [1].
  4150. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4151. 62:5 error `super` is deprecated. use useApiQuery instead
  4152. Read the dev docs page on network requests for more information [1].
  4153. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4154. 204:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4155. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/addIntegration.tsx
  4156. 72:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4157. 125:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4158. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/createIntegrationButton.tsx
  4159. 37:13 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4160. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/docIntegrationDetailedView.tsx
  4161. 27:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4162. Read the dev docs page on network requests for more information [1].
  4163. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4164. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/exampleIntegrationButton.tsx
  4165. 33:9 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4166. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationCodeMappings.tsx
  4167. 43:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4168. Read the dev docs page on network requests for more information [1].
  4169. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4170. 50:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4171. Read the dev docs page on network requests for more information [1].
  4172. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4173. 55:39 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4174. Read the dev docs page on network requests for more information [1].
  4175. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4176. 58:10 error `super` is deprecated. use useApiQuery instead
  4177. Read the dev docs page on network requests for more information [1].
  4178. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4179. 83:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4180. Read the dev docs page on network requests for more information [1].
  4181. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4182. 100:5 error `super` is deprecated. use useApiQuery instead
  4183. Read the dev docs page on network requests for more information [1].
  4184. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4185. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationDetailedView.tsx
  4186. 53:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4187. Read the dev docs page on network requests for more information [1].
  4188. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4189. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationExternalMappings.tsx
  4190. 40:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4191. Read the dev docs page on network requests for more information [1].
  4192. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4193. 59:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4194. Read the dev docs page on network requests for more information [1].
  4195. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4196. 64:43 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4197. Read the dev docs page on network requests for more information [1].
  4198. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4199. 67:10 error `super` is deprecated. use useApiQuery instead
  4200. Read the dev docs page on network requests for more information [1].
  4201. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4202. 73:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4203. Read the dev docs page on network requests for more information [1].
  4204. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4205. 229:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  4206. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationExternalTeamMappings.tsx
  4207. 23:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4208. Read the dev docs page on network requests for more information [1].
  4209. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4210. 29:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4211. Read the dev docs page on network requests for more information [1].
  4212. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4213. 39:47 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4214. Read the dev docs page on network requests for more information [1].
  4215. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4216. 42:10 error `super` is deprecated. use useApiQuery instead
  4217. Read the dev docs page on network requests for more information [1].
  4218. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4219. 49:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4220. Read the dev docs page on network requests for more information [1].
  4221. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4222. 210:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  4223. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationExternalUserMappings.tsx
  4224. 23:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4225. Read the dev docs page on network requests for more information [1].
  4226. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4227. 29:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4228. Read the dev docs page on network requests for more information [1].
  4229. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4230. 34:47 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4231. Read the dev docs page on network requests for more information [1].
  4232. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4233. 35:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4234. Read the dev docs page on network requests for more information [1].
  4235. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4236. 161:16 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  4237. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationListDirectory.tsx
  4238. 90:47 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4239. Read the dev docs page on network requests for more information [1].
  4240. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4241. 91:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4242. Read the dev docs page on network requests for more information [1].
  4243. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4244. 92:11 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4245. Read the dev docs page on network requests for more information [1].
  4246. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4247. 102:10 error `super` is deprecated. use useApiQuery instead
  4248. Read the dev docs page on network requests for more information [1].
  4249. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4250. 166:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4251. 177:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4252. Read the dev docs page on network requests for more information [1].
  4253. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4254. 307:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4255. 339:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4256. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4257. the useNavigate hook is the native way to trigger navigation events.
  4258. browserHistory.push('/next') -> navigate('/next')
  4259. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4260. You may also use a LocationDescriptor object
  4261. browserHistory.push({...location, query: {someKey: 1}})
  4262. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4263. 385:9 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4264. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationRepos.tsx
  4265. 24:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4266. Read the dev docs page on network requests for more information [1].
  4267. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4268. 30:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4269. Read the dev docs page on network requests for more information [1].
  4270. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4271. 35:32 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4272. Read the dev docs page on network requests for more information [1].
  4273. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4274. 38:10 error `super` is deprecated. use useApiQuery instead
  4275. Read the dev docs page on network requests for more information [1].
  4276. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4277. 44:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4278. Read the dev docs page on network requests for more information [1].
  4279. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4280. 136:33 error `withSentryRouter` is deprecated. only use in legacy react class components @typescript-eslint/no-deprecated
  4281. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationRequest/RequestIntegrationModal.tsx
  4282. 18:3 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4283. Read the dev docs page on network requests for more information [1].
  4284. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4285. 22:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4286. Read the dev docs page on network requests for more information [1].
  4287. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4288. 29:54 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4289. Read the dev docs page on network requests for more information [1].
  4290. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4291. 43:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4292. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/integrationRow.tsx
  4293. 129:19 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4294. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/pluginDeprecationAlert.tsx
  4295. 41:17 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4296. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/pluginDetailedView.tsx
  4297. 28:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4298. Read the dev docs page on network requests for more information [1].
  4299. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4300. /Users/ryan/code/sentry/static/app/views/settings/organizationIntegrations/sentryAppDetailedView.tsx
  4301. 44:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4302. Read the dev docs page on network requests for more information [1].
  4303. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4304. /Users/ryan/code/sentry/static/app/views/settings/organizationMembers/inviteRequestRow.tsx
  4305. 37:58 error `role` is deprecated. use orgRole @typescript-eslint/no-deprecated
  4306. 76:32 error `role` is deprecated. use orgRole @typescript-eslint/no-deprecated
  4307. 88:32 error `teams` is deprecated. use teamRoles @typescript-eslint/no-deprecated
  4308. 93:29 error `teams` is deprecated. use teamRoles @typescript-eslint/no-deprecated
  4309. /Users/ryan/code/sentry/static/app/views/settings/organizationMembers/organizationMemberDetail.tsx
  4310. 365:14 error `slugs` is deprecated. use `useTeamsById({slugs: []})` @typescript-eslint/no-deprecated
  4311. 365:28 error `teams` is deprecated. use teamRoles @typescript-eslint/no-deprecated
  4312. /Users/ryan/code/sentry/static/app/views/settings/organizationMembers/organizationMembersList.tsx
  4313. 231:29 error `role` is deprecated. use orgRole @typescript-eslint/no-deprecated
  4314. 232:30 error `teams` is deprecated. use teamRoles @typescript-eslint/no-deprecated
  4315. 269:7 error `role` is deprecated. use orgRole @typescript-eslint/no-deprecated
  4316. 314:68 error `roles` is deprecated. use orgRoleList @typescript-eslint/no-deprecated
  4317. 332:72 error `roles` is deprecated. use orgRoleList @typescript-eslint/no-deprecated
  4318. 343:63 error `roles` is deprecated. use orgRoleList @typescript-eslint/no-deprecated
  4319. /Users/ryan/code/sentry/static/app/views/settings/organizationProjects/index.tsx
  4320. 88:11 error `browserHistory` is deprecated. Prefer using useNavigate
  4321. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4322. the useNavigate hook is the native way to trigger navigation events.
  4323. browserHistory.push('/next') -> navigate('/next')
  4324. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4325. You may also use a LocationDescriptor object
  4326. browserHistory.push({...location, query: {someKey: 1}})
  4327. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4328. /Users/ryan/code/sentry/static/app/views/settings/organizationRateLimits/organizationRateLimits.tsx
  4329. 74:17 error `allowedValues` is deprecated @typescript-eslint/no-deprecated
  4330. /Users/ryan/code/sentry/static/app/views/settings/organizationTeams/organizationTeams.tsx
  4331. 45:29 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  4332. new alternatives:
  4333. - useTeamsById({ids: []}) - get teams by id
  4334. - useTeamsById({slugs: []}) - get teams by slug
  4335. - useTeamsById() - just reading from the teams store
  4336. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  4337. 46:58 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  4338. new alternatives:
  4339. - useTeamsById({ids: []}) - get teams by id
  4340. - useTeamsById({slugs: []}) - get teams by slug
  4341. - useTeamsById() - just reading from the teams store
  4342. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  4343. /Users/ryan/code/sentry/static/app/views/settings/organizationTeams/teamMembers.tsx
  4344. 63:27 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4345. Read the dev docs page on network requests for more information [1].
  4346. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4347. 66:10 error `super` is deprecated. use useApiQuery instead.
  4348. Read the dev docs page on network requests for more information [1].
  4349. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4350. 75:5 error `super` is deprecated. use useApiQuery instead.
  4351. Read the dev docs page on network requests for more information [1].
  4352. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4353. 111:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4354. Read the dev docs page on network requests for more information [1].
  4355. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4356. 330:26 error `user` is deprecated @typescript-eslint/no-deprecated
  4357. /Users/ryan/code/sentry/static/app/views/settings/organizationTeams/teamNotifications.tsx
  4358. 32:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4359. Read the dev docs page on network requests for more information [1].
  4360. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4361. 41:40 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4362. Read the dev docs page on network requests for more information [1].
  4363. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4364. 46:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4365. Read the dev docs page on network requests for more information [1].
  4366. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4367. /Users/ryan/code/sentry/static/app/views/settings/organizationTeams/teamSettings/index.tsx
  4368. 43:7 error `browserHistory` is deprecated. Prefer using useNavigate
  4369. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4370. the useNavigate hook is the native way to trigger navigation events.
  4371. browserHistory.push('/next') -> navigate('/next')
  4372. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4373. You may also use a LocationDescriptor object
  4374. browserHistory.push({...location, query: {someKey: 1}})
  4375. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4376. 52:7 error `browserHistory` is deprecated. Prefer using useNavigate
  4377. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4378. the useNavigate hook is the native way to trigger navigation events.
  4379. browserHistory.push('/next') -> navigate('/next')
  4380. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4381. You may also use a LocationDescriptor object
  4382. browserHistory.push({...location, query: {someKey: 1}})
  4383. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4384. /Users/ryan/code/sentry/static/app/views/settings/project/projectKeys/details/index.tsx
  4385. 51:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4386. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4387. the useNavigate hook is the native way to trigger navigation events.
  4388. browserHistory.push('/next') -> navigate('/next')
  4389. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4390. You may also use a LocationDescriptor object
  4391. browserHistory.push({...location, query: {someKey: 1}})
  4392. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4393. /Users/ryan/code/sentry/static/app/views/settings/project/projectKeys/list/index.tsx
  4394. 35:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4395. Read the dev docs page on network requests for more information [1].
  4396. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4397. 37:27 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4398. Read the dev docs page on network requests for more information [1].
  4399. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4400. 43:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4401. Read the dev docs page on network requests for more information [1].
  4402. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4403. /Users/ryan/code/sentry/static/app/views/settings/project/projectOwnership/addCodeOwnerModal.tsx
  4404. 33:3 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4405. Read the dev docs page on network requests for more information [1].
  4406. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4407. 43:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4408. Read the dev docs page on network requests for more information [1].
  4409. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4410. 45:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4411. Read the dev docs page on network requests for more information [1].
  4412. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4413. 48:10 error `super` is deprecated. use useApiQuery instead
  4414. Read the dev docs page on network requests for more information [1].
  4415. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4416. 57:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4417. Read the dev docs page on network requests for more information [1].
  4418. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4419. 59:33 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4420. Read the dev docs page on network requests for more information [1].
  4421. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4422. /Users/ryan/code/sentry/static/app/views/settings/project/projectOwnership/modal.tsx
  4423. 26:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4424. Read the dev docs page on network requests for more information [1].
  4425. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4426. 37:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4427. Read the dev docs page on network requests for more information [1].
  4428. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4429. 112:37 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4430. Read the dev docs page on network requests for more information [1].
  4431. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4432. 113:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4433. Read the dev docs page on network requests for more information [1].
  4434. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4435. /Users/ryan/code/sentry/static/app/views/settings/project/projectOwnership/ownerInput.tsx
  4436. 96:9 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4437. /Users/ryan/code/sentry/static/app/views/settings/project/projectOwnership/ownershipRulesTable.tsx
  4438. 47:19 error `useTeams` is deprecated. use the alternatives to this hook (except for search and pagination)
  4439. new alternatives:
  4440. - useTeamsById({ids: []}) - get teams by id
  4441. - useTeamsById({slugs: []}) - get teams by slug
  4442. - useTeamsById() - just reading from the teams store
  4443. - useUserTeams() - same as `provideUserTeams: true` @typescript-eslint/no-deprecated
  4444. /Users/ryan/code/sentry/static/app/views/settings/project/projectReleaseTracking.tsx
  4445. 41:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4446. Read the dev docs page on network requests for more information [1].
  4447. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4448. 48:38 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4449. Read the dev docs page on network requests for more information [1].
  4450. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4451. 54:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4452. Read the dev docs page on network requests for more information [1].
  4453. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4454. /Users/ryan/code/sentry/static/app/views/settings/project/projectServiceHookDetails.tsx
  4455. 41:5 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4456. Read the dev docs page on network requests for more information [1].
  4457. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4458. 43:25 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4459. Read the dev docs page on network requests for more information [1].
  4460. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4461. 44:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4462. Read the dev docs page on network requests for more information [1].
  4463. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4464. 114:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4465. Read the dev docs page on network requests for more information [1].
  4466. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4467. 116:56 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4468. Read the dev docs page on network requests for more information [1].
  4469. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4470. 117:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4471. Read the dev docs page on network requests for more information [1].
  4472. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4473. 131:9 error `browserHistory` is deprecated. Prefer using useNavigate
  4474. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4475. the useNavigate hook is the native way to trigger navigation events.
  4476. browserHistory.push('/next') -> navigate('/next')
  4477. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4478. You may also use a LocationDescriptor object
  4479. browserHistory.push({...location, query: {someKey: 1}})
  4480. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4481. /Users/ryan/code/sentry/static/app/views/settings/project/projectServiceHooks.tsx
  4482. 66:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4483. Read the dev docs page on network requests for more information [1].
  4484. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4485. 68:35 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4486. Read the dev docs page on network requests for more information [1].
  4487. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4488. 69:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4489. Read the dev docs page on network requests for more information [1].
  4490. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4491. /Users/ryan/code/sentry/static/app/views/settings/project/serviceHookSettingsForm.tsx
  4492. 29:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4493. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4494. the useNavigate hook is the native way to trigger navigation events.
  4495. browserHistory.push('/next') -> navigate('/next')
  4496. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4497. You may also use a LocationDescriptor object
  4498. browserHistory.push({...location, query: {someKey: 1}})
  4499. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4500. 43:10 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  4501. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  4502. /Users/ryan/code/sentry/static/app/views/settings/projectDataForwarding/index.tsx
  4503. 35:18 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4504. Read the dev docs page on network requests for more information [1].
  4505. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4506. 39:35 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4507. Read the dev docs page on network requests for more information [1].
  4508. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4509. 40:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4510. Read the dev docs page on network requests for more information [1].
  4511. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4512. 96:14 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4513. Read the dev docs page on network requests for more information [1].
  4514. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4515. 100:37 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4516. Read the dev docs page on network requests for more information [1].
  4517. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4518. 101:30 error `DeprecatedAsyncComponent` is deprecated. use useApiQuery instead
  4519. Read the dev docs page on network requests for more information [1].
  4520. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4521. /Users/ryan/code/sentry/static/app/views/settings/projectGeneralSettings/index.spec.tsx
  4522. 356:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  4523. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  4524. 380:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  4525. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  4526. /Users/ryan/code/sentry/static/app/views/settings/projectGeneralSettings/index.tsx
  4527. 42:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4528. Read the dev docs page on network requests for more information [1].
  4529. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4530. 48:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4531. Read the dev docs page on network requests for more information [1].
  4532. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4533. 52:38 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4534. Read the dev docs page on network requests for more information [1].
  4535. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4536. 60:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4537. Read the dev docs page on network requests for more information [1].
  4538. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4539. 413:5 error `browserHistory` is deprecated. Prefer using useNavigate
  4540. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4541. the useNavigate hook is the native way to trigger navigation events.
  4542. browserHistory.push('/next') -> navigate('/next')
  4543. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4544. You may also use a LocationDescriptor object
  4545. browserHistory.push({...location, query: {someKey: 1}})
  4546. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4547. /Users/ryan/code/sentry/static/app/views/settings/projectMetrics/projectMetrics.tsx
  4548. 37:22 error `metrics` is deprecated. The Sentry metrics beta has ended. This export will be removed in a future release @typescript-eslint/no-deprecated
  4549. /Users/ryan/code/sentry/static/app/views/settings/projectPerformance/projectPerformance.tsx
  4550. 114:14 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4551. Read the dev docs page on network requests for more information [1].
  4552. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4553. 118:34 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4554. Read the dev docs page on network requests for more information [1].
  4555. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4556. 133:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4557. Read the dev docs page on network requests for more information [1].
  4558. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4559. 137:33 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4560. Read the dev docs page on network requests for more information [1].
  4561. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4562. 146:7 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4563. Read the dev docs page on network requests for more information [1].
  4564. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4565. 153:7 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4566. Read the dev docs page on network requests for more information [1].
  4567. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4568. /Users/ryan/code/sentry/static/app/views/settings/projectPlugins/details.tsx
  4569. 34:5 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4570. Read the dev docs page on network requests for more information [1].
  4571. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4572. 45:36 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4573. Read the dev docs page on network requests for more information [1].
  4574. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4575. 47:5 error `super` is deprecated. use useApiQuery instead.
  4576. Read the dev docs page on network requests for more information [1].
  4577. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4578. 53:5 error `super` is deprecated. use useApiQuery instead.
  4579. Read the dev docs page on network requests for more information [1].
  4580. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4581. 60:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4582. 76:30 error `DeprecatedAsyncView` is deprecated. use useApiQuery instead.
  4583. Read the dev docs page on network requests for more information [1].
  4584. [1]: https://develop.sentry.dev/frontend/network-requests/ @typescript-eslint/no-deprecated
  4585. 96:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4586. 109:9 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4587. 137:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4588. /Users/ryan/code/sentry/static/app/views/settings/projectPlugins/index.tsx
  4589. 39:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4590. /Users/ryan/code/sentry/static/app/views/settings/projectPlugins/projectPluginRow.tsx
  4591. 36:5 error `trackIntegrationAnalytics` is deprecated. Use trackAnalytics instead @typescript-eslint/no-deprecated
  4592. /Users/ryan/code/sentry/static/app/views/traces/content.tsx
  4593. 67:7 error `browserHistory` is deprecated. Prefer using useNavigate
  4594. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4595. the useNavigate hook is the native way to trigger navigation events.
  4596. browserHistory.push('/next') -> navigate('/next')
  4597. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4598. You may also use a LocationDescriptor object
  4599. browserHistory.push({...location, query: {someKey: 1}})
  4600. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4601. 84:9 error `browserHistory` is deprecated. Prefer using useNavigate
  4602. browserHistory is a hold-over from react-router 3 days. In react-router 6
  4603. the useNavigate hook is the native way to trigger navigation events.
  4604. browserHistory.push('/next') -> navigate('/next')
  4605. browserHistory.replace('/next') -> navigate('/next', {replace: true})
  4606. You may also use a LocationDescriptor object
  4607. browserHistory.push({...location, query: {someKey: 1}})
  4608. navigate({...location, query: {someKey: 1}}) @typescript-eslint/no-deprecated
  4609. /Users/ryan/code/sentry/static/app/views/traces/fieldRenderers.spec.tsx
  4610. 171:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  4611. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  4612. 200:7 error `fireEvent` is deprecated. Use userEvent over fireEvent where possible.
  4613. More details: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library#not-using-testing-libraryuser-event @typescript-eslint/no-deprecated
  4614. /Users/ryan/code/sentry/static/app/views/traces/fieldRenderers.tsx
  4615. 72:6 error `Projects` is deprecated. consider using useProjects if possible.
  4616. This is a utility component that should be used to fetch an organization's projects (summary).
  4617. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  4618. These will be passed down to the render prop (`children`).
  4619. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  4620. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  4621. 190:6 error `Projects` is deprecated. consider using useProjects if possible.
  4622. This is a utility component that should be used to fetch an organization's projects (summary).
  4623. It can either fetch explicit projects (e.g. via slug) or a paginated list of projects.
  4624. These will be passed down to the render prop (`children`).
  4625. The legacy way of handling this is that `ProjectSummary[]` is expected to be included in an
  4626. `Organization` as well as being saved to `ProjectsStore` @typescript-eslint/no-deprecated
  4627. /Users/ryan/code/sentry/static/app/views/unsubscribe/issue.tsx
  4628. 86:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  4629. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  4630. /Users/ryan/code/sentry/static/app/views/unsubscribe/project.tsx
  4631. 86:8 error `ApiForm` is deprecated. DO NOT USE THIS. Prefer using `Form` instead. Form already supports API
  4632. requests, this is quite old and should be removed @typescript-eslint/no-deprecated
  4633. /Users/ryan/code/sentry/tests/js/instrumentedEnv/userEventIntegration.ts
  4634. 5:15 error `loadModule` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  4635. 27:3 error `fill` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  4636. 37:11 error `isThenable` is deprecated. Import from `@sentry/core` instead @typescript-eslint/no-deprecated
  4637. ✖ 1256 problems (1256 errors, 0 warnings)
  4638. 2 errors and 0 warnings potentially fixable with the `--fix` option.
  4639. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.