Format JavaScript files with prettier

This commit is contained in:
Eli Ribble 2026-02-06 17:07:06 +00:00
parent 951720def9
commit eb6e54a0f7
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -8,5 +8,11 @@
"useTabs": true,
},
},
{
"files": ["*.js"],
"options": {
"useTabs": true,
},
},
],
}

View file

@ -16,3 +16,7 @@ pre-commit:
glob: "*.html"
run: prettier -w {staged_files}
stage_fixed: true
jsfmt:
glob: "*.js"
run: prettier -w {staged_files}
stage_fixed: true