Speed up precommits (#2693)

* Speed up precommit hook by only checking staged files with eslint and using eslint cache

* Linting test

* Add rubocop cache to gitignore

* Try to speed up flow
This commit is contained in:
Amanda Bullington
2025-02-22 07:28:12 -08:00
committed by GitHub
parent 6b50f2db45
commit a89ed25283
4 changed files with 23 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
AllCops:
NewCops: enable
UseCache: true
CacheRootDirectory: tmp/rubocop_cache
MaxFilesInCache: 5000
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation