Skip to content

Commit

Permalink
Config Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
SanichKotikov committed Aug 14, 2023
1 parent c4f0ddd commit 0ec811a
Show file tree
Hide file tree
Showing 5 changed files with 1,037 additions and 13 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
lib

package-lock.json
README.md
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all"
}
Loading

0 comments on commit 0ec811a

Please sign in to comment.