Merge pull request #7685 from hashicorp/ui/upgrade-lint-staged

UI: Upgrade lint-staged and husky
This commit is contained in:
Michael Lange 2020-04-21 17:42:12 -07:00 committed by GitHub
commit 919b15a2db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 350 additions and 236 deletions

View file

@ -24,12 +24,10 @@
}, },
"lint-staged": { "lint-staged": {
"{app,tests,config,lib,mirage,stories}/**/*.js": [ "{app,tests,config,lib,mirage,stories}/**/*.js": [
"prettier --write", "prettier --write"
"git add"
], ],
"app/styles/**/*.*": [ "app/styles/**/*.*": [
"prettier --write", "prettier --write"
"git add"
] ]
}, },
"devDependencies": { "devDependencies": {
@ -104,10 +102,10 @@
"fuse.js": "^3.4.4", "fuse.js": "^3.4.4",
"glob": "^4.0.5", "glob": "^4.0.5",
"http-proxy": "^1.1.6", "http-proxy": "^1.1.6",
"husky": "^1.3.1", "husky": "^4.2.5",
"is-ip": "^3.1.0", "is-ip": "^3.1.0",
"ivy-codemirror": "IvyApp/ivy-codemirror#c3b7f49f8e6492878619f8055695581240cce21a", "ivy-codemirror": "IvyApp/ivy-codemirror#c3b7f49f8e6492878619f8055695581240cce21a",
"lint-staged": "^8.1.5", "lint-staged": "^10.1.3",
"loader.js": "^4.7.0", "loader.js": "^4.7.0",
"lodash.intersection": "^4.4.0", "lodash.intersection": "^4.4.0",
"morgan": "^1.3.2", "morgan": "^1.3.2",

File diff suppressed because it is too large Load diff