@codacy/tools-revive-1 0.3.0 → 0.3.1

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 (2) hide show
  1. package/dist/index.js +1 -12
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -892,22 +892,11 @@ var patterns_default = [
892
892
 
893
893
  // src/adapter.ts
894
894
  var TOOL_ID = "Revive";
895
- var VALID_CATEGORIES = /* @__PURE__ */ new Set([
896
- "Security",
897
- "ErrorProne",
898
- "CodeStyle",
899
- "Compatibility",
900
- "Performance",
901
- "UnusedCode",
902
- "Complexity",
903
- "BestPractice",
904
- "Documentation"
905
- ]);
906
895
  var PATTERN_META = new Map(
907
896
  patterns_default.map((p) => [
908
897
  p.id,
909
898
  {
910
- category: VALID_CATEGORIES.has(p.category) ? p.category : "BestPractice",
899
+ category: import_tooling.ISSUE_CATEGORIES.has(p.category) ? p.category : "BestPractice",
911
900
  severity: p.severityLevel ?? "Info"
912
901
  }
913
902
  ])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/tools-revive-1",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Revive adapter — CLI-mode Go linter",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "@codacy/tooling": "0.3.0"
11
+ "@codacy/tooling": "0.4.0"
12
12
  },
13
13
  "license": "MIT",
14
14
  "author": "Codacy <support@codacy.com> (https://www.codacy.com)",