Skip to content

Commit acd26c5

Browse files
committed
chore: add lint/format scripts
1 parent ae57b9a commit acd26c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
"build": "rocket build",
1919
"tsc": "tsc",
2020
"typedoc": "typedoc --json docs/_data/api/api.json --entryPoints api.ts",
21-
"test": "echo \"Error: no test specified\" && exit 1"
21+
"test": "echo \"Error: no test specified\" && exit 1",
22+
"format": "prettier --write .",
23+
"test.format": "prettier . --check",
24+
"lint": "eslint . --fix",
25+
"test.lint": "eslint ."
2226
},
2327
"repository": {
2428
"type": "git",

0 commit comments

Comments
 (0)