diff --git a/.gitattributes b/.gitattributes index 087a23bb799..97de27519a4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/package.json b/package.json index 2a325587be6..04354230821 100644 --- a/package.json +++ b/package.json @@ -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",