From 962c1d77ca19c4c8c27cfab4b68f366c33904e8e Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 29 Aug 2018 17:49:28 +0800 Subject: [PATCH] renew stylelintrc.json --- .stylelintrc.json | 24 ++---------------------- package.json | 6 +++--- 2 files changed, 5 insertions(+), 25 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 84f30327..b533bdd6 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,29 +1,9 @@ { "extends": ["stylelint-config-standard", "stylelint-config-prettier"], "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, - "no-missing-end-of-source-newline": null, - "number-leading-zero": null, - "number-no-trailing-zeros": null, - "rule-empty-line-before": null, - "selector-combinator-space-after": null, - "selector-descendant-combinator-no-non-space": null, - "selector-list-comma-newline-after": null, - "selector-pseudo-element-colon-notation": null, - "unit-no-unknown": null, "no-descending-specificity": null, - "value-list-max-empty-lines": null, - "no-missing-end-of-source-newline": null + "selector-pseudo-class-no-unknown": null, + "selector-pseudo-element-colon-notation": null } } diff --git a/package.json b/package.json index 9aee5e4d..ac4ae42c 100755 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ "moment": "^2.22.2", "numeral": "^2.0.6", "omit.js": "^1.0.0", - "path-to-regexp": "^2.1.0", + "path-to-regexp": "^2.4.0", "prop-types": "^15.5.10", - "qs": "^6.5.0", + "qs": "^6.5.2", "react": "^16.4.1", "react-container-query": "^0.11.0", "react-copy-to-clipboard": "^5.0.1", @@ -52,7 +52,7 @@ "@types/react-dom": "^16.0.6", "antd-pro-merge-less": "^0.0.9", "antd-pro-theme-webpack-plugin": "^1.1.8", - "babel-eslint": "^8.2.6", + "babel-eslint": "^9.0.0", "babel-runtime": "^6.9.2", "cross-env": "^5.1.1", "cross-port-killer": "^1.0.1", -- GitLab