After trying a while, I figured out, it must be
exclude: '["node_modules/", ".git/", "*.env"]'
The whole array must be in a string and all values must be in double ".
Also I get this warning:
(node:2932) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
After trying a while, I figured out, it must be exclude: '["node_modules/", ".git/", "*.env"]'
The whole array must be in a string and all values must be in double ".
Also I get this warning: (node:2932) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.