diff --git a/.prettierignore b/.prettierignore index a28adee000e27af29301242eb0b0d5a9e55f3611..ac48aeacccd82aae436c798a5bcce8840480457a 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 d224e4686131a36045493017ae7f01d94cf31737..9d22bc33ffa6b1fdbfbdf15c8a2c612c97e4e2ab 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" + ] }