From a801714f16fdb33365c68c364fcab263f3437d64 Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Wed, 5 Oct 2016 12:28:00 +0200 Subject: [PATCH] Added stylefmt and lint:css:fix task --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 37e61391..f58ca092 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:js": "eslint .", "lint:js:fix": "npm run lint:js -- --fix", "lint:css": "stylelint 'src/**/*.css'", - "lint:css:fix": "stylelint **/*.css", + "lint:css:fix": "stylefmt --recursive src/", "lint:staged": "lint-staged" }, "lint-staged": { @@ -75,6 +75,7 @@ "redux-thunk": "^1.0.3", "sass-loader": "^4.0.2", "style-loader": "^0.13.0", + "stylefmt": "^4.3.1", "stylelint": "^7.3.1", "stylelint-config-css-modules": "^0.1.0", "stylelint-config-standard": "^13.0.2",