-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit enables Prettier formatting to maintain a consistent code style across the entire codebase. It's now a community standard and easy to use with tools like Husky, which set up Git hooks to run formatting before actions such as `git commit`. There are no functional changes in this commit, only stylish updates to the formatting. I enabled single quotes because they are widely used and even recommended by large technology companies. For example, you can find a link to Google's JavaScript style guide at https://google.github.io/styleguide/jsguide.html#features-strings-use-single-quotes
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env sh | ||
|
||
npm run pretty-quick -- --check |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
node_modules | ||
|
||
/dist | ||
/doc | ||
/lib | ||
/package.json | ||
/package-lock.json | ||
|
||
/.vscode | ||
/.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"endOfLine": "lf" | ||
} |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.