@staff0rd/assist 0.39.0 → 0.40.0
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.
|
@@ -39,7 +39,7 @@ export function runStaticImportCheck(): boolean {
|
|
|
39
39
|
return reportViolations(
|
|
40
40
|
checkStaticImports(),
|
|
41
41
|
"Static import check",
|
|
42
|
-
"Dynamic imports
|
|
42
|
+
"Dynamic imports are not allowed. Use static imports instead.",
|
|
43
43
|
"Static import check passed. No dynamic imports found.",
|
|
44
44
|
);
|
|
45
45
|
}
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { Command } from "commander";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "@staff0rd/assist",
|
|
10
|
-
version: "0.
|
|
10
|
+
version: "0.40.0",
|
|
11
11
|
type: "module",
|
|
12
12
|
main: "dist/index.js",
|
|
13
13
|
bin: {
|
|
@@ -28,7 +28,8 @@ var package_default = {
|
|
|
28
28
|
"verify:types": "tsc --noEmit",
|
|
29
29
|
"verify:knip": "knip --no-progress --treat-config-hints-as-errors",
|
|
30
30
|
"verify:duplicate-code": "jscpd --format 'typescript,tsx' --exitCode 1 --ignore '**/*.test.*' -r consoleFull src",
|
|
31
|
-
"verify:maintainability": "assist complexity maintainability ./src --threshold 50"
|
|
31
|
+
"verify:maintainability": "assist complexity maintainability ./src --threshold 50",
|
|
32
|
+
"verify:custom-lint": "assist lint"
|
|
32
33
|
},
|
|
33
34
|
keywords: [],
|
|
34
35
|
author: "",
|
|
@@ -2033,7 +2034,7 @@ function runStaticImportCheck() {
|
|
|
2033
2034
|
return reportViolations(
|
|
2034
2035
|
checkStaticImports(),
|
|
2035
2036
|
"Static import check",
|
|
2036
|
-
"Dynamic imports
|
|
2037
|
+
"Dynamic imports are not allowed. Use static imports instead.",
|
|
2037
2038
|
"Static import check passed. No dynamic imports found."
|
|
2038
2039
|
);
|
|
2039
2040
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@staff0rd/assist",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"verify:types": "tsc --noEmit",
|
|
22
22
|
"verify:knip": "knip --no-progress --treat-config-hints-as-errors",
|
|
23
23
|
"verify:duplicate-code": "jscpd --format 'typescript,tsx' --exitCode 1 --ignore '**/*.test.*' -r consoleFull src",
|
|
24
|
-
"verify:maintainability": "assist complexity maintainability ./src --threshold 50"
|
|
24
|
+
"verify:maintainability": "assist complexity maintainability ./src --threshold 50",
|
|
25
|
+
"verify:custom-lint": "assist lint"
|
|
25
26
|
},
|
|
26
27
|
"keywords": [],
|
|
27
28
|
"author": "",
|