Add .gitattributes

This commit is contained in:
Konrad Pabjan 2020-03-26 11:56:48 +01:00
parent 3d1169903d
commit 2c99108224
3 changed files with 4 additions and 11 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

View File

@ -5,21 +5,13 @@ import path = require('path');
const toolDir = path.join( const toolDir = path.join(
__dirname, __dirname,
'runner', 'runner',
path.join( path.join(Math.random().toString(36).substring(7)),
Math.random()
.toString(36)
.substring(7)
),
'tools' 'tools'
); );
const tempDir = path.join( const tempDir = path.join(
__dirname, __dirname,
'runner', 'runner',
path.join( path.join(Math.random().toString(36).substring(7)),
Math.random()
.toString(36)
.substring(7)
),
'temp' 'temp'
); );

View File

@ -43,7 +43,7 @@
"husky": { "husky": {
"skipCI": true, "skipCI": true,
"hooks": { "hooks": {
"pre-commit": "npm run build && npm run format" "pre-commit": "npm run build && npm run format-check"
} }
} }
} }