-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/ci #972
Feature/ci #972
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,15 @@ | |
"@babel/core": "^7.10.2", | ||
"@babel/preset-env": "^7.10.2", | ||
"@babel/register": "^7.10.1", | ||
"@commitlint/cli": "^14.1.0", | ||
"@commitlint/config-angular": "^14.1.0", | ||
"bluebird": "^3.7.2", | ||
"eslint": "^7.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"expect.js": "^0.3.1", | ||
"gulp": "^4.0.0", | ||
"husky": "^7.0.4", | ||
"mocha": "^8.0.0", | ||
"mysql2": "latest", | ||
"pg": "latest", | ||
|
@@ -87,5 +90,34 @@ | |
"homepage": "https://github.com/sequelize/cli", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-angular" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any specific reason why you use this configuration? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it's a copy from sequelize/sequelize |
||
], | ||
"rules": { | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"build", | ||
"ci", | ||
"docs", | ||
"feat", | ||
"fix", | ||
"perf", | ||
"refactor", | ||
"revert", | ||
"style", | ||
"test", | ||
"meta" | ||
] | ||
] | ||
} | ||
}, | ||
"husky": { | ||
"hooks": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe add a pre-commit hook that runs the linter? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And possibly with lint-staged to make it quicker |
||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 16 is now LTS, maybe include that as well? Not sure what the policy is from the main repo on supported Node versions