From 452b67d591415ebb8791123853a58229e4ae43e8 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 15 Jul 2021 21:50:22 +0300 Subject: [PATCH] Proper lint config for GramJs --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2c77a0d37..2ae5fd4ad 100644 --- a/package.json +++ b/package.json @@ -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",