diff --git a/scripts/commands/lint.js b/scripts/commands/lint.js index 48c32794..a970bb8c 100644 --- a/scripts/commands/lint.js +++ b/scripts/commands/lint.js @@ -39,6 +39,8 @@ async function main() { let errors = [] for (const filepath of program.args) { + if (!filepath.endsWith('.xml')) continue + const xml = await file.read(filepath) let localErrors = []