Skip to content

Commit ff2eacd

Browse files
a2937Naomi Carrigan
andauthored
fix: use prettier in the lint script (#553)
* Fix: Use prettier in the lint script * fix: apps not src --------- Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
1 parent 79f7dc8 commit ff2eacd

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
},
88
"description": "Example projects for the freeCodeCamp.org curriculum",
99
"scripts": {
10-
"lint": "eslint apps --max-warnings 0",
10+
"lint": "eslint apps test --max-warnings 0 && prettier apps test --check",
1111
"prebuild": "npm run create-caddyfile && node scripts/copy-dockerignore.js",
1212
"prestart": "npm run create-caddyfile && node scripts/copy-dockerignore.js",
1313
"build": "docker compose build",

0 commit comments

Comments
 (0)