Resolve Travis CI + Windows EOL bug

Problem: Travis CI is converting our EOL characters and it's causing
problems when we're parsing with Prettier.

Solution: Disable auto-conversion.
This commit is contained in:
Christian Bundy 2020-03-23 19:19:09 -07:00
parent 32465e5983
commit 488852f205
3 changed files with 9 additions and 4 deletions

View File

@ -19,3 +19,8 @@ branches:
only:
- master
- "/^v\\d+\\.\\d+\\.\\d+$/"
# Never convert EOL characters.
# https://github.com/prettier/prettier/issues/7853
git:
autocrlf: input

6
package-lock.json generated
View File

@ -1186,9 +1186,9 @@
}
},
"common-good": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/common-good/-/common-good-2.0.2.tgz",
"integrity": "sha512-h2QU3lVflXHpOdxsxB8f5xn2WN6TKzGNPp4ScgK+MezH7rVXvIcSgvLGV1J/H6S3vKY1tEurQKfQGk1WyCAR+Q==",
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/common-good/-/common-good-2.0.3.tgz",
"integrity": "sha512-GFFvmcOOpzts0x+DTR9vIcXr3Pcl1oKM/mYO4P0GQRkwqtO2B+30P4oH/32lmdCwlBdnaET2ZNYnb69Dklfdwg==",
"dev": true,
"requires": {
"cross-spawn": "^7.0.1",

View File

@ -54,7 +54,7 @@
},
"devDependencies": {
"changelog-version": "^1.0.1",
"common-good": "^2.0.2",
"common-good": "^2.0.3",
"husky": "^4.0.0",
"mkdirp": "^1.0.0",
"nodemon": "^2.0.2",