1
Fork 0

Fix XO issues.

This commit is contained in:
Bauke 2022-09-29 16:17:19 +02:00
parent 537c8c0f3e
commit 9cd91dc788
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,11 @@
},
"xo": {
"prettier": true,
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": "off",
"n/file-extension-in-import": "off"
},
"space": true
}
}

View File

@ -13,7 +13,7 @@ function gitRevParse(): string {
const revParse = childProcess.spawnSync(
'git',
['rev-parse', '--short', '--verify', 'main'],
{encoding: 'utf-8'},
{encoding: 'utf8'},
);
if (revParse.error) {