aboutsummaryrefslogtreecommitdiff
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-13 00:37:42 -0500
committertusooa <tusooa@kazv.moe>2023-01-13 00:37:42 -0500
commita28032fa58ff341b8815a0651d621ed358efd168 (patch)
tree7069f08f7fce91642ffdd10b8c79cb986cd95f72 /.stylelintrc.json
parent7dc22774532872fc99aa7768cf299ab623e9d155 (diff)
Disable no-shorthand for certain props for better readability
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index 7517362c..d6689cc0 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -21,6 +21,21 @@
"import-notation": null,
"custom-property-pattern": null,
"keyframes-name-pattern": null,
- "scss/operator-no-newline-after": null
+ "scss/operator-no-newline-after": null,
+ "declaration-block-no-redundant-longhand-properties": [
+ true,
+ {
+ "ignoreShorthands": [
+ "grid-template",
+ "margin",
+ "padding",
+ "border",
+ "border-width",
+ "border-style",
+ "border-color",
+ "border-radius"
+ ]
+ }
+ ]
}
}