Skip to content

Commit

Permalink
Merge pull request #27 from Download/document-gotcha-autocrlf
Browse files Browse the repository at this point in the history
Add paragraph to the `Gotchas` section that warns about core.autocrlf
  • Loading branch information
jenseng authored Mar 7, 2017
2 parents 9c06f61 + 3a4629b commit 375f997
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,16 @@ return (this.props.isAuthorized ?
**NOTE:** in a subsequent release of react-i18nliner, the former example
will cause an `i18nliner:check` failure. You've been warned :)

### Cloning this project under Windows

This project's eslint settings force a check on the use of linefeed characters
that will fail when the project is cloned with the git
[core.autocrlf](https://git-scm.com/book/tr/v2/Customizing-Git-Git-Configuration)
setting set to `true`, which is the default on Windows. So make sure to change
that setting beforehand. The easiest way to do this is probably to `git init` a new
repo for this project and change the setting, and only then add this repo as a
remote and pull from it.

## Related Projects

* [i18nliner (ruby)](https://github.com/jenseng/i18nliner)
Expand Down

0 comments on commit 375f997

Please sign in to comment.