chore: Fix pre-commit hooks (#3525)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Muhsin Keloth
2021-12-09 07:02:00 +05:30
committed by GitHub
parent 3ee6b7d6e9
commit 9306b725d8
19 changed files with 85 additions and 65 deletions

View File

@@ -3,7 +3,7 @@
"version": "1.22.1",
"license": "MIT",
"scripts": {
"eslint": "eslint app/javascript --fix",
"eslint": "eslint app/**/*.{js,vue} --fix",
"pretest": "rimraf .jest-cache",
"test": "jest -w 1 --no-cache",
"test:watch": "jest -w 1 --watch --no-cache",
@@ -13,7 +13,8 @@
"start:dev-overmind": "overmind start -f ./Procfile.dev",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"ruby:prettier": "bundle exec rubocop -a"
"ruby:prettier": "bundle exec rubocop -a",
"prepare": "husky install"
},
"dependencies": {
"@braid/vue-formulate": "^2.5.2",
@@ -100,7 +101,7 @@
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-vue": "^6.2.2",
"expect-more-jest": "^2.4.2",
"husky": "6.0.0",
"husky": "^7.0.0",
"jest": "26.6.3",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
@@ -129,7 +130,7 @@
]
},
"lint-staged": {
"*.{js,vue}": [
"app/**/*.{js,vue}": [
"eslint --fix",
"git add"
],