-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improv(PGIO-37): Add a Prettier config on repo (#48)
* Installs and adds a series of Prettier rules to format our codebase * Adds an ignore file to place folders and files to be ignored from this formatting * Creates a VSCode extension suggestions file * Formats the whole codebase * Adds a tailwind plugin for Prettier, sorting the whole codebase classnames
- Loading branch information
1 parent
27b68e2
commit 7041aea
Showing
77 changed files
with
5,639 additions
and
5,999 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Ignore generated folders | ||
./dist | ||
./node_modules | ||
|
||
# Ignore build and types files | ||
.next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"arrowParens": "avoid", | ||
"singleQuote": true, | ||
"quoteProps": "as-needed", | ||
"bracketSpacing": true, | ||
"printWidth": 90, | ||
"plugins": ["prettier-plugin-tailwindcss"], | ||
"tailwindConfig": "./tailwind.config.ts", | ||
"tailwindFunctions": ["cva", "cx"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.