rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
152 stars 47 forks source link

Compiler should automatically ignore (root) `node_modules` #423

Open elsassph opened 3 years ago

elsassph commented 3 years ago

I know there are some workarounds (creating a dummy bsconfig with diagnosticFilters) but generally I think the compiler should always ignore node_modules - possibly only for a root of a project.

TwitchBronBron commented 3 years ago

This would be most easily implemented by updating the default files array to include "!node_modules". BrighterScript currently inherits the default files array from roku_deploy here.

I've been meaning to update those defaults for a while now in roku_deploy. Here's a github issue to track that https://github.com/rokucommunity/roku-deploy/issues/58