Skip to content

Commit

Permalink
Merge pull request #23 from SFDO-Community/feature/bump-devdep
Browse files Browse the repository at this point in the history
bump devDependencies, add prettier config files, update .gitignore
  • Loading branch information
pickettd authored Apr 30, 2024
2 parents afd87d9 + 43bab26 commit 0695870
Show file tree
Hide file tree
Showing 6 changed files with 10,313 additions and 5,344 deletions.
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
# If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore
# For useful gitignore templates see: https://github.com/github/gitignore

# Salesforce cache
# CumulusCI config
.cci/

# Salesforce cache
.sf/
.sfdx/
.localdevserver/
deploy-options.json

# LWC VSCode autocomplete
**/lwc/jsconfig.json
jsconfig.json

# LWC Jest coverage reports
coverage/
Expand All @@ -37,5 +39,9 @@ ehthumbs.db
[Dd]esktop.ini
$RECYCLE.BIN/

# VS Code project settings
.vscode/*
!.vscode/extensions.json

# Local environment variables
.env
11 changes: 11 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# List files or directories below to ignore them when running prettier
# More information: https://prettier.io/docs/en/ignore.html
#

**/staticresources/**
.localdevserver/
.sf/
.sfdx/
.vscode/
coverage/
jsconfig.json
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"trailingComma": "none",
"singleQuote": true,
"tabWidth": 4,
"plugins": ["prettier-plugin-apex", "@prettier/plugin-xml"],
"overrides": [
{
"files": "**/lwc/**/*.html",
"options": {
"parser": "lwc"
}
},
{
"files": "*.{cmp,page,component}",
"options": {
"parser": "html"
}
}
]
}
Loading

0 comments on commit 0695870

Please sign in to comment.