rokucommunity / bslint

A linter for BrightScript and BrighterScript.
MIT License
28 stars 15 forks source link

--files argument doesn't work as expected #107

Open TwitchBronBron opened 4 months ago

TwitchBronBron commented 4 months ago

Calling npx bslint --files "**/utils/**" "\!**/test*/**" to lint only a specific component also produces many error BS1004: Referenced file does not exist on all the .brs files imported by the .xml files in **/utils/** .

It would make more sense to have bslint load the entire project, and treat the --files arg as more of a diagnostic "include" list. / filter

Or maybe add a different flag to support this concept?