chore: Fix pre-commit hooks (#3525)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -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"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user