git-format-staged
Advanced tools
Comparing version 2.1.2 to 2.1.3
{ | ||
"name": "git-format-staged", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Git command to transform staged files according to a command that accepts file content on stdin and produces output on stdout.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -64,3 +64,3 @@ # git-format-staged | ||
$ git-format-staged --formatter 'prettier --stdin --stdin-filepath "{}"' 'src/*.js' | ||
$ git-format-staged --formatter 'prettier --stdin-filepath "{}"' 'src/*.js' | ||
@@ -79,3 +79,3 @@ That will format all files under `src/` and its subdirectories using | ||
$ git-format-staged --formatter 'prettier --stdin' '*.js' '!flow-typed/*' | ||
$ git-format-staged --formatter 'prettier --stdin-filepath "{}"' '*.js' '!flow-typed/*' | ||
@@ -94,3 +94,3 @@ Patterns are evaluated from left-to-right: if a file matches multiple patterns | ||
$ git-format-staged -f 'prettier --stdin --stdin-filepath "{}"' '*.js' '*.css' | ||
$ git-format-staged -f 'prettier --stdin-filepath "{}"' '*.js' '*.css' | ||
@@ -97,0 +97,0 @@ Do not attempt to read or write to `{}` in your formatter command! The |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22339