diff options
author | Volpeon <git@volpeon.ink> | 2021-11-16 11:31:50 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-16 11:31:50 +0100 |
commit | 15f22942f1e4a17ac9dcf848f4dc47d9258bb282 (patch) | |
tree | 690bc7db5e988358df365dfe59d92d84fc85802a | |
parent | Optimizations (diff) | |
download | volpeon.ink-15f22942f1e4a17ac9dcf848f4dc47d9258bb282.tar.gz volpeon.ink-15f22942f1e4a17ac9dcf848f4dc47d9258bb282.tar.bz2 volpeon.ink-15f22942f1e4a17ac9dcf848f4dc47d9258bb282.zip |
Get VSCode Stylelint to work again
-rw-r--r-- | .stylelintrc.json | 8 | ||||
-rw-r--r-- | assets/css/components/_header.scss | 2 | ||||
-rw-r--r-- | package.json | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json index 82a61ce..f96ade9 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json | |||
@@ -55,5 +55,11 @@ | |||
55 | 55 | ||
56 | { "properties": [ "tab-size", "counter-reset", "counter-increment", "resize", "cursor", "pointer-events", "speak", "user-select", "nav-index", "nav-up", "nav-right", "nav-down", "nav-left" ] } | 56 | { "properties": [ "tab-size", "counter-reset", "counter-increment", "resize", "cursor", "pointer-events", "speak", "user-select", "nav-index", "nav-up", "nav-right", "nav-down", "nav-left" ] } |
57 | ] | 57 | ] |
58 | } | 58 | }, |
59 | "overrides": [ | ||
60 | { | ||
61 | "files": ["**/*.scss"], | ||
62 | "customSyntax": "postcss-scss" | ||
63 | } | ||
64 | ] | ||
59 | } | 65 | } |
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index 1df7c5b..9afa2e6 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss | |||
@@ -72,7 +72,7 @@ | |||
72 | } | 72 | } |
73 | 73 | ||
74 | @include media('>=lg') { | 74 | @include media('>=lg') { |
75 | margin-bottom: calc(-.75 * #{prop(--dims --height)}) | 75 | margin-bottom: calc(-.75 * #{prop(--dims --height)}); |
76 | } | 76 | } |
77 | } | 77 | } |
78 | } | 78 | } |
diff --git a/package.json b/package.json index 6d3894e..03dfd7f 100644 --- a/package.json +++ b/package.json | |||
@@ -1,7 +1,8 @@ | |||
1 | { | 1 | { |
2 | "devDependencies": { | 2 | "devDependencies": { |
3 | "stylelint": "^14.1.0", | 3 | "stylelint": "^14.1.0", |
4 | "stylelint-config-sass-guidelines": "^9.0.1" | 4 | "stylelint-config-sass-guidelines": "^9.0.1", |
5 | "postcss-scss": "^4.0.2" | ||
5 | }, | 6 | }, |
6 | "dependencies": { | 7 | "dependencies": { |
7 | "autoprefixer": "^10.2.5", | 8 | "autoprefixer": "^10.2.5", |