-
Notifications
You must be signed in to change notification settings - Fork 2
Adapt project to various environments (windows and jetbrains IDE's) #31
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
Conversation
.gitignore
Outdated
| # misc | ||
| .DS_Store | ||
| npm-debug.log | ||
| /.idea |
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.
Good practice is to have a newline at end of file. You see, Git warns you about this. :) Could you please add a proper option for .editorconfig to ensure it? :)
Seems like this one:
insert_final_newline = true
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.
And then save file once again to make sure newline is inserted here and Git doesn't show a warning.
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.
Updated with new line and proper option in .editorconfig
| @@ -0,0 +1,6 @@ | |||
| # http://editorconfig.org | |||
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.
Just wonder, does .editorconfig popular in JS world? It's rarely used in Python or any other world. :)
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.
Sure) You can see some of them here (eg react, webpack etc.)
3d3d26f to
663bdc9
Compare
To allow developers working on project without any inconveniences. Different OS have handled line endings and environment variables differently. Also each IDE has system files that should not be in repository. So now we manage this points using cross-env package, .editorconfig and .gitignore. And we can working on project in different environments (such as windows and jetbrains IDE's)
663bdc9 to
815d040
Compare
ikalnytskyi
left a comment
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.
Thank you very much!
To allow developers working on project without any inconveniences.
Different OS have handled line endings and environment variables
differently. Also each IDE has system files that should not be in
repository. So now we manage this points using cross-env package,
.editorconfig and .gitignore. And we can working on project in
different environments (such as windows and jetbrains IDE's)