Skip to content

Commit 0ffacc2

Browse files
authored
chore: lint self (#10)
1 parent 862098e commit 0ffacc2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222
"build": "npm run compile",
2323
"clean": "rm -rf ./build/",
2424
"compile": "tsc -p . --rootDir . --outDir build/",
25+
"format-check": "echo \"TODO\"",
2526
"format": "clang-format -i -style='{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}' src/*.ts",
2627
"lint": "tslint -c tslint.json --project . --type-check -t codeFrame",
2728
"lint-fix": "tslint -c tslint.json --project . --type-check -t codeFrame --fix",
2829
"release": "standard-version",
29-
"test": "echo \"Error: no test specified\" && exit 1"
30+
"test": "echo \"TODO\"",
31+
"posttest": "npm run lint && npm run format-check"
3032
},
3133
"engines": {
3234
"node": ">=4"

0 commit comments

Comments
 (0)