@book000/eslint-config 1.17.9 → 1.17.10
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/package.json +1 -1
- package/test.mjs +1 -1
package/package.json
CHANGED
package/test.mjs
CHANGED
|
@@ -528,7 +528,7 @@ async function main() {
|
|
|
528
528
|
const ignoredErrors = [];
|
|
529
529
|
for (const message of fileResult.messages) {
|
|
530
530
|
const severityLabel = message.severity === 2 ? "error" : "warning";
|
|
531
|
-
const line = `
|
|
531
|
+
const line = `[${severityLabel}] ${message.line}:${message.column} ${message.message} ${message.ruleId ?? ""}`;
|
|
532
532
|
if (message.ruleId && rules.includes(message.ruleId)) {
|
|
533
533
|
errorCount = 1;
|
|
534
534
|
relevantErrors.push(line);
|