aboutsummaryrefslogtreecommitdiff
path: root/.stylelintrc.json
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-10-28 14:38:17 +0200
committerGravatar GitHub <noreply@github.com> 2023-10-28 14:38:17 +0200
commit1aa43e894e08815ce153e681f8b119c21e878797 (patch)
treeaf1f7b5f9269be4d2edd5612c35ac676dff73191 /.stylelintrc.json
parent98aa0b474e806f51171ec1835ba80fad0d9a4e5c (diff)
Dev updates with stylelint-stylistic (#5766)
fix https://github.com/FreshRSS/FreshRSS/issues/5592
Diffstat (limited to '.stylelintrc.json')
-rw-r--r--.stylelintrc.json23
1 files changed, 12 insertions, 11 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
index b14138d3a..05d07ca6d 100644
--- a/.stylelintrc.json
+++ b/.stylelintrc.json
@@ -2,7 +2,8 @@
"extends": "stylelint-config-recommended-scss",
"plugins": [
"stylelint-order",
- "stylelint-scss"
+ "stylelint-scss",
+ "stylelint-stylistic"
],
"rules": {
"at-rule-empty-line-before": [
@@ -10,27 +11,27 @@
"ignoreAtRules": [ "after-comment", "else" ]
}
],
- "at-rule-name-space-after": [
+ "stylistic/at-rule-name-space-after": [
"always", {
"ignoreAtRules": [ "after-comment" ]
}
],
- "block-closing-brace-newline-after": [
+ "stylistic/block-closing-brace-newline-after": [
"always", {
"ignoreAtRules": [ "if", "else" ]
}
],
- "block-closing-brace-newline-before": "always-multi-line",
- "block-opening-brace-newline-after": "always-multi-line",
- "block-opening-brace-space-before": "always",
- "color-hex-case": "lower",
+ "stylistic/block-closing-brace-newline-before": "always-multi-line",
+ "stylistic/block-opening-brace-newline-after": "always-multi-line",
+ "stylistic/block-opening-brace-space-before": "always",
+ "stylistic/color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
- "declaration-colon-space-after": "always",
- "declaration-colon-space-before": "never",
- "indentation": "tab",
+ "stylistic/declaration-colon-space-after": "always",
+ "stylistic/declaration-colon-space-before": "never",
+ "stylistic/indentation": "tab",
"no-descending-specificity": null,
- "no-eol-whitespace": true,
+ "stylistic/no-eol-whitespace": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": [
"always", {