duggan / shlint

A shell linting utility.
http://rubygems.org/gems/shlint
MIT License
50 stars 1 forks source link

Support for more shells #3

Closed mcandre closed 10 years ago

mcandre commented 10 years ago

We could add csh and tcsh to the list:

https://github.com/duggan/shlint/blob/master/lib/shlint#L12

duggan commented 10 years ago

csh and tcsh proved problematic, as I recall, throwing a lot of cshism related errors. I also can't recall ever writing or even seeing a tcsh script, even while I was a heavy FreeBSD user - most everything was written for sh.

mcandre commented 10 years ago

Hmm, what if we added csh and tcsh to the list, but disabled them in a default .shlintrc config?

duggan commented 10 years ago

Do you have a particular use case or do you just want to expand coverage generally?

mcandre commented 10 years ago

I would simply like shlint to lint my csh and tcsh code as well.

duggan commented 10 years ago

Ok, well sure that's what the rc file is for!

mcandre commented 10 years ago

Oh, excellent! I should have read the README. :P