Skip to content

Commit

Permalink
Bump husky lint-staged versions
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
  • Loading branch information
thgreasi committed Oct 14, 2019
1 parent f87b7a1 commit e7c74a6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .huskyrc
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
}
}
6 changes: 6 additions & 0 deletions .lintstagedrc
@@ -0,0 +1,6 @@
{
"*.ts": [
"prettier --write",
"tslint -t stylish"
]
}
11 changes: 2 additions & 9 deletions package.json
Expand Up @@ -39,7 +39,6 @@
"coffeelint": "coffeelint -f coffeelint.json -r \"lib\" \"tests\" \"gulpfile.coffee\"",
"tslint": "tslint -t stylish -c tslint.json \"typings/**/*.d.ts\" \"lib/**/*.ts\" \"tests/**/*.ts\"",
"lint": "npm run prettify && npm run coffeelint && npm run tslint",
"precommit": "lint-staged",
"prepublish": "require-npm4-to-publish",
"prepack": "npm run build",
"prettify": "prettier --write \"lib/**/*.ts\" \"typings/**/*.d.ts\"",
Expand Down Expand Up @@ -69,12 +68,12 @@
"gulp-typescript": "^5.0.1",
"gulp-uglify": "^3.0.0",
"gulp-util": "^3.0.4",
"husky": "^0.14.3",
"husky": "^3.0.0",
"js-polyfills": "^0.1.33",
"jsdoc-to-markdown": "^3.0.0",
"karma": "^3.0.0",
"karma-env-preprocessor": "^0.1.1",
"lint-staged": "^5.0.0",
"lint-staged": "^9.0.0",
"mocha": "^3.0.0",
"mochainon": "^2.0.0",
"prettier": "^1.11.1",
Expand Down Expand Up @@ -116,11 +115,5 @@
"ndjson": "^1.5.0",
"promise-memoize": "^1.2.0",
"semver": "^5.3.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint -t stylish"
]
}
}

0 comments on commit e7c74a6

Please sign in to comment.