Skip to content

Commit

Permalink
Fixes for windows (palantir#2233)
Browse files Browse the repository at this point in the history
* Use 'LF' line endings for '.fix' files to match '.lint' files
* Can't run shebang script, so use 'node' explicitly
  • Loading branch information
Andy authored and jkillian committed Feb 24, 2017
1 parent 0b11b79 commit cae1c9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# being reported to be 1 character longer

*.lint text eol=lf
*.fix text eol=lf
/test/rules/linebreak-style/**/CRLF/*.lint text eol=crlf
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"lint": "npm-run-all -p lint:core lint:test lint:from-bin",
"lint:core": "tslint \"src/**/*.ts\"",
"lint:test": "tslint \"test/**/*.ts\" -e \"test/**/*.test.ts\"",
"lint:from-bin": "bin/tslint \"{src,test}/**/*.ts\" -e \"test/**/*.test.ts\"",
"lint:from-bin": "node bin/tslint \"{src,test}/**/*.ts\" -e \"test/**/*.test.ts\"",
"test": "npm-run-all test:pre -p test:mocha test:rules",
"test:pre": "cd ./test/config && npm install",
"test:mocha": "mocha --reporter spec --colors \"build/test/**/*Tests.js\" build/test/assert.js",
Expand Down

0 comments on commit cae1c9c

Please sign in to comment.