Skip to content

Commit

Permalink
Fix husky pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
oswaldoacauan committed Nov 6, 2018
1 parent 2ac4490 commit 44c7e5c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bigbluebutton-html5/package.json
Expand Up @@ -10,11 +10,9 @@
"start:prod": "meteor reset && ROOT_URL=http://127.0.0.1/html5client NODE_ENV=production meteor --production",
"start:dev": "ROOT_URL=http://127.0.0.1/html5client NODE_ENV=development meteor",
"test": "wdio ./tests/webdriverio/wdio.conf.js",
"lint": "eslint . --ext .jsx,.js",
"precommit": "lint-staged"
"lint": "eslint . --ext .jsx,.js"
},
"lint-staged": {
"gitDir": "../",
"linters": {
"*.{js,jsx}": [
"eslint --fix",
Expand Down Expand Up @@ -109,5 +107,10 @@
"repository": {
"type": "git",
"url": "https://github.com/bigbluebutton/bigbluebutton.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit 44c7e5c

Please sign in to comment.