'LGTM code analysis exclude file from analysis?

I am following the guide here https://lgtm.com/help/lgtm/javascript-extraction

to exclude my folder

here is my lgmt.yml

extraction:
  javascript:
    index:
      exclude: 
      - folderA
      filters:
        - exclude: "**/*"

I want to exclude everything in folderA, but it is not working, what am I missing?



Solution 1:[1]

extraction:
  javascript:
    index:
      exclude: "folderA"

turn out this is working, it excludes everything in folderA

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tylim