Proper lint config for GramJs

This commit is contained in:
Alexander Zinchuk 2021-07-15 21:50:22 +03:00
parent 1997aa1d5a
commit 452b67d591

View File

@ -23,11 +23,11 @@
},
"husky": {
"hooks": {
"pre-commit": "tsc && lint-staged -- --fix --ignore-path=src/lib/gramjs/.eslintignore"
"pre-commit": "tsc && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": "eslint"
"*.{ts,tsx,js}": "eslint --fix --ignore-path=src/lib/gramjs/.eslintignore"
},
"author": "Alexander Zinchuk (alexander@zinchuk.com)",
"license": "GPL-3.0-or-later",