From b5279341416a20e711ac6c6847193b1ca9fde0da Mon Sep 17 00:00:00 2001 From: Joonas Date: Fri, 29 Dec 2023 15:23:29 +0200 Subject: [PATCH] Fix lint --- app/packs/stylesheets/decidim/iframe/iframe.scss | 1 - package.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 app/packs/stylesheets/decidim/iframe/iframe.scss diff --git a/app/packs/stylesheets/decidim/iframe/iframe.scss b/app/packs/stylesheets/decidim/iframe/iframe.scss deleted file mode 100644 index 8b13789..0000000 --- a/app/packs/stylesheets/decidim/iframe/iframe.scss +++ /dev/null @@ -1 +0,0 @@ - diff --git a/package.json b/package.json index 221978a..7361294 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "test": "echo \"Error: no test specified\" && exit 1", "lint": "eslint -c .eslintrc.json --ext .js app/packs/", "lint-fix": "eslint -c .eslintrc.json --ext .js app/packs/ --fix", - "stylelint": "stylelint **/*.scss", - "stylelint-fix": "stylelint **/*.scss --fix" + "stylelint": "test -n \"$(find . -type f -name '*.scss')\" && stylelint **/*.scss || echo 'No SCSS files found'", + "stylelint-fix": "test -n \"$(find . -type f -name '*.scss')\" && stylelint **/*.scss --fix || echo 'No SCSS files found'" }, "repository": { "type": "git",