chore: add prettier and format all files

- Install prettier ^3.6.2
- Add .prettierrc with project formatting rules
- Add .prettierignore to exclude generated files and dependencies
- Add npm scripts: format and format:check
- Format all files with prettier
This commit is contained in:
2025-11-25 23:59:44 +02:00
parent dcad1573a8
commit 41b3c5d345
10 changed files with 76 additions and 29 deletions

View File

@@ -5,15 +5,9 @@
"camelcase": "Shellspec",
"scope": "source.shellspec",
"path": ".",
"file-types": [
"shellspec"
],
"highlights": [
"queries/highlights.scm"
],
"locals": [
"queries/locals.scm"
],
"file-types": ["shellspec"],
"highlights": ["queries/highlights.scm"],
"locals": ["queries/locals.scm"],
"injection-regex": "shellspec"
}
],