diff --git a/client/eslint.config.mjs b/client/eslint.config.mjs new file mode 100644 index 0000000..aa5d274 --- /dev/null +++ b/client/eslint.config.mjs @@ -0,0 +1,15 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import pluginReact, { rules } from "eslint-plugin-react"; + + +export default [ + {files: ["**/*.{js,mjs,cjs,jsx}"]}, + {languageOptions: { globals: globals.browser }}, + {"rules": { + "no-unused-vars": "warn", + "no-invalid-this": "error" + }}, + pluginJs.configs.recommended, + pluginReact.configs.flat.recommended, +]; \ No newline at end of file diff --git a/client/src/Components/CCHeader.js b/client/src/Components/CCHeader.js index e03e06a..df2547b 100644 --- a/client/src/Components/CCHeader.js +++ b/client/src/Components/CCHeader.js @@ -74,7 +74,7 @@ const CCHeader = () => {
- +
diff --git a/client/src/Components/CCHeaderDark.js b/client/src/Components/CCHeaderDark.js index 92212ff..0437b99 100644 --- a/client/src/Components/CCHeaderDark.js +++ b/client/src/Components/CCHeaderDark.js @@ -53,7 +53,7 @@ const CCHeaderDark = () => { */} - +
Master complete DSA as a beginner absolutely free with Love Babbar
Promotion
@@ -76,7 +76,7 @@ const CCHeaderDark = () => {
- +
diff --git a/client/src/Components/CCHeaderDarkPlus.js b/client/src/Components/CCHeaderDarkPlus.js index b633136..2997273 100644 --- a/client/src/Components/CCHeaderDarkPlus.js +++ b/client/src/Components/CCHeaderDarkPlus.js @@ -83,7 +83,7 @@ const CCHeaderDarkPlus = ({ needDarkMode, toggleDarkMode }) => { */} - +
We're restructuring our website. Next.js frontend developers , send your profile!
Internship
@@ -106,7 +106,7 @@ const CCHeaderDarkPlus = ({ needDarkMode, toggleDarkMode }) => {
- +
diff --git a/client/src/Components/CCHeaderPlus.js b/client/src/Components/CCHeaderPlus.js index 8af606c..c890edd 100644 --- a/client/src/Components/CCHeaderPlus.js +++ b/client/src/Components/CCHeaderPlus.js @@ -79,7 +79,7 @@ const CCHeaderDarkPlus = ({needDarkMode, toggleDarkMode}) => { showModelCoffee ? : <> } - +
We're restructuring our website. Next.js frontend developers , send your profile!
Internship
@@ -99,7 +99,7 @@ const CCHeaderDarkPlus = ({needDarkMode, toggleDarkMode}) => {
- +
diff --git a/client/src/Components/CompetitionItem.js b/client/src/Components/CompetitionItem.js index d18b1ce..d1ee788 100644 --- a/client/src/Components/CompetitionItem.js +++ b/client/src/Components/CompetitionItem.js @@ -80,7 +80,7 @@ export default function CompetitionItem({ item, index }) {
{index + 1}
{platform}
- + {competition_name}
diff --git a/client/src/Components/LeftMenu.js b/client/src/Components/LeftMenu.js index a479529..d6318f3 100644 --- a/client/src/Components/LeftMenu.js +++ b/client/src/Components/LeftMenu.js @@ -153,21 +153,8 @@ const LeftMenu = ({ marked }) => {
{/* Algolisted Business */} - - Download Jobs Notifier - - - - Report an Issue - + Download Jobs Notifier + Report an Issue {showMoreInfo ? ( diff --git a/client/src/Components/LeftMenuDark.js b/client/src/Components/LeftMenuDark.js index 6b83116..a15abbc 100644 --- a/client/src/Components/LeftMenuDark.js +++ b/client/src/Components/LeftMenuDark.js @@ -142,21 +142,8 @@ const LeftMenuDark = ({ marked }) => {
{/* Algolisted Business */} - - Download Jobs Notifier - - - - Report an Issue - + Download Jobs Notifier + Report an Issue {showMoreInfo ? ( diff --git a/client/src/Components/MobileNavbar.js b/client/src/Components/MobileNavbar.js index f9e34ce..2672694 100644 --- a/client/src/Components/MobileNavbar.js +++ b/client/src/Components/MobileNavbar.js @@ -44,7 +44,7 @@ const MobileDownMenu = () => { SDE Coding Sheets {/* Selected Profiles */} All Internship & Job Opportunities - Visit Github for Algolisted + Visit Github for Algolisted ) : (<>) diff --git a/client/src/Components/RightMenu.js b/client/src/Components/RightMenu.js index c51fd3f..0ffbb54 100644 --- a/client/src/Components/RightMenu.js +++ b/client/src/Components/RightMenu.js @@ -47,13 +47,13 @@ const RightMenu = ({ blogid, blogname, ResourceType }) => {
{ data[blogid].authorImageLink.map((item, index) => { - return (); + return (); }) }
- Add content to this blog or Report a bug + Add content to this blog or Report a bug
diff --git a/client/src/Components/SimpleFooter.js b/client/src/Components/SimpleFooter.js index 1d5eb26..0667c17 100644 --- a/client/src/Components/SimpleFooter.js +++ b/client/src/Components/SimpleFooter.js @@ -11,7 +11,7 @@ const SimpleFooter = () => { Verify Contributors Privacy Policies Disclaimer - Figma + Figma {/*
Open Source project - beta version - a Nayak production diff --git a/client/src/Components/tempCodeRunnerFile.js b/client/src/Components/tempCodeRunnerFile.js index 9d45956..e69de29 100644 --- a/client/src/Components/tempCodeRunnerFile.js +++ b/client/src/Components/tempCodeRunnerFile.js @@ -1 +0,0 @@ -RouterLink \ No newline at end of file diff --git a/client/src/Screen/AboutUs.js b/client/src/Screen/AboutUs.js index 5ef0c85..667646b 100644 --- a/client/src/Screen/AboutUs.js +++ b/client/src/Screen/AboutUs.js @@ -36,7 +36,7 @@ const AboutUs = () => { Thank you for choosing Algolisted, and we look forward to supporting you on your journey to success.

- Visit my Linkedin : Click Here + Visit my Linkedin : Click Here

{/*

diff --git a/client/src/Screen/AllBlogs.js b/client/src/Screen/AllBlogs.js index 22a904f..2634f82 100644 --- a/client/src/Screen/AllBlogs.js +++ b/client/src/Screen/AllBlogs.js @@ -71,7 +71,7 @@ return ( {item.title}

{item.desc}
- +
Contribution by {item.author[0]} {item.author.length > 1 ? <>+ {item.author.length - 1} others : <>}
@@ -115,7 +115,7 @@ return (
Under Development : Our primary goal is to streamline the procedure of searching for a company's name, extracting approximately 25-50 recent and pertinent interview experiences, and utilizing this as input for our machine learning model. Subsequently, our model produces results, which we store for a 30-day period. Consequently, you consistently receive the most up-to-date information, ensuring that you are always provided with current data instead of outdated information. Have an idea in this feature {" "} - click here + click here
@@ -138,7 +138,7 @@ return ( {item.title}
{item.desc}
- +
Contribution by {item.author[0]} {item.author.length > 1 ? <>+ {item.author.length - 1} others : <>}
diff --git a/client/src/Screen/BlogAutoCode.js b/client/src/Screen/BlogAutoCode.js index 23bf05b..99635d7 100644 --- a/client/src/Screen/BlogAutoCode.js +++ b/client/src/Screen/BlogAutoCode.js @@ -75,7 +75,7 @@ const BlogAutoCode = () => { showCodeFile ? "Hide raw HTML Code" : "Show raw HTML Code" } - Report an Issue + Report an Issue { showCodeFile ? ( diff --git a/client/src/Screen/BlogPage.js b/client/src/Screen/BlogPage.js index a9bcae8..5556239 100644 --- a/client/src/Screen/BlogPage.js +++ b/client/src/Screen/BlogPage.js @@ -64,19 +64,19 @@ const BlogPage = () => {
Blog Contributors
- This blog is has being written by Atanu Nayak and a lot of resources are contributed + This blog is has being written by Atanu Nayak and a lot of resources are contributed by the community.
{ data[blogid].authorImageLink.map((item, index) => { - return (); + return (); }) }
diff --git a/client/src/Screen/CodingCompetitions.js b/client/src/Screen/CodingCompetitions.js index c9e6b06..f043901 100644 --- a/client/src/Screen/CodingCompetitions.js +++ b/client/src/Screen/CodingCompetitions.js @@ -266,7 +266,7 @@ const CodingCompetitions = () => { {/* */} - + {/* */} diff --git a/client/src/Screen/ContestAnalysis.js b/client/src/Screen/ContestAnalysis.js index 76440c7..8a9f81b 100644 --- a/client/src/Screen/ContestAnalysis.js +++ b/client/src/Screen/ContestAnalysis.js @@ -557,7 +557,7 @@ const ContestAnalysis = () => { {rankings.map((ranking, index) => (
  • @@ -575,7 +575,7 @@ const ContestAnalysis = () => { If your username doesn't align with your country, it could be because you haven't specified your country in your LeetCode account settings. Visit the following URL:{" "} - + https://leetcode.com/profile/ {" "} and update your location information. @@ -614,7 +614,7 @@ const ContestAnalysis = () => { {eachuser.username} @@ -648,7 +648,7 @@ const ContestAnalysis = () => { {eachuser.username} diff --git a/client/src/Screen/ContestArchive.js b/client/src/Screen/ContestArchive.js index 606d20b..11a43f0 100644 --- a/client/src/Screen/ContestArchive.js +++ b/client/src/Screen/ContestArchive.js @@ -601,10 +601,10 @@ const ContestArchive = () => {
    {contestData.contest_name}
    - + - + {notes.includes(contestData.contest_name) ? @@ -631,7 +631,7 @@ const ContestArchive = () => { { onClickShared(problem.name, contestData.contest_name) }} checked={isQuestionSolved(contestData.contest_name, problem.name)} /> Problem Unsolved - {String.fromCharCode(65 + problemIndex)}. {problem.name} + {String.fromCharCode(65 + problemIndex)}. {problem.name}
    { showTags ? ( diff --git a/client/src/Screen/ContributeSite.js b/client/src/Screen/ContributeSite.js index e87bbc5..d099642 100644 --- a/client/src/Screen/ContributeSite.js +++ b/client/src/Screen/ContributeSite.js @@ -139,7 +139,7 @@ const ContributeSite = () => {
    Open Source Project, by - Atanu Nayak and Community + Atanu Nayak and Community
    diff --git a/client/src/Screen/ContributorWork.js b/client/src/Screen/ContributorWork.js index b419e9a..97bf3a9 100644 --- a/client/src/Screen/ContributorWork.js +++ b/client/src/Screen/ContributorWork.js @@ -120,7 +120,7 @@ const ContributorWork = () => {
    diff --git a/client/src/Screen/Contributors.js b/client/src/Screen/Contributors.js index 3513d69..07c8114 100644 --- a/client/src/Screen/Contributors.js +++ b/client/src/Screen/Contributors.js @@ -36,7 +36,7 @@ const Contributors = () => { { contributorsList != null && contributorsList.map((item, index) => { return ( - + ) diff --git a/client/src/Screen/CoreSubjectsTracker.js b/client/src/Screen/CoreSubjectsTracker.js index f4ebb11..ac24f6c 100644 --- a/client/src/Screen/CoreSubjectsTracker.js +++ b/client/src/Screen/CoreSubjectsTracker.js @@ -229,7 +229,7 @@ const CoreSubjectsTracker = () => {

    - + Contribute Topics or Questions
    Open Sourced 🚀
    @@ -272,7 +272,7 @@ const CoreSubjectsTracker = () => { { resources.map((item, index) => { return ( -
    + ) @@ -357,7 +357,7 @@ const CoreSubjectsTracker = () => {
    diff --git a/client/src/Screen/CreateCustomCodingSheets.js b/client/src/Screen/CreateCustomCodingSheets.js index 31dca05..ceffd37 100644 --- a/client/src/Screen/CreateCustomCodingSheets.js +++ b/client/src/Screen/CreateCustomCodingSheets.js @@ -310,7 +310,7 @@ const CreateCustomCodingSheets = ({setUserGlobal}) => { {userSheet.length > 0 && userSheet.map((sheet) => (
    - + {sheet.sheetName} {" "}
    {sheet.sheetDesc}
    @@ -325,7 +325,7 @@ const CreateCustomCodingSheets = ({setUserGlobal}) => { {formatDate(sheet.lastUpdated)}
    - Edit Sheet Content {'>'} + Edit Sheet Content {'>'}
  • ))} diff --git a/client/src/Screen/CreateCustomCodingSheetsEdit.js b/client/src/Screen/CreateCustomCodingSheetsEdit.js index 498122b..17f3630 100644 --- a/client/src/Screen/CreateCustomCodingSheetsEdit.js +++ b/client/src/Screen/CreateCustomCodingSheetsEdit.js @@ -398,7 +398,7 @@ const CreateCustomCodingSheetsEdit = (userGlobal) => { {filters} */}
    -

    Your generated link is

    +

    Your generated link is

    setShowModal(true)}> {exportingSheet ? ( <>Exporting... @@ -450,7 +450,7 @@ const CreateCustomCodingSheetsEdit = (userGlobal) => { {problemData.quesName} {status === "scrapping" ? ( @@ -535,7 +535,7 @@ const CreateCustomCodingSheetsEdit = (userGlobal) => { {problemData.quesName} diff --git a/client/src/Screen/InterviewSummaries.js b/client/src/Screen/InterviewSummaries.js index 2eead62..6be7cdf 100644 --- a/client/src/Screen/InterviewSummaries.js +++ b/client/src/Screen/InterviewSummaries.js @@ -110,7 +110,7 @@ const InterviewSummaries = () => { feature{" "} click here diff --git a/client/src/Screen/LandingPage2.js b/client/src/Screen/LandingPage2.js index 26dbaa9..8e0d1b9 100644 --- a/client/src/Screen/LandingPage2.js +++ b/client/src/Screen/LandingPage2.js @@ -129,12 +129,12 @@ const LandingPage2 = () => {
    - Start Contributing + Start Contributing

    Our Contributors

    { contributorsList != null && contributorsList.map((item, index) => { - return + return }) @@ -320,7 +320,7 @@ const LandingPage2 = () => {
    - Start Contributing + Start Contributing

    Technologies Used

    @@ -345,7 +345,7 @@ const LandingPage2 = () => { contributorsList != null && contributorsList.map((item, index) => { return ( - + @@ -408,8 +408,8 @@ const LandingPage2 = () => { Founder
    diff --git a/client/src/Screen/LandingPage3.js b/client/src/Screen/LandingPage3.js index c4524fc..239991a 100644 --- a/client/src/Screen/LandingPage3.js +++ b/client/src/Screen/LandingPage3.js @@ -248,7 +248,7 @@ const LandingPage3 = () => {
    Our website is a testament to the dedication and contributions of our amazing open source community. Every member has put in their best efforts to create and improve the site. If you want to resolve an issue or suggest a new feature, we encourage you to participate in the open source process by creating an issue.
    - Start Contributing + Start Contributing

    Technologies Used

    @@ -272,7 +272,7 @@ const LandingPage3 = () => {
    { contributorsList != null && contributorsList.map((item, index) => { - return + return }) @@ -291,7 +291,7 @@ const LandingPage3 = () => {
    Elevate your digital presence with Algolisted's expertise in scalable web and ML solutions, next-gen applications, UI excellence, SEO prowess, and AI-driven feature enhancements.
    - Get Started + Get Started

    You are in Good Company

    diff --git a/client/src/Screen/Opportunities.js b/client/src/Screen/Opportunities.js index 3845d39..381d4e4 100644 --- a/client/src/Screen/Opportunities.js +++ b/client/src/Screen/Opportunities.js @@ -519,7 +519,7 @@ const Opportunities = () => {
    {++count}
    - + {item.job_title}
    diff --git a/client/src/Screen/Profile.js b/client/src/Screen/Profile.js index bacfcdc..3116881 100644 --- a/client/src/Screen/Profile.js +++ b/client/src/Screen/Profile.js @@ -180,8 +180,8 @@ const Profile = () => { Notable Pull Requests :

    diff --git a/client/src/Screen/Resources copy.js b/client/src/Screen/Resources copy.js index 8d2eef5..8d0c9a4 100644 --- a/client/src/Screen/Resources copy.js +++ b/client/src/Screen/Resources copy.js @@ -110,10 +110,10 @@ const Resources = () => { if (filter == "All Resources" || item.mainTag == filter) { return (
    - + - {item.title} + {item.title}
    {item.description}
    {item.mainTag}
    @@ -190,10 +190,10 @@ const Resources = () => { ):(<>) }
    - + - {item.title} + {item.title}
    {item.description}
    @@ -202,7 +202,7 @@ const Resources = () => {
    {item.type}
    diff --git a/client/src/Screen/Resources.js b/client/src/Screen/Resources.js index f0e9519..dd6bed8 100644 --- a/client/src/Screen/Resources.js +++ b/client/src/Screen/Resources.js @@ -110,10 +110,10 @@ const Resources = () => { if (filter == "All Resources" || item.mainTag == filter) { return (
    - + - {item.title} + {item.title}
    {item.description}
    {item.mainTag}
    @@ -175,10 +175,10 @@ const Resources = () => { ):(<>) }
    - + - {item.title} + {item.title}
    {item.description}
    @@ -187,7 +187,7 @@ const Resources = () => {
    {item.type}
    diff --git a/client/src/Screen/SelectedProfiles.js b/client/src/Screen/SelectedProfiles.js index 271ddc2..f99d05f 100644 --- a/client/src/Screen/SelectedProfiles.js +++ b/client/src/Screen/SelectedProfiles.js @@ -149,7 +149,7 @@ const SelectedProfiles = () => { { setImageValue(sampleImage2); setShowImageModel(true); }} />

    - + Add resume @@ -235,7 +235,7 @@ const SelectedProfiles = () => { { setImageValue(sampleImage2); setShowImageModel(true); }} />

    - + Add resume @@ -267,10 +267,10 @@ const SelectedProfiles = () => {
    ); diff --git a/client/src/Screen/WorkWithUs.js b/client/src/Screen/WorkWithUs.js index c585bd1..b32d560 100644 --- a/client/src/Screen/WorkWithUs.js +++ b/client/src/Screen/WorkWithUs.js @@ -151,7 +151,7 @@ const WorkWithUs = () => {
    Open Source Project, by - Atanu Nayak and Community + Atanu Nayak and Community
    diff --git a/client/src/Screen/showdownServer.js b/client/src/Screen/showdownServer.js index a6d9e30..243c530 100644 --- a/client/src/Screen/showdownServer.js +++ b/client/src/Screen/showdownServer.js @@ -30,7 +30,7 @@ const ShowdownServer = () => {
    - For the developers working on this feature : Our goal is to develop a functionality akin to skribbl.io. In essence, a user will be able to initiate a server without any login, modify settings within it, and subsequently share a link with their friends for them to join. + For the developers working on this feature : Our goal is to develop a functionality akin to skribbl.io. In essence, a user will be able to initiate a server without any login, modify settings within it, and subsequently share a link with their friends for them to join.