Skip to content

Commit 4f327ee

Browse files
authored
chore: use stylelint-stylus (#441)
1 parent b1f6ab1 commit 4f327ee

File tree

5 files changed

+156
-66
lines changed

5 files changed

+156
-66
lines changed

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"source.fixAll.eslint": true,
1919
"source.fixAll.stylelint": true
2020
},
21-
"stylelint.customSyntax": "stylelint-plugin-stylus/custom-syntax",
2221
"stylelint.validate": [
2322
"css",
2423
"html",

docs/.vuepress/styles/index.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
@media screen and (min-width: 400px) and (max-width: 450px)
1+
@media screen and (min-width 400px) and (max-width 450px)
22
#app .navbar .site-name
33
font-size calc(1.3rem * 0.8)
44

5-
@media screen and (max-width: 400px)
5+
@media screen and (max-width 400px)
66
#app .navbar
77
.home-link
88
display flex
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module.exports = {
2-
extends: ["stylelint-config-standard", "stylelint-plugin-stylus/standard"],
2+
extends: ["stylelint-config-standard", "stylelint-stylus/standard"],
33
rules: {
44
"no-descending-specificity": null,
5+
"selector-class-pattern": null,
6+
"value-keyword-case": null,
57
},
68
}

0 commit comments

Comments
 (0)