rokucommunity / bslint

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

Rule: newline required at end of file #41

Closed elsassph closed 1 month ago

elsassph commented 2 years ago

A classic linting rule.

Each BrsFile has a parser.tokens collection where a final newline can be verified.

Should end up looking something similar to the eslint message:

image

max-curzi commented 1 month ago

This looks like it is implemented by LINT3017:

image

It's controlled by bslint.json "rules":"eol-last"

TwitchBronBron commented 1 month ago

Oh yeah. You're right! Thanks. I'll close this.