moonpick icon indicating copy to clipboard operation
moonpick copied to clipboard

Cross-platform path separators

Open Sharparam opened this issue 6 years ago • 0 comments

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?

Sharparam avatar Sep 16 '19 09:09 Sharparam