From f6c32c25af1d20d2d8eb4e65e2d7e277c47df94d Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Wed, 13 Sep 2017 18:00:56 +0800 Subject: [PATCH] add stylelintrc --- .stylelintrc | 25 +++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .stylelintrc diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 00000000..b4331fbe --- /dev/null +++ b/.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 + } +} diff --git a/package.json b/package.json index d397ccc8..50a36493 100755 --- a/package.json +++ b/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": { -- GitLab