diff --git a/.stylelintrc b/.stylelintrc index 17c057466..9326b8199 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -4,12 +4,31 @@ ], "rules": { "declaration-no-important": null, + "declaration-property-value-disallowed-list": { + "border": "none", + "outline": "none" + }, "function-disallowed-list": [ "calc", "lighten", "darken" ], "keyframes-name-pattern": null, + "property-disallowed-list": [ + "border-radius", + "border-top-left-radius", + "border-top-right-radius", + "border-bottom-right-radius", + "border-bottom-left-radius", + "transition" + ], + "scss/dollar-variable-default": [ + true, + { + "ignore": "local" + } + ], + "scss/selector-no-union-class-name": true, "selector-max-class": null, "selector-max-combinators": null, "selector-max-compound-selectors": null, diff --git a/gulpfile.js b/gulpfile.js index c025a2f38..ba1745ffc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -168,7 +168,7 @@ const serve = () => { // Clean const cleanDist = () => del([paths.dist.base]) -const lintDistScss = () => src([paths.src.scss + '/**/*.scss']) +const lintDistScss = () => src([paths.src.scss + '/**/*.scss'], ['./.temp/**/*.css']) .pipe(gulpStylelint({ failAfterError: false, reporters: [ diff --git a/src/partials/_head.html b/src/partials/_head.html index b9f35fe0f..971988c95 100644 --- a/src/partials/_head.html +++ b/src/partials/_head.html @@ -4,7 +4,7 @@ - + diff --git a/src/partials/dashboard/_topbar.html b/src/partials/dashboard/_topbar.html index 4d00435fb..6162c8e0a 100644 --- a/src/partials/dashboard/_topbar.html +++ b/src/partials/dashboard/_topbar.html @@ -27,7 +27,7 @@