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
Unify indentation and add .editorconfig #973
Conversation
This is great! For more information, I asked @mathiasbynens to help with this and I believe applying a few whitespace style rules will be great. |
The brace was added at the wrong location, which results in an iloop when executing the file. But instead of fixing this, let's just remove everything from the file which isn't actually needed for test262: test262/harness/Date_constants.js Lines 23 to 84 in 44b40e0
|
|
||
[{README.md,package.json,.travis.yml,*.sh,*.js}] | ||
indent_style = space | ||
indent_size = 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Makes me so happy. |
Many different coding styles are being used across the various non-test files in this repository.
.editorconfig
..editorconfig
.While going through the files, I noticed something odd. The indentation seems to imply that a brace is missing here:
test262/harness/Date_constants.js
Lines 46 to 50 in 96aa8c7
Diff sans whitespace changes: https://github.com/tc39/test262/pull/973/files?w=1