Commit fe756a14 authored by Jérome Perrin's avatar Jérome Perrin

Revert "apply editor config in before commit hook"

This reverts commit 2c539421.

this prevented partially committing files (using git add -p), since it was
running git add on the full file in pre commit hook.
parent 07b53d3b
This diff is collapsed.
{
"dependencies": {
"eclint": "^2.8.1",
"husky": "^1.1.2",
"lint-staged": "^7.3.0"
},
"lint-staged": {
"*": [
"eclint fix",
"git add"
],
"*.json": [
"python2 ./format-json",
"git add"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment