Skip to content

Commit 1e5dc3a

Browse files
committed
restrict prettier to src files
1 parent 5b9207f commit 1e5dc3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"ci": "run-s lint prettier:ci test:ci",
1616
"lint": "ng lint",
1717
"e2e": "ng e2e",
18-
"prettier": "prettier --write \"**/*.{js,ts,html,scss,css,md,json}\"",
19-
"prettier:ci": "prettier --check \"**/*.{js,ts,html,scss,css,md,json}\"",
18+
"prettier": "prettier --write \"{src,projects}/*.{js,ts,html,scss,css,md,json}\"",
19+
"prettier:ci": "prettier --check \"{src,projects}/*.{js,ts,html,scss,css,md,json}\"",
2020
"build-docs": "cross-env NODE_ENV=production ng build --prod --base-href=\"/ngx-datatable/\"",
2121
"predeploy-docs": "npm run build-docs",
2222
"deploy-docs": "angular-cli-ghpages --dir ./dist/ngx-datatable",

0 commit comments

Comments
 (0)