build: removed some dead targets, reordered prettier before eslint
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
4da4f98ce1
commit
ebb569b9db
2 changed files with 13 additions and 14 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue