ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

Where does the "no-spaces inside parens" rule come from? #81

Closed corysimmons closed 8 years ago

corysimmons commented 8 years ago

if ( x > y ) pops up in linter because of the spaces in the parens. I wasn't able to track down this specification anywhere.

It's fine, just curious where this warning comes from. :8ball:

tonyghita commented 8 years ago

@corysimmons I'm assuming you are using standard as your linter. If so, then I believe it comes from the eslint-config-standard package.

See https://github.com/feross/eslint-config-standard/blob/master/eslintrc.json#L126

corysimmons commented 8 years ago

Ah you're right. Overlooked it. Thanks :100:

tonyghita commented 8 years ago

Cheers! :beers:

corysimmons commented 8 years ago

image

tonyghita commented 8 years ago

:joy: