Add rubocop on commit hook (#283)
This commit is contained in:
parent
fabf59cdd1
commit
34df451243
1 changed files with 4 additions and 0 deletions
|
@ -91,6 +91,10 @@
|
||||||
"*.{js,vue}": [
|
"*.{js,vue}": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"git add"
|
"git add"
|
||||||
|
],
|
||||||
|
"*.rb": [
|
||||||
|
"rubocop -a",
|
||||||
|
"git add"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue