0

Is there a flag to allow braceless If statements in JSHINT?

ie:

if (true) return false;

I've looked through the docs, but didn't find anything...

Lane
  • 6,532
  • 5
  • 28
  • 27

1 Answers1

1

Never mind, found the solution:

curly: false

http://www.jshint.com/docs/options/#curly

Lane
  • 6,532
  • 5
  • 28
  • 27