Enforce LF newlines also for hidden files

This commit is contained in:
Cătălin Mariș
2014-10-20 16:57:18 +03:00
parent 6f50688c1c
commit ad27d2e6b2
3 changed files with 4 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[{package.json,.travis.yml}]
[{.travis.yml,package.json}]
; The indent size used in the `package.json` file cannot be changed
; https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2

3
.gitattributes vendored
View File

@@ -1,11 +1,12 @@
# Automatically normalize line endings for all text-based files
# http://git-scm.com/docs/gitattributes#_effects
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto
# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf

View File

@@ -20,7 +20,7 @@ and [submitting pull requests](#pull-requests), but please respect the following
restrictions:
* Please **do not** use the issue tracker for personal support requests (use
[Stack Overflow](http://stackoverflow.com/questions/tagged/html5boilerplate)).
[Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate)).
* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.