fix: Linting

fix linting issues
This commit is contained in:
Marco Biedermann 2019-07-05 16:49:43 +02:00
parent 2464637a61
commit c5d85ca899
6 changed files with 67 additions and 13 deletions

View File

@ -4,9 +4,31 @@
"stylelint-config-standard"
],
"plugins": [
"stylelint-order"
"stylelint-order",
"stylelint-scss"
],
"rules": {
"at-rule-no-unknown": [
true, {
"ignoreAtRules": [
"at-root",
"content",
"debug",
"each",
"else",
"error",
"extend",
"for",
"function",
"if",
"include",
"mixin",
"return",
"warn",
"while",
]
}
],
"order/properties-alphabetical-order": true
}
}

View File

@ -6,7 +6,6 @@
-webkit-tap-highlight-color: transparent;
}
-moz-::selection,
::selection {
background: $base-color;
color: $base-bgcolor;

View File

@ -7,6 +7,10 @@
width: 80px;
z-index: 1;
&__arm {
transform-origin: 130px 106px;
}
&:hover {
.github__arm {
@media (min-width: $media-sm) {
@ -14,10 +18,6 @@
}
}
}
&__arm {
transform-origin: 130px 106px;
}
}
@keyframes octocat-wave {

View File

@ -1,13 +1,7 @@
---
# Stylesheet
---
@import 'variables';
@import 'base';
@import 'layout/header';
@import 'layout/footer';
@import 'modules/code';
@import 'modules/github';
@import 'modules/grid';

38
package-lock.json generated
View File

@ -693,6 +693,12 @@
"parse-json": "^4.0.0"
}
},
"cssesc": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
"integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
"dev": true
},
"currently-unhandled": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
@ -2967,6 +2973,38 @@
"postcss-sorting": "^5.0.0"
}
},
"stylelint-scss": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-3.9.0.tgz",
"integrity": "sha512-6uB2TPfIA/HybB7gERPFaBWHDBWhoLSjKoG0rQtsQ4LNOvWzJ205Q8JA2x9zZSXOJXatonlT9aGA1tyNBJrmcg==",
"dev": true,
"requires": {
"lodash": "^4.17.11",
"postcss-media-query-parser": "^0.2.3",
"postcss-resolve-nested-selector": "^0.1.1",
"postcss-selector-parser": "^6.0.2",
"postcss-value-parser": "^4.0.0"
},
"dependencies": {
"postcss-selector-parser": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
"integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",
"dev": true,
"requires": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
"uniq": "^1.0.1"
}
},
"postcss-value-parser": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.0.tgz",
"integrity": "sha512-ESPktioptiSUchCKgggAkzdmkgzKfmp0EU8jXH+5kbIUB+unr0Y4CY9SRMvibuvYUBjNh1ACLbxqYNpdTQOteQ==",
"dev": true
}
}
},
"sugarss": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/sugarss/-/sugarss-2.0.0.tgz",

View File

@ -27,6 +27,7 @@
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-standard": "^18.3.0",
"stylelint-order": "^3.0.0"
"stylelint-order": "^3.0.0",
"stylelint-scss": "^3.9.0"
}
}