[AAE-10474] review why xit and console log is allowed to be committed (#7829)

* [AAE-10474] Add husky pre-commit script to run lint-staged

* [AAE-10474] Enable lint rules for console log

* [AAE-10474] Run affected:lint command on pre-commit, remoive old scripts that use tslint

* [AAE-10474] Remove console.log

* [AAE-10474] Disable no-console lint rule for 'testing' and 'cli' projects
This commit is contained in:
Amedeo Lepore
2022-09-16 11:25:11 +02:00
committed by GitHub
parent a1d8b9e96e
commit 48b92389ea
7 changed files with 36 additions and 18 deletions

View File

@@ -53,6 +53,7 @@
}
],
"no-bitwise": "off",
"no-console": "off",
"no-duplicate-imports": "error",
"no-multiple-empty-lines": "error",
"no-redeclare": "error",