Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
/* eslint-env node */

module.exports = {
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
],
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
settings: { react: { version: "18.2" } },
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
};
/* eslint-env node */
module.exports = {
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
],
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
settings: { react: { version: "18.2" } },
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
};
48 changes: 24 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
64 changes: 32 additions & 32 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="Chit Chat" />
<meta name="author" content="Shalu Ambasta" />
<meta
name="description"
content="Discover Chit Chat: Your hub for anonymous chats, limitless chat rooms, and easy media sharing. Join now to connect, chat, and explore in real-time!"
/>
<meta
name="keywords"
content="HTML, CSS, JavaScript, React.js, Node.js, Express.js, Socket.io, Anonymous Chat App, Realtime Chat App"
/>

<link rel="icon" type="image/svg+xml" href="./favicon.ico" />
<link
rel="apple-touch-icon"
type="image/svg+xml"
href="./apple-touch-icon.png"
/>
<link rel="preload" as="image" href="./src/assets/chat-img.png" />
<link rel="preload" as="image" href="./src/assets/chat-gif.gif" />

<title>Chit Chat</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="application-name" content="Chit Chat" />
<meta name="author" content="Shalu Ambasta" />
<meta
name="description"
content="Discover Chit Chat: Your hub for anonymous chats, limitless chat rooms, and easy media sharing. Join now to connect, chat, and explore in real-time!"
/>
<meta
name="keywords"
content="HTML, CSS, JavaScript, React.js, Node.js, Express.js, Socket.io, Anonymous Chat App, Realtime Chat App"
/>
<link rel="icon" type="image/svg+xml" href="./favicon.ico" />
<link
rel="apple-touch-icon"
type="image/svg+xml"
href="./apple-touch-icon.png"
/>
<link rel="preload" as="image" href="./src/assets/chat-img.png" />
<link rel="preload" as="image" href="./src/assets/chat-gif.gif" />
<title>Chit Chat</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading