- 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
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
const dndDebugEnabled = () => {
|
|
try {
|
|
return Boolean(window?.MJR_DND_DEBUG);
|
|
} catch {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
export const dndLog = (...args) => {
|
|
if (!dndDebugEnabled()) return;
|
|
console.debug("[Majoor.DnD]", ...args);
|
|
};
|