mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-10-29 22:47:25 +00:00
Add Prettier plugin for Nunjuck templates (#3887)
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
const config = {
|
||||
plugins: ["prettier-plugin-jinja-template"],
|
||||
overrides: [
|
||||
{
|
||||
files: "*.md",
|
||||
options: {
|
||||
parser: "markdown"
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ["*.njk"],
|
||||
options: {
|
||||
parser: "jinja-template"
|
||||
}
|
||||
}
|
||||
],
|
||||
trailingComma: "none"
|
||||
|
||||
Reference in New Issue
Block a user