@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/test.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@book000/eslint-config",
3
- "version": "1.17.9",
3
+ "version": "1.17.10",
4
4
  "description": "ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config"
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 = ` ${message.line}:${message.column} ${severityLabel} ${message.message} ${message.ruleId ?? ""}`;
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);