yujinakayama / atom-lint

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

Rubocop: Invalid byte sequence in us-ascii #73

Closed firedev closed 10 years ago

firedev commented 10 years ago

Something is wrong when linting UTF-8 files. There was an issue like this in rubocop < 0.5 according to their github repot, but I have 0.24. I use rbenv and ruby 2.1.1 as global but when I run rubocop from the command line there are no issues.

yujinakayama commented 10 years ago

I guess this was caused by a combination of RuboCop 0.24.0 and Parser 2.2.0.pre.3 (see https://github.com/bbatsov/rubocop/issues/1189). Could you try with the latest RuboCop 0.24.1?

firedev commented 10 years ago

Yep it is okay now. Sorry, forgot to close the ticket.

firedev commented 10 years ago

Somehow it appears at random still, for example:

Atom 0.123 Rubocop 0.24.1 Atom-lint 0.15.1

yujinakayama commented 10 years ago

It seems to be an issue in RuboCop. See https://github.com/bbatsov/rubocop/issues/1289.