Home Download Buy Blog Forum Support

SublimeLinter: perlcritic

SublimeLinter: perlcritic

Postby jahveen on Wed Aug 08, 2012 10:22 am

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.
jahveen
 
Posts: 1
Joined: Wed Aug 08, 2012 9:55 am

Re: SublimeLinter: perlcritic

Postby polymersayb on Mon Sep 24, 2012 10:10 pm

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!
polymersayb
 
Posts: 1
Joined: Mon Sep 24, 2012 10:08 pm


Return to Technical Support

Who is online

Users browsing this forum: Markus Gritsch and 11 guests