A Vale configuration for sites using MDX:
- Adds support for using MDX comment syntax (
{/* ... */}
). - Ignores
import
s andexport
s. - Ignores
<Component ... />
and<Component> ... </Component>
. - Ignores
{ ... }
.
To get started, add the package to your configuration file (as shown below) and then run vale sync
.
StylesPath = styles
MinAlertLevel = suggestion
Packages = MDX
[*]
# The 'Vale' is optional;
#
# Run `ls-config` to see the
# MDX configuration settings.
BasedOnStyles = Vale
$ make test