diff --git a/package.json b/package.json index 8efeb439c..44e8044e2 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,12 @@ "node": ">=6.13.1", "npm": ">=3.10.10" }, - "browserslist": [">1%", "last 4 versions", "Firefox ESR", "not ie < 9"], + "browserslist": [ + ">1%", + "last 4 versions", + "Firefox ESR", + "not ie < 9" + ], "dependencies": { "@babel/polyfill": "^7.0.0-beta.44", "bluebird": "^3.5.1", @@ -116,9 +121,23 @@ "webpack-node-externals": "^1.7.2" }, "lint-staged": { - "*.{js,jsx}": ["eslint --no-ignore --fix", "git add --force"], - "*.{json,md,graphql}": ["prettier --write", "git add --force"], - "*.{css,less,styl,scss,sass,sss}": ["stylelint --fix", "git add --force"] + "ignore": [ + "package.json" + ], + "linters": { + "*.{js,jsx}": [ + "eslint --no-ignore --fix", + "git add --force" + ], + "*.{json,md,graphql}": [ + "prettier --write", + "git add --force" + ], + "*.{css,less,styl,scss,sass,sss}": [ + "stylelint --fix", + "git add --force" + ] + } }, "scripts": { "precommit": "lint-staged",