angucomplete icon indicating copy to clipboard operation
angucomplete copied to clipboard

Use 2 spaces, as is standard in Angular and Node

Open stevenharman opened this issue 11 years ago • 2 comments

This might be controversial, but it seems idiomatic in both the Angular and Node code bases, and it makes it easier for me to contribute as my Vim settings expect 2-spaces for JavaScript/CoffeeScript. :)

stevenharman avatar Feb 09 '14 01:02 stevenharman

Please don't feel compelled to accept this if it rubs you wrong - I just thought I'd put it out there, just in case. :wink:

stevenharman avatar Feb 09 '14 01:02 stevenharman

I like it. Does seem to be the way most people work.

Supporting documentation :

  • http://nodeguide.com/style.html#tabs-vs-spaces
  • http://tschaub.net/blog/2013/12/04/angularjs-whitespace-guide.html

a-c-m avatar Feb 24 '14 10:02 a-c-m