Skip to content

Warning/Errors are not picked up by GH Actions/PR Reviews UI #270

@idudinov

Description

@idudinov

Description

Hi, thanks for the great plugin and for all the work is being put in it.

I'm using [email protected] and I noticed that Github Actions ignore linter warnings from this plugin from being picked up in PR reviews and output logs.

Example of output if GH Actions logs:

/home/runner/work/...
  160:15  warning  Incorrect class order. Expected

"..."

to be

"..."  better-tailwindcss/enforce-consistent-class-order

And an example of output that is picked up:

/home/runner/work/...
Warning:   49:7  warning  'v-html' directive can lead to XSS attack  vue/no-v-html

this one gets a nice yellow background in logs, linked to a code in PR review, so is easily observed and chance to be missed is lower.

I suspect this caused by warning message being taking multiple lines, which is fine for IDEs, but would be nice to make it single line for CI=1 or with some options flag.

Please let me know if any additional context is needed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeature requestNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions