Yuki Takei hace 1 año
padre
commit
ab0162be9a
Se han modificado 2 ficheros con 14 adiciones y 6 borrados
  1. 2 5
      .stylelintrc.json
  2. 12 1
      apps/app/.stylelintrc.json

+ 2 - 5
.stylelintrc.json

@@ -1,15 +1,12 @@
 {
 {
   "extends": [
   "extends": [
+    "stylelint-config-standard-scss",
     "stylelint-config-recess-order"
     "stylelint-config-recess-order"
   ],
   ],
   "rules": {
   "rules": {
-    "indentation": 2,
-    "string-quotes": "single",
     "rule-empty-line-before": [ "always-multi-line", {
     "rule-empty-line-before": [ "always-multi-line", {
       "except": ["after-single-line-comment", "first-nested"],
       "except": ["after-single-line-comment", "first-nested"],
       "ignore": ["after-comment", "inside-block"]
       "ignore": ["after-comment", "inside-block"]
-    } ],
-    "selector-combinator-space-before": "always",
-    "selector-combinator-space-after": "always"
+    } ]
   }
   }
 }
 }

+ 12 - 1
apps/app/.stylelintrc.json

@@ -3,5 +3,16 @@
   "ignoreFiles": [
   "ignoreFiles": [
     "src/styles/prebuilt/*.css",
     "src/styles/prebuilt/*.css",
     "src/linter-checker/test.scss"
     "src/linter-checker/test.scss"
-  ]
+  ],
+  "rules": {
+    "selector-pseudo-class-no-unknown": [
+      true,
+      {
+        "ignorePseudoClasses": [
+          "global",
+          "local"
+        ]
+      }
+    ]
+  }
 }
 }