moonpick
moonpick copied to clipboard
Cross-platform path separators
When having a lint config like:
{
whitelist_globals: {
["spec/"]: {
"it", "describe", "setup", "teardown", "before_each", "after_each",
"pending"
}
}
}
It works correctly on Linux, but the rules are not applied on Windows since it uses a backslash for path separator instead of regular slash.
It would be ideal if a slash works on all platforms, similar to luacheck's configuration file.
The same issue occurs with regular moonc, is it perhaps an upstream issue?