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

New validation: mixed returnTypes #29

Open
p-bakker opened this issue Nov 26, 2014 · 5 comments
Open

New validation: mixed returnTypes #29

p-bakker opened this issue Nov 26, 2014 · 5 comments

Comments

@p-bakker
Copy link

Produce a builder marker when a function returns mixed types

@angelozerr
Copy link
Owner

@p-bakker please create an issue per idea. It will more be easy to follow it. Thank's!

@p-bakker p-bakker changed the title Support more validations New validation: mixed returnTypes Nov 26, 2014
@p-bakker
Copy link
Author

Done, also see #30, #31 and #32

@angelozerr
Copy link
Owner

Thank's @p-bakker for creating several issues. It should be cool if you can add a sample for each issue.

@p-bakker
Copy link
Author

Sample:

function test(state) {
  if (state) {
     return true
  } else {
    return 'false'
  }
}  //Raise warning

@angelozerr
Copy link
Owner

@p-bakker as you have worked on JSDoc Tern support, do you think it's possible to study how to implement your lint issues.

I'm very busy with other tern topics, like custom completion. Thank's!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants