Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check eslint rulesets #25

Open
krzysztofrewak opened this issue Jan 11, 2023 · 0 comments
Open

Check eslint rulesets #25

krzysztofrewak opened this issue Jan 11, 2023 · 0 comments
Labels
environment deployment, testing and other devops stuff

Comments

@krzysztofrewak
Copy link
Member

There are still multiple codestyle issues here like missing curly braces or unneccessary spaces:

    for(const meetup of selectedMeetups) {
      if(new Date(meetup.date) >= today ) {
      futureMeetups.push(meetup)
    }
    else 
      oldMeetups.push(meetup)
    }

    function compare( a, b ) {
      if ( a.date < b.date ) {
        return -1
      }
      if ( a.date > b.date ) {
        return 1
      }
      return 0
    }

I think eslint should cover all these cases.

Originally posted by @krzysztofrewak in #24 (comment)

@krzysztofrewak krzysztofrewak added the environment deployment, testing and other devops stuff label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environment deployment, testing and other devops stuff
Projects
None yet
Development

No branches or pull requests

1 participant