lapulgaaa / chatapp Goto Github PK
View Code? Open in Web Editor NEWA chat application.
A chat application.
Run npm run lint
to get all the lint errors present.
Current shell status:
./app/(auth)/login/page.tsx
12:26 Error: React Hook "useSetRecoilState" is called in function "login" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
13:34 Error: React Hook "useState" is called in function "login" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
14:34 Error: React Hook "useState" is called in function "login" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
15:18 Error: React Hook "useRouter" is called in function "login" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
89:70 Error: `'` can be escaped with `'`, `‘`, `'`, `’`. react/no-unescaped-entities
./app/(auth)/signup/page.tsx
20:24 Error: React Hook "useRecoilValue" is called in function "signup" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
21:18 Error: React Hook "useRouter" is called in function "signup" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
22:20 Error: React Hook "usePathname" is called in function "signup" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
24:16 Error: React Hook "useForm" is called in function "signup" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use". react-hooks/rules-of-hooks
./app/home/chat/[slug]/page.tsx
65:7 Warning: React Hook useEffect has a missing dependency: 'params.slug'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
83:7 Warning: React Hook useEffect has missing dependencies: 'params.slug' and 'setWs'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
93:16 Error: Missing "key" prop for element in iterator react/jsx-key
150:16 Error: Missing "key" prop for element in iterator react/jsx-key
./app/home/chat/draft.tsx
34:12 Warning: Assignments to the 'ws' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect. react-hooks/exhaustive-deps
76:16 Error: Missing "key" prop for element in iterator react/jsx-key
./app/home/layout.tsx
52:7 Warning: React Hook useEffect has a missing dependency: 'init'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./app/home/page.tsx
37:7 Warning: React Hook useEffect has a missing dependency: 'setRooms'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
./app/page.tsx
12:16 Error: `'` can be escaped with `'`, `‘`, `'`, `’`. react/no-unescaped-entities
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.