Skip to content

Commit

Permalink
Merge branch 'master' into v2.0.0-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
johannrichard committed Nov 28, 2020
2 parents 5f70bb5 + 063ff83 commit ddc55c6
Show file tree
Hide file tree
Showing 3 changed files with 271 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .prettierignore
@@ -0,0 +1,5 @@
node_modules
build
dist
res
coverage
10 changes: 9 additions & 1 deletion package.json
Expand Up @@ -70,6 +70,7 @@
"generate-changelog": "^1.8.0",
"homebridge": "^1.0.4",
"husky": "^4.2.5",
"lint-staged": "^10.5.2",
"nodemon": "^2.0.3",
"prettier": "2.1.2",
"rimraf": "^3.0.2",
Expand All @@ -78,7 +79,14 @@
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "tsc && lint-staged"
}
},
"lint-staged": {
"**/*.+(js|jsx|css|less|scss|ts|tsx|md)": [
"prettier --write",
"git add"
]
}
}

0 comments on commit ddc55c6

Please sign in to comment.