Sublime Forum

SublimeLinter: perlcritic

#1

Hello,

I had problems with using the perlcritic linter option in Sublimelinter until I performed the following changes in the C:\Users[username]\AppData\Roaming\Sublime Text 2\Packages\SublimeLinter\sublimelinter\modules\perl.py file:

replace: path = self.get_mapped_executable(view, self.linter)
with: path = self.get_mapped_executable(view, self.linter) + ‘.bat’

replace: return ‘–verbose’, ‘8’]
with: return ‘–brutal’, ‘–verbose’, ‘8’]

I use strawberry perl on my system, and this fixed the issues I had with the linter. Can the issue be fixed formally on this plugin please?

Thanks.

0 Likes

#2

This isn’t going to help OP, but I used this thread to add the “brutal” setting to the linter. Is there any chance of incorporating a user setting to change this automatically? Thanks!

0 Likes