Hey guys, I use rubocop linter with vs code extension. I have a rails 6 app with ruby 3 but some files in vendor/ are symlinks from legacy code which were written in ruby 2. I have to make sure my team doesn’t write any ruby 3 specific methods inside this folder cuz since it’s a symlink, it’s used by other apps with ruby 2 as well. How do i configure my linter for this?
You must log in or register to comment.
Oof, that’s a bit odd. My personal preference would be to write your code as a gem and that way you can easily control all of its behaviors. That’s what gems are for