yujinakayama / atom-lint

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

Relative Rubocop requires cause atom-lint to fail #135

Open baxter opened 9 years ago

baxter commented 9 years ago

Hi there,

I noticed that atom-lint fails when I include a relative require in my Rubocop file. Here's an example of a failing config:

require:
  - ./lib/cops/my_custom_rule.rb

Whereas this one passes:

require:
  - /Users/baxter/Code/my_app/lib/cops/my_custom_rule.rb

I had a look through existing issues and couldn't find a similar one, but apologies if I've missed it!

Thanks!