Re: Is there a linter for Perl 6? (like Perl::Critic or pylint)

2017-06-03 Thread Gabor Szabo
I think that runs perl6 -c, right?
Then no, I did not mean that.
I mean a tool for static analysis like Perl::Critic in Perl 5 that
would point out potential bugs,
or recommend better practices.

I've added a very naive implementation of checking for "use v6;"
https://github.com/Bailador/Bailador/blob/main/t/00-lint.t

regards
Gabor

On Thu, Jun 1, 2017 at 2:50 PM, Ahmad Zawawi  wrote:
> Hi Gabor,
>
> Like https://atom.io/packages/atom-perl6-editor-tools for instance or
> project-level linting?
>
> Regards,
> Ahmad
>
>
> On Thu, Jun 1, 2017 at 9:02 AM, Gabor Szabo  wrote:
>>
>> e.g. I'd like to check that every pl pm and t file in our project has a
>> "use v6;" at the beginning.
>>
>> regards
>>Gabor
>
>


Re: Is there a linter for Perl 6? (like Perl::Critic or pylint)

2017-06-01 Thread Ahmad Zawawi
Hi Gabor,

Like https://atom.io/packages/atom-perl6-editor-tools for instance or
project-level linting?

Regards,
Ahmad


On Thu, Jun 1, 2017 at 9:02 AM, Gabor Szabo  wrote:

> e.g. I'd like to check that every pl pm and t file in our project has a
> "use v6;" at the beginning.
>
> regards
>Gabor
>