Add rubocop on commit hook (#283)
This commit is contained in:
@@ -91,6 +91,10 @@
|
|||||||
"*.{js,vue}": [
|
"*.{js,vue}": [
|
||||||
"eslint --fix",
|
"eslint --fix",
|
||||||
"git add"
|
"git add"
|
||||||
|
],
|
||||||
|
"*.rb": [
|
||||||
|
"rubocop -a",
|
||||||
|
"git add"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user