Skip to content

Doesn't seem to use LINTER_RULES_PATH in WSL #3574

@michaeloa

Description

@michaeloa

Describe the bug
The megalinter does not seem to respect the LINTER_RULES_PATH in the megalint config.

To Reproduce
Add LINTER_RULES_PATH in the configuration file.

  1. Place .cspell.json in LINTER_RULES_PATH
  2. Run lint
  3. Add a misspelled word caught by lint to .cspell jon
  4. Run lint

Expected behavior
The linter should no longer flag the misspelled word.

I can move the exact same .cspell.json to the local repository, and it works as expected. So the problem is not in the config gile.

I would also like to use $HOME to set the path, but that does not seem to work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions