From b895c03fe97e4db180d59111343cee5432b3a8e6 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 10 Jun 2024 14:58:53 +1200 Subject: [PATCH] MNT Fix scss lint warnings --- .stylelintignore | 1 - client/src/bundles/bundle.scss | 4 ++-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .stylelintignore diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index 8688292..0000000 --- a/.stylelintignore +++ /dev/null @@ -1 +0,0 @@ -client/src/**/*.js diff --git a/client/src/bundles/bundle.scss b/client/src/bundles/bundle.scss index dea47a2..7c948be 100755 --- a/client/src/bundles/bundle.scss +++ b/client/src/bundles/bundle.scss @@ -2,8 +2,8 @@ @import "variables"; // Import all of your SCSS stylesheets using relative paths from "components" -@import "../components/LoginSession/LoginSession.scss"; -@import "../components/SessionManagerField/SessionManagerField.scss"; +@import "../components/LoginSession/LoginSession"; +@import "../components/SessionManagerField/SessionManagerField"; // Import any legacy SCSS stylesheets // e.g. @import '../styles/MyComponent-ModelAdmin-legacy.scss diff --git a/package.json b/package.json index 70e20ad..e7f9478 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "css": "WEBPACK_CHILD=css npm run build", "test": "jest", "coverage": "jest --coverage", - "lint": "eslint client/src && yarn lint-sass", + "lint": "yarn lint-js && yarn lint-sass", "lint-js": "eslint client/src", "lint-js-fix": "eslint client/src --fix", "lint-sass": "stylelint client/src"