build: removed some dead targets, reordered prettier before eslint
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Dylan R. E. Moonfire 2023-01-26 22:22:17 -06:00
parent 4da4f98ce1
commit ebb569b9db
2 changed files with 13 additions and 14 deletions

View File

@ -27,10 +27,9 @@
},
"scripts": {
"barrels": "barrelsby --delete --location all --directory src --exclude '(tests|cli|tools)'",
"prebuild": "run-s barrels lint format clean",
"prebuild": "run-s barrels format lint clean",
"build": "tsc",
"clean": "rimraf lib *.tsbuildinfo",
"commitmsg": "commitlint -E GIT_PARAMS",
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
"prepack": "npm run build",

View File

@ -149,20 +149,20 @@ class Column {
for (var s of m[2]) {
switch (s) {
case "c":
case "l":
case "r":
case ".":
this.align = s;
break;
case "c":
case "l":
case "r":
case ".":
this.align = s;
break;
case "s":
this.comma = true;
break;
case "s":
this.comma = true;
break;
case "t":
this.total = true;
break;
case "t":
this.total = true;
break;
}
}
}