isaacscript 3.26.1 → 3.27.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.
|
@@ -6,7 +6,7 @@ await lintScript(async () => {
|
|
|
6
6
|
promises.push(
|
|
7
7
|
// Use Prettier to check formatting.
|
|
8
8
|
// - "--log-level=warn" makes it only output errors.
|
|
9
|
-
$`
|
|
9
|
+
$`prettier --log-level=warn --check .`,
|
|
10
10
|
|
|
11
11
|
// Type-check the code using the TypeScript compiler.
|
|
12
12
|
$`tsc --noEmit`,
|
|
@@ -17,14 +17,14 @@ await lintScript(async () => {
|
|
|
17
17
|
|
|
18
18
|
// Check for unused exports.
|
|
19
19
|
// - "--error" makes it return an error code of 1 if unused exports are found.
|
|
20
|
-
$`
|
|
20
|
+
$`ts-prune --error`,
|
|
21
21
|
|
|
22
22
|
// Spell check every file using CSpell.
|
|
23
23
|
// - "--no-progress" and "--no-summary" make it only output errors.
|
|
24
|
-
$`
|
|
24
|
+
$`cspell --no-progress --no-summary .`,
|
|
25
25
|
|
|
26
26
|
// Check for unused CSpell words.
|
|
27
|
-
$`
|
|
27
|
+
$`cspell-check-unused-words`,
|
|
28
28
|
);
|
|
29
29
|
|
|
30
30
|
if (commandExists("python")) {
|
|
@@ -6,7 +6,7 @@ await lintScript(async () => {
|
|
|
6
6
|
promises.push(
|
|
7
7
|
// Use Prettier to check formatting.
|
|
8
8
|
// - "--log-level=warn" makes it only output errors.
|
|
9
|
-
$`
|
|
9
|
+
$`prettier --log-level=warn --check .`,
|
|
10
10
|
|
|
11
11
|
// Type-check the code using the TypeScript compiler.
|
|
12
12
|
$`tsc --noEmit`,
|
|
@@ -16,14 +16,14 @@ await lintScript(async () => {
|
|
|
16
16
|
$`eslint --max-warnings 0 .`,
|
|
17
17
|
|
|
18
18
|
// Check for unused files, dependencies, and exports.
|
|
19
|
-
$`
|
|
19
|
+
$`knip`,
|
|
20
20
|
|
|
21
21
|
// Spell check every file using CSpell.
|
|
22
22
|
// - "--no-progress" and "--no-summary" make it only output errors.
|
|
23
|
-
$`
|
|
23
|
+
$`cspell --no-progress --no-summary .`,
|
|
24
24
|
|
|
25
25
|
// Check for unused CSpell words.
|
|
26
|
-
$`
|
|
26
|
+
$`cspell-check-unused-words`,
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
await Promise.all(promises);
|