Skip to content

fix: Add "self-documenting" #95

fix: Add "self-documenting"

fix: Add "self-documenting" #95

Triggered via push July 27, 2024 09:35
Status Failure
Total duration 23s
Artifacts

node.js.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/fixer-task.ts:63:14 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/fixer-task.ts:42:14 ❯ FixerProcessor.process node_modules/@textlint/kernel/src/fixer/fixer-processor.ts:88:26 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
Unhandled error: src/index.ts#L145
SyntaxError: Error while loading rule 'textlint-rule-terminology': Unexpected token ']', ...""falsy"], ] " is not valid JSON ❯ loadJson src/index.ts:145:15 ❯ getTerms src/index.ts:123:35 ❯ reporter src/index.ts:43:17 ❯ TextLintCoreTask.tryToGetRuleObject node_modules/@textlint/kernel/src/task/textlint-core-task.ts:209:20 ❯ TextLintCoreTask.tryToAddListenRule node_modules/@textlint/kernel/src/task/textlint-core-task.ts:250:24 ❯ node_modules/@textlint/kernel/src/task/linter-task.ts:63:18 ❯ TextLintCoreTask._setupRules node_modules/@textlint/kernel/src/task/linter-task.ts:54:50 ❯ new TextLintCoreTask node_modules/@textlint/kernel/src/task/linter-task.ts:39:14 This error originated in "src/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/index.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.