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": {
|
"scripts": {
|
||||||
"barrels": "barrelsby --delete --location all --directory src --exclude '(tests|cli|tools)'",
|
"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",
|
"build": "tsc",
|
||||||
"clean": "rimraf lib *.tsbuildinfo",
|
"clean": "rimraf lib *.tsbuildinfo",
|
||||||
"commitmsg": "commitlint -E GIT_PARAMS",
|
|
||||||
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
|
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
|
||||||
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
|
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
|
||||||
"prepack": "npm run build",
|
"prepack": "npm run build",
|
||||||
|
|
|
@ -149,20 +149,20 @@ class Column {
|
||||||
|
|
||||||
for (var s of m[2]) {
|
for (var s of m[2]) {
|
||||||
switch (s) {
|
switch (s) {
|
||||||
case "c":
|
case "c":
|
||||||
case "l":
|
case "l":
|
||||||
case "r":
|
case "r":
|
||||||
case ".":
|
case ".":
|
||||||
this.align = s;
|
this.align = s;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "s":
|
case "s":
|
||||||
this.comma = true;
|
this.comma = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "t":
|
case "t":
|
||||||
this.total = true;
|
this.total = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue