diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..94f480de --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/__tests__/finder.test.ts b/__tests__/finder.test.ts index 6b44caed..457f8b11 100644 --- a/__tests__/finder.test.ts +++ b/__tests__/finder.test.ts @@ -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' ); diff --git a/package.json b/package.json index 2cc0dd41..17d1029c 100644 --- a/package.json +++ b/package.json @@ -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" } } }