Skip to content

Commit a402e3c

Browse files
committed
chore: improve autoformat script
1 parent e434cb6 commit a402e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"test": "nyc mocha",
99
"karma": "karma start --single-run",
10-
"autoformat": "prettier --config .prettierrc --write {src,test}/**/*.ts",
10+
"autoformat": "prettier --config .prettierrc --write --list-different \"{src,static,test,example,definitions}{/**/,/}*.{html,css,js,json,ts}\"",
1111
"tslint-check:src": "tslint-config-prettier-check ./tslint.json",
1212
"tslint-check:test": "tslint-config-prettier-check ./tslint.test.json",
1313
"tslint:src": "tslint --project tsconfig.json",

0 commit comments

Comments
 (0)