Rails style checks do not work in rubocop, because the temporary file is opened outside of the Rails structure. Rubocop cannot tell whether that file is a model, a controller etc.
Some linters can only work from an actual disk file, because they rely on an entire directory structure that cannot be realistically be copied to a temp directory (e.g. javac). In such cases, you can mark a linter as “file-only” by setting tempfile_suffix to '-'.
Do you think it is a good idea to execute rubocop checks in the actual project directory, triggered on load/save rather than edit?
Rails style checks do not work in rubocop, because the temporary file is opened outside of the Rails structure. Rubocop cannot tell whether that file is a model, a controller etc.
According to http://sublimelinter.readthedocs.org/en/latest/linter_attributes.html?highlight=tempfile_suffix#tempfile-suffix:
Do you think it is a good idea to execute rubocop checks in the actual project directory, triggered on load/save rather than edit?