Is it known/possible to format .riot files with Prettier? Is this documented somewhere? I have looked around but have not found any documentation/examples on how to use it. Thanks!
PS I'd be happy to submit a PR for adding it to the docs once I know how to do it.
For this feature and probably an eslint-plugin I will need the community help. I will be happy to integrate and review any side project. Thank you for your feedback
I am closing this issue since I have no time and plans to support this feature. I count on the community help for it.
In case people get here through Google... I use this config for Prettier with riot.
{
"tabWidth": 2,
"useTabs": false,
"quoteProps": "preserve",
"singleQuote": true,
"semi": false,
"overrides": [
{
"files": "*.riot.html",
"options": {
"parser": "mdx",
"jsxBracketSameLine": true
}
}
]
}
Most helpful comment
For this feature and probably an eslint-plugin I will need the community help. I will be happy to integrate and review any side project. Thank you for your feedback