The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style(app): run prettier on the new lint-rule test\n\nCI's format:check flagged it. My local check had reported clean because\nI read prettier's filtered output instead of its exit code -- the file\nwas failing the whole time.\n
Nguyen Thanh Dat6c93bece4e55
diff --git a/app/src/test/eslintCentralizedConfigRule.test.ts b/app/src/test/eslintCentralizedConfigRule.test.tsindex 166a896eb5..b93dc1ba87 100644--- a/app/src/test/eslintCentralizedConfigRule.test.ts+++ b/app/src/test/eslintCentralizedConfigRule.test.ts@@ -1,5 +1,5 @@-import { Linter } from 'eslint';import tsparser from '@typescript-eslint/parser';+import { Linter } from 'eslint';import { describe, expect, it } from 'vitest';// eslint.config.js is plain JS and ships no declarations; importing the real@@ -21,7 +21,7 @@ import eslintConfig from '../../eslint.config.js';*/const configBlock = (eslintConfig as Linter.Config[]).find(- (block) => block.rules?.['no-restricted-syntax'],+ block => block.rules?.['no-restricted-syntax']);const [, restriction] = (configBlock?.rules?.['no-restricted-syntax'] ?? []) as [@@ -37,7 +37,7 @@ function lint(code: string) {rules: { 'no-restricted-syntax': ['error', restriction] },});// A parse failure would otherwise read as "the rule did not fire".- expect(messages.filter((message) => message.fatal)).toEqual([]);+ expect(messages.filter(message => message.fatal)).toEqual([]);return messages;}