@code-pushup/eslint-plugin 0.22.6 → 0.22.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/bin.js +5 -3
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/bin.js CHANGED
@@ -725,9 +725,11 @@ function convertIssue(issue) {
725
725
  file: issue.filePath,
726
726
  position: {
727
727
  startLine: issue.line,
728
- startColumn: issue.column,
729
- endLine: issue.endLine,
730
- endColumn: issue.endColumn
728
+ ...issue.column > 0 && { startColumn: issue.column },
729
+ ...issue.endLine && issue.endLine > 0 && {
730
+ endLine: issue.endLine
731
+ },
732
+ ...issue.endColumn && issue.endColumn > 0 && { endColumn: issue.endColumn }
731
733
  }
732
734
  }
733
735
  };
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from "node:url";
5
5
 
6
6
  // packages/plugin-eslint/package.json
7
7
  var name = "@code-pushup/eslint-plugin";
8
- var version = "0.22.6";
8
+ var version = "0.22.8";
9
9
 
10
10
  // packages/plugin-eslint/src/lib/config.ts
11
11
  import { z } from "zod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/eslint-plugin",
3
- "version": "0.22.6",
3
+ "version": "0.22.8",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@code-pushup/utils": "*",