chore(scripts): refactor shellcheck command and enforce LF for review.sh

This commit is contained in:
mkorwel
2026-03-13 18:07:46 +00:00
parent d7bf0c3a13
commit 2e85d48bdc
2 changed files with 12 additions and 7 deletions
+11 -7
View File
@@ -123,13 +123,17 @@ export function runShellcheck() {
return;
}
const command = `npx shellcheck \
--check-sourced \
--enable=all \
--exclude=SC2002,SC2129,SC2310 \
--severity=style \
--format=gcc \
--color=never ${files.join(' ')}`;
const args = [
'--check-sourced',
'--enable=all',
'--exclude=SC2002,SC2129,SC2310',
'--severity=style',
'--format=gcc',
'--color=never',
...files,
];
const command = `npx shellcheck ${args.join(' ')}`;
try {
const output = execSync(command, {