Housekeeping & Make ESLint Happy

This commit is contained in:
SukkaW
2026-07-29 12:42:58 +08:00
parent 36ceefd3a3
commit 55870db2bc
10 changed files with 39 additions and 23 deletions

View File

@@ -35,7 +35,8 @@ export const buildDeprecateFiles = task(require.main === module, __filename)((sp
appendArrayInPlace(promises, REMOVED_FOLDERS.map(folder => fsp.rm(path.join(PUBLIC_DIR, folder), { force: true, recursive: true })));
for (const [filePath, description] of DEPRECATED_FILES) {
for (let i = 0, len = DEPRECATED_FILES.length; i < len; i++) {
const [filePath, description] = DEPRECATED_FILES[i];
const content = [
'#########################################',
'# Sukka\'s Ruleset - Deprecated',