Skip to content

Commit

Permalink
build: enable commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
onebytegone committed Mar 21, 2023
1 parent bb563e0 commit c6bd118
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = {
extends: [ '@silvermine/standardization/commitlint.js' ],
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"main": "src/list-indentation.js",
"scripts": {
"check-node-version": "check-node-version --npm 8.5.5",
"commitlint": "commitlint --from bb563e0fb7",
"eslint": "eslint '{,!(node_modules|dist)/**/}*.js'",
"markdownlint": "markdownlint -c .markdownlint.json -i CHANGELOG.md '{,!(node_modules)/**/}*.md'",
"standards": "npm run markdownlint && npm run eslint",
"standards": "npm run commitlint && npm run markdownlint && npm run eslint",
"test": "mocha --forbid-only ./tests/**/*.test.js",
"release:preview": "node ./node_modules/@silvermine/standardization/scripts/release.js preview",
"release:prep-changelog": "node ./node_modules/@silvermine/standardization/scripts/release.js prep-changelog",
Expand Down

0 comments on commit c6bd118

Please sign in to comment.