mirror of
https://github.com/ivuorinen/tree-sitter-shellspec.git
synced 2026-02-14 17:52:17 +00:00
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:
24
.prettierignore
Normal file
24
.prettierignore
Normal file
@@ -0,0 +1,24 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
|
||||
# Generated files
|
||||
src/parser.c
|
||||
src/grammar.json
|
||||
src/node-types.json
|
||||
src/tree_sitter/
|
||||
|
||||
# Build artifacts
|
||||
build/
|
||||
dist/
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
megalinter-reports/
|
||||
|
||||
# Test specs (shell scripts have specific formatting)
|
||||
test/spec/
|
||||
|
||||
# Lock files
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
yarn.lock
|
||||
Reference in New Issue
Block a user