Fixed stylelint not properly inspecting files in src root

This commit is contained in:
Alejandro Celaya 2018-09-01 11:37:58 +02:00
parent 8b17ff88ed
commit 28bd39f974
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
"lint": "yarn lint:js && yarn lint:css", "lint": "yarn lint:js && yarn lint:css",
"lint:js": "eslint src test scripts config", "lint:js": "eslint src test scripts config",
"lint:js:fix": "yarn lint:js --fix", "lint:js:fix": "yarn lint:js --fix",
"lint:css": "stylelint src/**/*.scss", "lint:css": "stylelint src/*.scss src/**/*.scss",
"lint:css:fix": "yarn lint:css --fix", "lint:css:fix": "yarn lint:css --fix",
"start": "node scripts/start.js", "start": "node scripts/start.js",
"build": "node scripts/build.js", "build": "node scripts/build.js",

View file

@ -3,7 +3,7 @@
html, html,
body, body,
#root { #root {
height: 100% height: 100%;
} }
* { * {
@ -21,6 +21,7 @@ body,
.dropdown-item { .dropdown-item {
cursor: pointer; cursor: pointer;
} }
.dropdown-item.active, .dropdown-item.active,
.dropdown-item:active { .dropdown-item:active {
@extend .bg-main; @extend .bg-main;
@ -46,7 +47,6 @@ body,
.navbar-brand { .navbar-brand {
@media (max-width: $smMax) { @media (max-width: $smMax) {
margin-right: auto !important; // This is needed to override a third party style margin: 0 auto !important;
margin: 0 auto;
} }
} }