Logo
Explore Help
Sign In
kenmirrors/MagicMirror
1
0
Fork 0
You've already forked MagicMirror
mirror of https://github.com/MichMich/MagicMirror.git synced 2025-09-14 16:13:57 +00:00
Code Issues Projects Releases Wiki Activity
Files
08d29c30836c5bca6626f9919477e63da3388ece
MagicMirror/prettier.config.mjs

21 lines
277 B
JavaScript
Raw Normal View History

Add linting for markdown files (#3646) I also reworked the Linters section in `CONTRIBUTING.md` a bit and switched the `prettier` config to a flat config. Co-authored-by: Veeck <github@veeck.de>
2024-12-07 10:12:28 +01:00
const config = {
Add Prettier plugin for Nunjuck templates (#3887)
2025-09-11 13:10:53 +02:00
plugins: ["prettier-plugin-jinja-template"],
Add linting for markdown files (#3646) I also reworked the Linters section in `CONTRIBUTING.md` a bit and switched the `prettier` config to a flat config. Co-authored-by: Veeck <github@veeck.de>
2024-12-07 10:12:28 +01:00
overrides: [
{
files: "*.md",
options: {
parser: "markdown"
}
Add Prettier plugin for Nunjuck templates (#3887)
2025-09-11 13:10:53 +02:00
},
{
files: ["*.njk"],
options: {
parser: "jinja-template"
}
Add linting for markdown files (#3646) I also reworked the Linters section in `CONTRIBUTING.md` a bit and switched the `prettier` config to a flat config. Co-authored-by: Veeck <github@veeck.de>
2024-12-07 10:12:28 +01:00
}
],
trailingComma: "none"
};
export default config;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 65ms Template repo/view: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API