Skip to content

Commit

Permalink
better handling of templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightjack committed Nov 6, 2024
1 parent 2636377 commit af682a0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"trailingComma": "all",
"arrowParens": "always",
"semi": true,
"singleQuote": true
"singleQuote": true,
"plugins": ["prettier-plugin-ejs"],
"overrides": [
{
"files": "*.tmpl",
"options": {
"parser": "html"
}
}
]
}
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,12 @@
"editor.codeActionsOnSave": {
"source.fixAll.stylelint": "explicit",
"source.fixAll.eslint": "explicit"
},
"files.associations": {
"*.ejs": "html",
"*.tmpl": "html"
},
"emmet.includeLanguages": {
"ejs": "html"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"mockdate": "^3.0.5",
"netlify-cli": "17.33.6",
"prettier": "3.3.3",
"prettier-plugin-ejs": "^1.0.3",
"stylelint": "16.8.2",
"stylelint-config-property-sort-order-smacss": "10.0.0",
"stylelint-config-standard": "36.0.1",
Expand Down
12 changes: 12 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af682a0

Please sign in to comment.