From 646b270b01618462585752560f239a09f463eedb Mon Sep 17 00:00:00 2001 From: "Christian.vonHolten" Date: Wed, 16 Apr 2025 16:12:02 +0200 Subject: [PATCH] [TASK] allow warnings in linting --- .gitignore | 1 + lib/actions/lint.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index be5ccd0..8ebabf6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ node_modules *.min.css *.map /.env +/.vscode /tunnel.log diff --git a/lib/actions/lint.js b/lib/actions/lint.js index 9d0a1f6..a3496c7 100644 --- a/lib/actions/lint.js +++ b/lib/actions/lint.js @@ -18,7 +18,7 @@ module.exports = (type, availableTypes, mode, workingDir, config) => { // maxModules: 100 })) - if (stats.hasErrors() || stats.hasWarnings() || err) { + if (stats.hasErrors() || err) { if (err) { console.error('ERROR: Webpack failed to lint.', err) } diff --git a/package.json b/package.json index 718a184..584d9c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sitegeist/conventional", - "version": "2.0.0", + "version": "2.0.1", "description": "Frontend toolchain for sitegeist TYPO3 projects", "keywords": [], "license": "MIT",