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(
__dirname,
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
path.join(Math.random().toString(36).substring(7)),
'tools'
);
const tempDir = path.join(
__dirname,
'runner',
path.join(
Math.random()
.toString(36)
.substring(7)
),
path.join(Math.random().toString(36).substring(7)),
'temp'
);

View File

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