-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Engineering] Tab Size or Spaces #457
Comments
I've also been tripped up on this in this project. Hopefully once settled we can also enforce this in travis :) |
Spaces for me. I even added a gulp task |
I haven't noticed any hard tabs myself, but definitely inconsistency
|
Unfortunately, TSLint does not yet have this capability (palantir/tslint#581). But IMO, 2 spaces :) |
Probably my fault! I'm not very sensitive to differences in spacing. PRs welcomed from anyone who wants to convert the project uniformly to 2 space tabs. |
Fixed by #460 and I add this config to Workspace setting then no one will get it wrong. The funny thing is, we are using 2 space tab in action.ts but 4 space tab in almost all others. |
Added a couple more configs to the workspace setting: 33e5290 |
I think we're good here. Closing this issue. Thanks for the fix @rebornix. |
This is about the code we write. I'm seeing different styles about tab or space. In some files we are using two spaces indentation but in others we are using four spaces. Or even sometimes we see Tab instead of soft Tab.
We have several more active contributors in this near week so I'm thinking that we might need put Tab/Space stuff into the Style Guide.
When we write VS Code, we use Tab instead of space but personally I prefer space. It's up you :)
The text was updated successfully, but these errors were encountered: