mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
DEV: experiments parallel prettier (#11854)
For now only attempts to use it in pre-commit hook
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ pre-commit:
|
||||
prettier:
|
||||
glob: "*.{js,es6}"
|
||||
include: "app/assets/javascripts|test/javascripts"
|
||||
run: yarn prettier --list-different {staged_files}
|
||||
run: yarn pprettier --list-different {staged_files}
|
||||
eslint-es6:
|
||||
glob: "*.es6"
|
||||
include: "app/assets/javascripts|test/javascripts"
|
||||
@@ -54,7 +54,7 @@ lints:
|
||||
prettier:
|
||||
glob: "*.{js,es6}"
|
||||
include: "app/assets/javascripts|test/javascripts"
|
||||
run: yarn prettier --list-different {all_files}
|
||||
run: yarn pprettier --list-different {all_files}
|
||||
eslint-assets-es6:
|
||||
run: yarn eslint --ext .es6 app/assets/javascripts
|
||||
eslint-assets-js:
|
||||
|
||||
Reference in New Issue
Block a user