@codacy/tools-scalastyle-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.
- package/dist/index.js +1 -12
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -935,22 +935,11 @@ var FILE_LEVEL_CHECKERS = /* @__PURE__ */ new Set([
|
|
|
935
935
|
"RegexChecker",
|
|
936
936
|
"WhitespaceEndOfLineChecker"
|
|
937
937
|
]);
|
|
938
|
-
var VALID_CATEGORIES = /* @__PURE__ */ new Set([
|
|
939
|
-
"Security",
|
|
940
|
-
"ErrorProne",
|
|
941
|
-
"CodeStyle",
|
|
942
|
-
"Compatibility",
|
|
943
|
-
"Performance",
|
|
944
|
-
"UnusedCode",
|
|
945
|
-
"Complexity",
|
|
946
|
-
"BestPractice",
|
|
947
|
-
"Documentation"
|
|
948
|
-
]);
|
|
949
938
|
var PATTERN_META = new Map(
|
|
950
939
|
patterns_default.map((p) => [
|
|
951
940
|
p.id,
|
|
952
941
|
{
|
|
953
|
-
category:
|
|
942
|
+
category: import_tooling.ISSUE_CATEGORIES.has(p.category) ? p.category : "BestPractice",
|
|
954
943
|
severity: p.severityLevel ?? "Info"
|
|
955
944
|
}
|
|
956
945
|
])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codacy/tools-scalastyle-1",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Scalastyle adapter — CLI-mode Scala style checker",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"fast-xml-parser": "^4.5.0",
|
|
12
|
-
"@codacy/tooling": "0.
|
|
12
|
+
"@codacy/tooling": "0.4.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "Codacy <support@codacy.com> (https://www.codacy.com)",
|