Update lint-staged & husky

This commit is contained in:
Pavel Pustovalov
2020-08-20 02:53:33 -05:00
committed by Umputun
parent 71e0e98e05
commit a59be983f2
3 changed files with 391 additions and 470 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
module.exports = {
'./**/*.{ts,tsx,js,jsx}': ['eslint --fix --max-warnings=0', 'prettier --write', 'git add'],
'./**/*.{scss,pcss,css}': ['prettier --write', 'stylelint', 'git add'],
'./iframe.html': ['prettier --write', 'stylelint', 'git add'],
'./**/*.{ts,tsx,js,jsx}': ['eslint --fix --max-warnings=0', 'prettier --write'],
'./**/*.{scss,pcss,css}': ['prettier --write', 'stylelint'],
'./iframe.html': ['prettier --write', 'stylelint'],
};
+386 -465
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -89,14 +89,14 @@
"fetch-mock": "^7.7.3",
"file-loader": "^4.3.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.1.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.3.0",
"jest-enzyme": "^7.1.2",
"jest-extended": "^0.11.5",
"jest-fetch-mock": "^3.0.3",
"jest-localstorage-mock": "^2.4.0",
"lint-staged": "^9.5.0",
"lint-staged": "^10.2.11",
"mini-css-extract-plugin": "^0.8.2",
"node-fetch": "^2.6.0",
"npm-run-all": "^4.1.5",