yujinakayama / atom-lint

Obsolete: Generic code linting support for Atom
https://atom.io/packages/atom-lint
MIT License
111 stars 33 forks source link

Add lint config files to coffeelint and scss-lint #118

Closed Dru89 closed 8 years ago

Dru89 commented 9 years ago

Because coffeelint[1] and scss-lint[2] allow configuration files to be specified from the command line, I've updated atom-lint to allow this to be specified in the config.cson file.

The scss-lint key is atom-lint.scss-lint.config. Similarly, the coffeelint key is atom-lint.coffeelint.config.

We could probably do this for other languages, too, but coffeelint and scss-lint are the only ones I was actively using and able to test at the time.

[1] http://www.coffeelint.org/#usage (By way of the --file or -f flag) [2] https://github.com/causes/scss-lint#usage (By way of the --config or -c flag)

Dru89 commented 9 years ago

Just realized my commit says "arc-lint" and not "atom-lint". Whoops, wrong project name there.

If you like the idea, though, I'll change the commit message appropriately. I'm also working on updating this for RuboCop, as well.

Dru89 commented 9 years ago

I've updated the pull request to include rubocop support, and changed the commit message to reference atom-lint instead of arc.

Dru89 commented 8 years ago

Closing this PR as it's been open for a long time. Not even sure if this was implemented elsewhere at this point.