Prettier ignores html-element-content-newline
There's [a rule ](https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html)that can be activated for VUE for `singleline-html-element-content-newline`. I love the rule, works great with the config, but I could not make it work at all with prettier

While this is not a bug report per se, I was just wondering if you have any suggestions on how to solve this. It also adds a space before and after the content, but I guess this is less relevant right now.
Config example:
```ts
// eslint.config.js
import {sxzz} from "@sxzz/eslint-config";
export default sxzz(
[
{
rules: {
"vue/singleline-html-element-content-newline": [
"error",
{
ignoreWhenNoAttributes: true,
ignoreWhenEmpty: true,
ignores: ["pre", "textarea"]
}
]
}
}
],
{vue: true, prettier: true, markdown: true, unocss: false}
);
```
关闭于 2023-09-28 1 条评论