GithubHelp home page GithubHelp logo

lapulgaaa / chatapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 224 KB

A chat application.

TypeScript 95.77% CSS 1.56% JavaScript 2.41% Dockerfile 0.26%
custom-server jwt nextjs14 prisma pub-sub queue-workers shadcn-ui websocket

chatapp's People

Contributors

lapulgaaa avatar

Watchers

 avatar

chatapp's Issues

Fix all the lint issues

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

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

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

  • D3 photo D3

    Data-Driven Documents codes.