Skip to content

Commit

Permalink
Merge pull request #7 from 1xINTERNET/20-prettier
Browse files Browse the repository at this point in the history
#20: Prettier
  • Loading branch information
john1xi authored Jun 18, 2024
2 parents 9656ecf + 7d8f9fb commit ce2c101
Show file tree
Hide file tree
Showing 19 changed files with 626 additions and 142 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore everything, except source files
/*
!/src
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"plugins": ["prettier-plugin-astro"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
Loading

0 comments on commit ce2c101

Please sign in to comment.