Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
feat: update to commitlint v12 (VF-000)
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia committed May 20, 2021
1 parent 2e7fc63 commit 3612837
Show file tree
Hide file tree
Showing 6 changed files with 730 additions and 985 deletions.
12 changes: 10 additions & 2 deletions .depcheckrc
@@ -1,11 +1,19 @@
{
"specials": ["bin", "eslint", "lint-staged", "istanbul", "commitizen", "husky", "prettier", "ttypescript"],
"specials": [
"bin",
"eslint",
"lint-staged",
"istanbul",
"commitizen",
"husky",
"prettier",
"ttypescript"
],
"ignores": [
"@commitlint/*",
"@types/*",
"@voiceflow/commitlint-config",
"@voiceflow/git-branch-check",
"prettier-eslint-cli",
"fixpack",
"husky",
"lint-staged"
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
@@ -1,3 +1,3 @@
module.exports = {
extends: '@voiceflow/eslint-config',
extends: ['@voiceflow/eslint-config', '@voiceflow/eslint-config/utility'],
};
2 changes: 1 addition & 1 deletion .lintstagedrc.js
@@ -1,4 +1,4 @@
module.exports = {
'package.json': ['fixpack'],
'**/*.{js,ts}': ['eslint --fix', 'prettier-eslint --write'],
'**/*.{js,ts}': ['eslint --fix'],
};
4 changes: 3 additions & 1 deletion commitlint.config.js
@@ -1 +1,3 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
module.exports = {
extends: ['./index.js'],
};
21 changes: 10 additions & 11 deletions package.json
Expand Up @@ -12,23 +12,22 @@
}
},
"dependencies": {
"@commitlint/config-conventional": "^11.0.0"
"@commitlint/config-conventional": "^12.1.4"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@voiceflow/commitlint-config": "^1.0.1",
"@voiceflow/eslint-config": "^3.0.0",
"@voiceflow/git-branch-check": "^1.1.3",
"@commitlint/cli": "^12.1.4",
"@voiceflow/commitlint-config": "^1.0.2",
"@voiceflow/eslint-config": "^3.2.1",
"@voiceflow/git-branch-check": "^1.2.0",
"@voiceflow/prettier-config": "^1.0.5",
"commitizen": "^4.2.3",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"depcheck": "^1.4.0",
"eslint": "^7.20.0",
"depcheck": "^1.4.1",
"eslint": "^7.26.0",
"fixpack": "^4.0.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"prettier-eslint-cli": "^5.0.0"
"lint-staged": "^11.0.0",
"prettier": "^2.3.0"
},
"files": [
"index.js"
Expand Down

0 comments on commit 3612837

Please sign in to comment.