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

@@ -1,6 +1,6 @@
ignore_all_files_in_gitignore: true
ignored_paths:
- megalinter-reports
- megalinter-reports
read_only: false
# list of tool names to exclude. We recommend not excluding any tools, see the readme for more details.
@@ -46,8 +46,8 @@ excluded_tools: []
initial_prompt: ""
project_name: "tree-sitter-shellspec"
languages:
- cpp
- typescript
- bash
- cpp
- typescript
- bash
included_optional_tools: []
encoding: utf-8