Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Doesn't respect lint_config #65

Open
XeroOl opened this issue Jul 4, 2020 · 0 comments
Open

Doesn't respect lint_config #65

XeroOl opened this issue Jul 4, 2020 · 0 comments

Comments

@XeroOl
Copy link

XeroOl commented Jul 4, 2020

moonc -l looks for a file called lint_config.moon whenever it runs, but this plugin doesn't respect this.
https://moonscript.org/reference/command_line.html#command-line-tools/moonc/linter/global-variable-whitelist
Here's an example test:

-- lint_config.moon
whitelist_globals:
    ["src/"]: {"love"}
-- src/main.moon
print love
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant