- Added coverage reporting for Vitest with configuration in vitest.config.mjs - Updated package.json to include new scripts for JS coverage, linting, and formatting - Modified run_quality_gate.py to allow skipping ESLint and Prettier checks - Introduced .prettierrc for consistent code formatting - Created .prettierignore to exclude specific files and directories from formatting
5 lines
132 B
JavaScript
5 lines
132 B
JavaScript
export function normalizeQuery(searchInputEl) {
|
|
const raw = String(searchInputEl?.value || "").trim();
|
|
return raw || "*";
|
|
}
|