Add Prettier and ESLint tooling (Refs #77)

This commit is contained in:
2026-10-09 15:56:13 -04:00
parent 8ed059b8d3
commit 16469e2d43
711 changed files with 99737 additions and 28286 deletions
+6 -1
View File
@@ -19,7 +19,12 @@ export function applyRuntimePassword(text: string, password?: string | null): st
}
if (!matched) {
if (lines.at(-1) === '') lines.pop();
lines.push('', '// Added by Plutainer from PLUTAINER_RCON_PASSWORD.', `set rcon_password ${replacement}`, '');
lines.push(
'',
'// Added by Plutainer from PLUTAINER_RCON_PASSWORD.',
`set rcon_password ${replacement}`,
''
);
changed = true;
}
return changed ? lines.join('\n') : text;