Lint for Rails application
lint, ruby-on-rails
Solution
no, there is not.
ruby is a dynamic language, so all you can do in a rails project is to lint syntax in ruby source files with stuff like `ruby -v` aka ruby-lint.
you can use a tool called rails-best-practices to evaluate your code. but like the name says, it's only best practices and is more soft rules than hard linting.
of course there are many more code analysis tools available like rubocop, they all go into a similar direction.
Problem
Does exist some Lint tool for Rails application as a whole? For example, `ruby-lint` doesn't see declarations in other modules if modules have been referenced by mentioning them in `require` clause in `application.rb` file. RubyMine also doesn't see them when doing code inspection.