iampeterbanjo / vscode-elixir-linter

Provides linting for Elixir files using Credo for Visual Studio Code
11 stars 9 forks source link

Add ignore path please #96

Open Maples7 opened 5 years ago

Maples7 commented 5 years ago

The linter checks source code of all deps and elixir itself (installed via kiex) for now, which costs a lot and makes VSCode run slower. Can I add some directory paths to be ignored by the linter? Or this feature should be added to the plugin if not.

image

phyllisstein commented 5 years ago

I'm seeing the same problem. Despite having a Credo configuration that should filter it out, the extension is linting my deps directory:

%{
  configs: [
    %{
      name: "default",
      files: %{
        included: ["lib/", "src/", "test/", "web/", "apps/"],
        excluded: [~r"/_build/", ~r"/deps/", ~r"/node_modules/"]
      },
# --- ✄ snip ---------------------
Screen Shot
iampeterbanjo commented 5 years ago

Thanks for leaving some feedback and I agree with you.

sitch commented 4 years ago

bump