Fix CI errors with linting

This commit is contained in:
Jakob Linskeseder
2026-02-07 20:32:53 +01:00
committed by Jay Linski
parent e0137c26f2
commit 8841a5f6d3
4 changed files with 5763 additions and 13928 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ jobs:
matrix:
operating-system: ['ubuntu-latest', 'windows-latest']
# https://nodejs.org/en/about/releases/
node-version: ['10', '12', '14', '16', '18', '20']
node-version: ['16', '18', '20', '22']
steps:
- name: Checkout
@@ -54,7 +54,7 @@ jobs:
- name: Test (Integration)
# https://github.com/webpack/webpack/issues/14532
if: ${{ matrix.node-version != '18' && matrix.node-version != '20' }}
if: ${{ matrix.node-version == '16' }}
run: |
cd ./tests/integration/rollup-test && ./test.sh && cd -
cd ./tests/integration/webpack-babel-test && ./test.sh && cd -
+5759 -13923
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -39,7 +39,6 @@
"chai-diff": "^1.0.1",
"concurrently": "^5.0.0",
"dirty-chai": "^2.0.1",
"dtslint": "^0.5.5",
"dustjs-linkedin": "^2.0.2",
"eco": "~1.1.0-rc-3",
"eslint": "^6.7.2",
@@ -87,7 +86,7 @@
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types",
"lint:eslint": "eslint --max-warnings 0 .",
"lint:prettier": "prettier --check '**/*.js'",
"lint:types": "dtslint types",
"lint:types": "tsc --noEmit --project types",
"test": "npm run test:mocha",
"test:mocha": "grunt build && grunt test",
"test:browser": "playwright test --config tests/browser/playwright.config.js tests/browser/spec.js",
+1 -1
View File
@@ -24,7 +24,7 @@ async function execFileWithInheritedOutput(command, args) {
const resolvedCommand = preferLocalDependencies(command);
const child = childProcess.spawn(resolvedCommand, args, {
stdio: 'inherit',
shell: true
shell: process.platform === 'win32' // Workaround for CVE-2024-27980
});
child.on('exit', code => {
if (code !== 0) {