1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Batch linter updates (#58270)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Sarah Schneider
2025-10-30 11:41:32 -04:00
committed by GitHub
parent c54668d165
commit df04d106df
25 changed files with 260 additions and 2651 deletions

View File

@@ -1,6 +1,5 @@
import fs from 'fs'
import path from 'path'
import { execSync } from 'child_process'
import { renderLiquid } from '@/content-render/liquid/index'
import shortVersionsMiddleware from '@/versions/middleware/short-versions'
@@ -83,7 +82,4 @@ for (const page of pages) {
console.log(err)
}
}
console.log('---\nWriting files done. Now linting content...\n')
// Content linter to remove any blank lines
execSync('npm run lint-content -- --paths content-copilot --rules no-multiple-blanks --fix')
console.log(`Finished - content is available in: ${contentCopilotDir}`)