DEV: Improve lefthook config and remove some slow hooks (#16626)

They were slowing down checkout, merge and rewrite.
This also cleans up the "lints" section which was running into problems with `{all_files}` being too much for some tools to handle. And it makes sure that eslint and prettier runs for core plugins as well.
This commit is contained in:
Gerhard Schlager
2022-05-04 17:37:01 +02:00
committed by GitHub
parent 28e8ae553d
commit 2d143ec2fb
3 changed files with 24 additions and 38 deletions

View File

@@ -24,6 +24,7 @@ public/
vendor/
app/assets/javascripts/discourse/tests/test-boot-rails.js
app/assets/javascripts/discourse/tests/fixtures
spec/
node_modules/
dist/
**/*.rb