You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datasketches.apache.org by mystic lama <my...@gmail.com> on 2023/10/23 02:38:33 UTC

Checkstyle usage

Hello,

I am trying to find how to we use Checkstyle in datasketches.
The SketchesCheckstyle.xml is present in tools folder, however didn't find
the usage reference.
I might be missing something. Can someone point me in the right direction?

Thanks
Ash

Re: Checkstyle usage

Posted by mystic lama <my...@gmail.com>.
Thanks Lee !

Got it. Is there interest to integrate it as a maven profile with the
build? If there is interest I can work on it and can fix any
violations reported along the way.

Thanks

On Wed, 25 Oct 2023 at 16:46, Lee Rhodes <le...@gmail.com> wrote:

> You can download and run checkstyle in your own system or have it
> configured as part of your IDE(either Eclipse or IntelliJ, that is what I
> do). Make sure you point to the SketchesCheckstyle.xml in the tools folder
> from within the checkstyle program config, otherwise you might get a lot of
> false positives.
>
> On Sun, Oct 22, 2023 at 7:38 PM mystic lama <my...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I am trying to find how to we use Checkstyle in datasketches.
>> The SketchesCheckstyle.xml is present in tools folder, however didn't
>> find the usage reference.
>> I might be missing something. Can someone point me in the right direction?
>>
>> Thanks
>> Ash
>>
>

Re: Checkstyle usage

Posted by Lee Rhodes <le...@gmail.com>.
You can download and run checkstyle in your own system or have it
configured as part of your IDE(either Eclipse or IntelliJ, that is what I
do). Make sure you point to the SketchesCheckstyle.xml in the tools folder
from within the checkstyle program config, otherwise you might get a lot of
false positives.

On Sun, Oct 22, 2023 at 7:38 PM mystic lama <my...@gmail.com> wrote:

> Hello,
>
> I am trying to find how to we use Checkstyle in datasketches.
> The SketchesCheckstyle.xml is present in tools folder, however didn't find
> the usage reference.
> I might be missing something. Can someone point me in the right direction?
>
> Thanks
> Ash
>