Browse Source

add stylelintrc

nikogu 8 years ago
parent
commit
f6c32c25af
2 changed files with 26 additions and 1 deletions
  1. 25 0
      .stylelintrc
  2. 1 1
      package.json

+ 25 - 0
.stylelintrc

@@ -0,0 +1,25 @@
+{
+  "extends": "stylelint-config-standard",
+  "rules": {
+    "selector-pseudo-class-no-unknown": null,
+    "shorthand-property-no-redundant-values": null,
+    "at-rule-empty-line-before": null,
+    "at-rule-name-space-after": null,
+    "comment-empty-line-before": null,
+    "declaration-bang-space-before": null,
+    "declaration-empty-line-before": null,
+    "function-comma-newline-after": null,
+    "function-name-case": null,
+    "function-parentheses-newline-inside": null,
+    "function-max-empty-lines": null,
+    "function-whitespace-after": null,
+    "number-leading-zero": null,
+    "number-no-trailing-zeros": null,
+    "rule-empty-line-before": null,
+    "selector-combinator-space-after": null,
+    "selector-list-comma-newline-after": null,
+    "selector-pseudo-element-colon-notation": null,
+    "unit-no-unknown": null,
+    "value-list-max-empty-lines": null
+  }
+}

+ 1 - 1
package.json

@@ -51,7 +51,7 @@
     "redbox-react": "^1.3.2",
     "roadhog": "^1.0.2",
     "roadhog-api-doc": "^0.1.5",
-    "stylelint": "^8.0.0",
+    "stylelint": "^8.1.0",
     "stylelint-config-standard": "^17.0.0"
   },
   "babel": {