Skip to content

Commit

Permalink
fix: commit linting (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Mar 12, 2019
1 parent cece338 commit 6addc2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ module.exports = (config) => {
build:
"cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
clean: 'del-cli dist',
commitlint: 'commitlint',
commitmsg: 'commitlint -e $GIT_PARAMS',
commitlint: 'commitlint --from=master',
lint: 'eslint --cache src test',
prepublish: 'npm run build',
release: 'standard-version',
Expand Down Expand Up @@ -111,6 +110,7 @@ module.exports = (config) => {
husky: {
hooks: {
'pre-commit': 'lint-staged',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
},
'lint-staged': {
Expand Down

0 comments on commit 6addc2d

Please sign in to comment.