From 774f8d43e9f3fcc633a03709e75a3d018342ac5f Mon Sep 17 00:00:00 2001 From: jim Date: Tue, 27 Mar 2018 17:09:25 +0800 Subject: [PATCH] no perttier package.json --- .prettierignore | 3 ++- package.json | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.prettierignore b/.prettierignore index a28adee0..ac48aeac 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ **/*.md -**/*.svg \ No newline at end of file +**/*.svg +package.json \ No newline at end of file diff --git a/package.json b/package.json index d224e468..9d22bc33 100755 --- a/package.json +++ b/package.json @@ -84,12 +84,19 @@ "puppeteer": "^1.1.1" }, "lint-staged": { - "**/*.{js,jsx,less}": ["prettier --wirter", "git add"], + "**/*.{js,jsx,less}": [ + "prettier --wirter", + "git add" + ], "**/*.{js,jsx}": "lint-staged:js", "**/*.less": "stylelint --syntax less" }, "engines": { "node": ">=8.0.0" }, - "browserslist": ["> 1%", "last 2 versions", "not ie <= 10"] + "browserslist": [ + "> 1%", + "last 2 versions", + "not ie <= 10" + ] } -- GitLab