ossobv / asterisklint

Asterisk PBX configuration syntax checker
GNU General Public License v3.0
61 stars 12 forks source link

Incorrect warning: "app 'BackGround' does not have the proper Case 'Background'" #15

Closed ghost closed 7 years ago

ghost commented 7 years ago

app 'BackGround' does not have the proper Case 'Background'

But...

https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_BackGround

wdoekes commented 7 years ago

I am aware of that: https://github.com/ossobv/asterisklint/blob/8a1df5e2f110b5557d4ad506ce57d0a98d789e70/asterisklint/app/vall/builtin.py#L36

But I cannot reasonably expect people to spell it like that.

ghost commented 7 years ago

OK, I understand - the thing is though, for people using syntax highlighter extensions and plugins for IDE and code editors like Notepad++, Atom, SublimeText etc, it "corrects" to the official syntax. Would you consider a "lenient" option in cases like this? :)